| Package Data | |
|---|---|
| Maintainer Username: | Sasin91 | 
| Maintainer Contact: | jonas.kerwin.hansen@gmail.com (Jonas Kervin Hansen) | 
| Package Create Date: | 2016-12-27 | 
| Package Last Update: | 2017-01-14 | 
| Language: | PHP | 
| License: | MIT | 
| Last Refreshed: | 2025-11-02 15:15:56 | 
| Package Statistics | |
|---|---|
| Total Downloads: | 17 | 
| Monthly Downloads: | 0 | 
| Daily Downloads: | 0 | 
| Total Stars: | 2 | 
| Total Watchers: | 1 | 
| Total Forks: | 1 | 
| Total Open Issues: | 0 | 
Laravel 5 Interactions, make it a breeze to write interactions, for instance subscribing a newly registered User.
Execute the following command to get the latest version of the package:
composer require sasin91/laravel-interaction
Note, to pull this in you might need to set your minimum stability in composer.json
"minimum-stability":"dev",
In your config/app.php add Sasin91\LaravelInteractions\RepositoryServiceProvider::class to the end of the Package Service Providers array:
'providers' => [
    ...
    Sasin91\LaravelInteractions\RepositoryServiceProvider::class,
],
To generate a interaction, run this command:
php artisan make:interaction CreateUser {--contract}
generates a contract for the Interaction if the contract option is specified.