itinysun / laraman
Run laravel with workman ,1 artisan command, 10x speed up
Installs: 623
Dependents: 0
Suggesters: 0
Security: 0
Stars: 100
Watchers: 4
Forks: 8
Open Issues: 8
Requires
- php: >=8.0
- laravel/framework: ^9.0 || ^10.0
- workerman/workerman: ^4.0.4 || ^5.0.0
Suggests
- ext-event: For better performance.
README
Run laravel with workman , 1 artisan command, 10x speed up
v2.0.6 released !
support dcat/admin and owl-admin now
Installation
Via Composer
# install package composer require itinysun/laraman # install publish file php artisan vendor:publish --tag=laraman.install # update publish as needed php artisan vendor:publish --tag=laraman.install --force
Usage
//run php laraman //run a custom process php larman process {process name} //config/laraman/server.php //this is for auto start process name,web for inner build web server , // monitor for hot reload after edit ,only enable under debug mode // see process config in process.php 'processes'=>[ 'web','monitor' ]
how to write a custom process
create a new class extend Itinysun\Laraman\Process create a new config file in config/laraman/ if it needs auto start , add config name in server.php
Change log
Please see the changelog for more information on what has changed recently.
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email 860760361@qq.com instead of using the issue tracker.
Credits
License
MIT