Itinysun / laraman

Run laravel with workman ,1 artisan command, 10x speed up
Other
97 stars 9 forks source link
laravel workerman

Laraman

Latest Version on Packagist Total Downloads

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