appkita / spark-serve
PHP Build web server without server. You can use to deploy your aplication
Fund package maintenance!
sponsor.app-kita.net
1.6.0
2021-05-27 15:41 UTC
Requires
- php: >=7.2
Requires (Dev)
- phpunit/phpunit: ^9.5
README
PHP Create Spark Serve for develop your PHP Aplication
USE
- create file ex:
spark
<?php $config = [ 'host'=>'127.0.0.1', 'port'=>8080, 'path'=>'', 'indexFiles'=> ['index.php', 'index.html'], 'router' => [] ]; $serve = new Appkita\SPARK\Serve($config); // default array empty || [] $serve->run();
- open commandprom
php spark
INSTALATION
composer require appkita/spark-serve