File tree Expand file tree Collapse file tree 1 file changed +22
-12
lines changed Expand file tree Collapse file tree 1 file changed +22
-12
lines changed Original file line number Diff line number Diff line change @@ -71,18 +71,6 @@ These are all the configuration options and their default value between brackets
71
71
- "cacheTime": Number of seconds the cache is valid (` 10 ` )
72
72
- "debug": Show errors in the "X-Debug-Info" header (` false ` )
73
73
74
- ## Compilation
75
-
76
- You can compile all files into a single "` api.php ` " file using:
77
-
78
- php build.php
79
-
80
- The non-compiled code resides in the "` src ` " directory. You can access it at the URL:
81
-
82
- http://localhost:8080/src/records/posts/1
83
-
84
- NB: The "` build.php ` " script will install and run [ Composer] ( https://getcomposer.org/ ) to install the required dependencies.
85
-
86
74
## Limitations
87
75
88
76
These limitation and constrains apply:
@@ -120,6 +108,28 @@ The following features are supported:
120
108
- Security enhancing middleware is included
121
109
- Standard compliant: PSR-2, PSR-4, PSR-7, PSR-15 and PSR-17
122
110
111
+ ## Compilation
112
+
113
+ You can compile all files into a single "` api.php ` " file using:
114
+
115
+ php build.php
116
+
117
+ You can access the non-compiled code at the URL:
118
+
119
+ http://localhost:8080/src/records/posts/1
120
+
121
+ The non-compiled code resides in the "` src ` " and "` vendor ` " directories.
122
+
123
+ ## Dependencies
124
+
125
+ You can install all dependencies of this project using the following command:
126
+
127
+ php install.php
128
+
129
+ This script will install and run [ Composer] ( https://getcomposer.org/ ) to install the required dependencies in the "` vendor ` " directory.
130
+
131
+ NB: The install script will also patch the dependencies in the vendor directory for PHP 7.0 compatibility.
132
+
123
133
## Middleware
124
134
125
135
You can enable the following middleware using the "middlewares" config parameter:
You can’t perform that action at this time.
0 commit comments