diff --git a/README.md b/README.md index 606c5eb..23de4e8 100644 --- a/README.md +++ b/README.md @@ -46,5 +46,7 @@ After choosing and installing the packages you want, go to the `` and start PHP's built-in web server to verify installation: ```bash -$ php -S 0.0.0.0:8000 -t public/ +$ composer serve ``` + +You can then browse to http://localhost:8080. diff --git a/composer.json b/composer.json index e343629..3d49be9 100644 --- a/composer.json +++ b/composer.json @@ -47,6 +47,7 @@ ], "cs": "phpcs", "cs-fix": "phpcbf", + "serve": "php -S 0.0.0.0:8080 -t public/", "test": "phpunit" } }