Skip to content

Latest commit

Β 

History

History
106 lines (75 loc) Β· 2.52 KB

File metadata and controls

106 lines (75 loc) Β· 2.52 KB
Build
GitHub Branch Check Runs GitHub Tests Action Status
Project
GitHub Release Packagist Downloads GitHub License Packagist Stars Packagist Dependency Version
Quality

Laravel Processable

⏳ Package for easily attaching processes to Laravel eloquent models


πŸ’Ώ Installation

β†’ Composer

You can install the package via composer:

composer require yuges-code/laravel-processable

β†’ Publishing Config

Publishing the config file (config/processable.php) is optional:

php artisan vendor:publish --provider="Yuges\Processable\Providers\ProcessableServiceProvider" --tag="processable-configs"

β†’ Publishing Migrations

You need to publish the migrations to create the processes and stages tables:

php artisan vendor:publish --provider="Yuges\Processable\Providers\ProcessableServiceProvider" --tag="processable-migrations"

β†’ Running Migrations

After that, you need to run migrations:

php artisan migrate

πŸ§ͺ Running Tests

β†’ PHPUnit tests

To run tests, run the following command:

composer test

βš–οΈ License

The MIT License (MIT). Please see License File for more information.


πŸ™†πŸΌβ€β™‚οΈ Authors Information

Created in 2025 by: