The Wayback Machine - https://web.archive.org/web/20201112081637/https://github.com/clarkeash/shield
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Project Moved

This project has moved to https://github.com/laravel-shield/shield.

I am still happy for your contributions please read the guide here: http://laravel-shield.com/contributing




Shield

Shield is a laravel middleware to protect against unverified webhooks from 3rd party services.

Installation

You can pull in the package using composer:

$ composer require clarkeash/shield

Publish the package configuration:

$ php artisan vendor:publish --tag=config

Usage

Create your webhook route in routes/api.php and add the middleware like so:

Route::middleware('shield:github')->post('/hooks/github', 'HooksController@github');

The name after shield: is the name set in config/shield.php in the enabled section.

Services

  • GitHub
  • GitLab
  • Stripe
  • Zapier

Feel free to submit a PR to support other services.

About

A laravel middleware to protect against unverified webhooks from 3rd party services.

Topics

Resources

License

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages

You can’t perform that action at this time.