library web-server
Web server
chi-teck/web-server
Web server
- Sunday, October 1, 2017
- by chi-teck
- Repository
- 1 Watchers
- 0 Stars
- 67 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 37 % Grown
Web server
Console commands for running applications using the PHP built-in web server., (*1)
Instalation
Phar, (*2)
release_url=https://api.github.com/repos/chi-teck/web-server/releases/latest
wget $(wget -qO- $release_url | awk -F'"' '/browser_download_url/ { print $4 }')
chmod +x web.server.phar
sudo mv web.server.phar /usr/local/bin/web.server
web.server --version
Composer, (*3)
composer require chi-teck/web-server
./vendor/bin/web.server --version
Available commands:
help Displays help for a command
list Lists commands
run Runs a local web server
start Starts a local web server in the background
status Outputs the status of the local web server for the given address
stop Stops the local web server that was started with the server:start command
Credits
This package is built on top of Symfony web server bundle., (*4)