Skip to content

Commit f46a1d8

Browse files
committed
wip
1 parent bf2c6b7 commit f46a1d8

File tree

1 file changed

+22
-12
lines changed

1 file changed

+22
-12
lines changed

README.md

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,6 @@ These are all the configuration options and their default value between brackets
7171
- "cacheTime": Number of seconds the cache is valid (`10`)
7272
- "debug": Show errors in the "X-Debug-Info" header (`false`)
7373

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-
8674
## Limitations
8775

8876
These limitation and constrains apply:
@@ -120,6 +108,28 @@ The following features are supported:
120108
- Security enhancing middleware is included
121109
- Standard compliant: PSR-2, PSR-4, PSR-7, PSR-15 and PSR-17
122110

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+
123133
## Middleware
124134

125135
You can enable the following middleware using the "middlewares" config parameter:

0 commit comments

Comments
 (0)