Installs

0

Version

unknown

License

unknown

Installation

composer require laravel-shield/zapier

Usage

After installing add the following configuration to your config/shield.php file:

'services' => [
    'zapier' => [
        'driver' => \Shield\Zapier\Zapier::class,
        'options' => [
            'username' => 'your-username',
            'password' => 'your-password',
        ]
    ]
]

You can now add the middleware to your routes like so:

Route::middleware('shield:zapier')->post('/hooks/zapier', '[email protected]');