Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 506 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 506 Bytes

State Machine for Eloquent laravel

This package is for implementing the Eloquent State Machine of various Laravel projects.

Install via composer

Run the following command to pull in the latest version:

composer require jobmetric/state-machine

Add service provider

Add the service provider to the providers array in the config/app.php config file as follows:

'providers' => [

    ...

    JobMetric\StateMachine\StateMachineServiceProvider::class,
]

Documentation