Box.com Installation

Install using composer
$ composer require laravel-shield/box

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

'services' => [
    'box' => [
        'driver' => \Shield\Box\Box::class,
        'options' => [
            'primary' => 'your-primary-token',
            'secondary' => 'your-secondary-token',
        ]
    ]
]

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

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