Skip to content

sasin91/laravel-interactions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel 5 Interactions

Laravel 5 Interactions, make it a breeze to write interactions, for instance subscribing a newly registered User.

Installation

Composer

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",

Laravel

In your config/app.php add Sasin91\LaravelInteractions\RepositoryServiceProvider::class to the end of the Package Service Providers array:

'providers' => [
    ...
    Sasin91\LaravelInteractions\RepositoryServiceProvider::class,
],

Commands

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.

About

Laravel 5 Interactions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages