We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f1b24c commit 34786faCopy full SHA for 34786fa
composer.json
@@ -44,6 +44,10 @@
44
"phan --color",
45
"phpcs --colors -n"
46
],
47
+ "example": [
48
+ "Composer\\Config::disableProcessTimeout",
49
+ "@php -S localhost:12388 -t example/"
50
+ ],
51
"fix": [
52
"php-cs-fixer fix --verbose"
53
example/README.md
@@ -1,4 +1,7 @@
1
To run the example on your local machine, you can follow steps below.
2
3
-1. Execute `php -S localhost:12388` where `12388` is an arbitrary unused port.
+In the parent folder (i.e., this project's root directory):
4
+
5
+1. Install dependencies with `composer install`.
6
+1. Start PHP development server with `composer run-script example`.
7
1. Visit `http://localhost:12388/demo.php` with your web browser.
0 commit comments