Fix link in documentation; fix version in README
This commit is contained in:
parent
e558d613ab
commit
e4cc02dc8a
|
|
@ -20,7 +20,7 @@ Add an entry for "wellrested/wellrested" to your composer.json file's `require`
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"require": {
|
"require": {
|
||||||
"wellrested/wellrested": "~3.1"
|
"wellrested/wellrested": "^4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ RUN chmod +x /usr/local/bin/dumb-init
|
||||||
# Create a directory for project sources and user's home directory
|
# Create a directory for project sources and user's home directory
|
||||||
RUN mkdir /usr/local/src/wellrested && \
|
RUN mkdir /usr/local/src/wellrested && \
|
||||||
chown -R www-data:www-data /usr/local/src/wellrested && \
|
chown -R www-data:www-data /usr/local/src/wellrested && \
|
||||||
mkdir /var/www && \
|
|
||||||
chown -R www-data:www-data /var/www
|
chown -R www-data:www-data /var/www
|
||||||
|
|
||||||
COPY ./src /usr/local/src/wellrested/src
|
COPY ./src /usr/local/src/wellrested/src
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ The site will also provide an ``X-example: hello world`` using dedicated middlew
|
||||||
|
|
||||||
require_once 'vendor/autoload.php';
|
require_once 'vendor/autoload.php';
|
||||||
|
|
||||||
// Create a handler that will construct and return a response. We'll
|
// Create a handler that will construct and return a response. We'll
|
||||||
// register this handler with a server and router below.
|
// register this handler with a server and router below.
|
||||||
class HelloHandler implements RequestHandlerInterface
|
class HelloHandler implements RequestHandlerInterface
|
||||||
{
|
{
|
||||||
|
|
@ -143,6 +143,6 @@ Contents
|
||||||
.. _PSR-7: https://www.php-fig.org/psr/psr-7/
|
.. _PSR-7: https://www.php-fig.org/psr/psr-7/
|
||||||
.. _PSR-15: https://www.php-fig.org/psr/psr-15/
|
.. _PSR-15: https://www.php-fig.org/psr/psr-15/
|
||||||
.. _factory functions: handlers-and-middleware.html#factory-functions
|
.. _factory functions: handlers-and-middleware.html#factory-functions
|
||||||
.. _middleware: handles-and-middleware.html
|
.. _middleware: handlers-and-middleware.html
|
||||||
.. _router: router.html
|
.. _router: router.html
|
||||||
.. _URI Templates: uri-templates.html
|
.. _URI Templates: uri-templates.html
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue