Laravel 5 - Interactions, inspired by Laravel/Spark.
sasin91/laravel-interaction is a Laravel package for laravel 5 - interactions, inspired by laravel/spark..
It currently has 2 GitHub stars and 17 downloads on Packagist.
Install it with composer require sasin91/laravel-interaction.
Discover more Laravel packages by sasin91
or browse all Laravel packages to compare alternatives.
Last updated
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.