heroest / lightning-project
framework template
Package info
github.com/heroest/lightning-project
Type:project
pkg:composer/heroest/lightning-project
dev-master
2020-08-13 14:47 UTC
Requires
- heroest/lightning-react-framework: dev-master
This package is auto-updated.
Last update: 2026-02-14 03:11:29 UTC
README
an async-framework based on reactphp + libevent (optional)
- create-project
composer create-project heroest/lightning-project my_project dev-master
- run as web-server
cd my_project
php web 8080
open browser and go to http://localhost:8080/home/hello-world
- run as command
cd my_project
php cmd console/output heroest
- create-phar: run as web server (require phar.readonly=0 in php.ini)
php my_project/pmake my_project web php web.phar 8080
- create-phar: run as command (require phar.readonly=0 in php.ini)
php my_project/pmake my_project cmd php cmd.phar console/output