You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,7 @@
4
4
5
5
> This project tries to cover some PHP features in a simple MVC structure with minimum installed composer packages. Then developers can use packages for specific requirements. Please add your ideas in Discussions, ask features or report bugs in issues.
6
6
7
-
🚧 WIP: gRPC server _(gRPC client not completed yet, and gRPC server is under working, so be careful about the bugs in gRPC ⚠)_
8
-
9
-
💡 TODO: WebSocket
7
+
💡 TODO: SEO & WebSocket
10
8
11
9
#### Features:
12
10
**List of features related with structure**
@@ -25,7 +23,7 @@ Contains all classes that used in codes like PDO, Middleware, Router & ...
25
23
-**src/Console**
26
24
Contains all scripts to run multiple times via Cron Jobs _(Scripts should be registered in /commands.php with custom timing, they will run by independent service in docker-compose)_
27
25
-**src/Controllers**
28
-
Controllers related with your routes separated for web and API. API folder includes both RESTful API and gRPC API. If you want use gRPC _(Under working now and server isn't ready to handle gRPC requests)_, you can find .proto file in API folder. Updating it will need to generate PHP codes again by
26
+
Controllers related with your routes separated for web and API. API folder includes both RESTful API and gRPC API. If you want use gRPC _(gRPC client & server are not completed, and I ignored them for now. So be careful about the bugs in gRPC ⚠ and if you have an idea or a solution, only by PHP, please make a new discussion/issue/PR)_, you can find .proto file in API folder. Updating it will need to generate PHP codes again by
@@ -71,7 +69,7 @@ Register an event listener and trigger it when needed
71
69
#### Run Web App:
72
70
- Install docker and docker-compose if needed
73
71
- Uncomment `// createTables();` in `src/routes`
74
-
- Run `docker-compose up --build -d`_(A compatibility issue for PHP8.1 and protobuf will fix soon in here: [#9359](https://github.com/protocolbuffers/protobuf/pull/9359))_
72
+
- Run `docker-compose up --build -d`
75
73
- Open your browser and open web app in `localhost:8080`_(It will create tables related with migrations.php and then will comment `createTables();` automatically.)_
76
74
- You can run `docker-compose down` to stop and remove containers
77
75
- Next time you can use `docker-compose up -d`
@@ -80,7 +78,7 @@ Register an event listener and trigger it when needed
80
78
Consider a route for your form like `/blog/create`; now use `blog-create` as an ID for form, and `blog-create-submit` for submit button ID. All form's buttons need to have constant `form-button` class.
81
79
82
80
#### RESTful API samples
83
-
Ready to use PostMan collection for RESTful API side:_(gRPC API side will be added later)_
81
+
Ready to use PostMan collection for RESTful API side:
84
82
85
83
[](https://documenter.getpostman.com/view/6224358/UV5agGTG)
0 commit comments