heroest/lightning-project

framework template

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:project

pkg:composer/heroest/lightning-project

dev-master 2020-08-13 14:47 UTC

This package is auto-updated.

Last update: 2025-10-14 02:25:36 UTC


README

an async-framework based on reactphp + libevent (optional)

  1. create-project
composer create-project heroest/lightning-project my_project dev-master
  1. run as web-server
cd my_project
php web 8080
open browser and go to http://localhost:8080/home/hello-world
  1. run as command
cd my_project
php cmd console/output heroest
  1. create-phar: run as web server (require phar.readonly=0 in php.ini)
php my_project/pmake my_project web
php web.phar 8080
  1. create-phar: run as command (require phar.readonly=0 in php.ini)
php my_project/pmake my_project cmd
php cmd.phar console/output