heroest / lightning-project
framework template
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- heroest/lightning-react-framework: dev-master
This package is auto-updated.
Last update: 2025-03-14 01:00:31 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