sukaphp / deves
This package is abandoned and no longer maintained.
The author suggests using the phpserver/phpserver package instead.
Configurable php development Server
This package has no released version yet, and little information is available.
README
in other way you can easy create .sh file for reusable php built-in webserver command but this package is php way and more functional/feature like interact with pid etc are coming soon :)
installation
composer require sukaphp/deves:dev-master
configuration
create dev_server.yml
files with option :
- host : server host
- port : server port
- root: server root
- route: server route (example routing.php or set to server.php for laravel based project)
- define: set multiple define
- ini: load multiple custom ini
- before: before command (e.g nohup)
- after: after command (you could add more php argument here like load zend module etc for more info run : php -h or use "> /dev/null 2>&1 &" to run in background (linux only) )
all option are optional, see sample configuration dev_server.yml
running
php vendor/bin/deves
update
this project now powered by os-pek project.