├── .gitignore ├── .scrutinizer.yml ├── .travis.yml ├── LICENSE ├── README.md ├── composer.json ├── composer.lock ├── phpunit.xml ├── resources └── config │ └── shield.php ├── src ├── Contracts │ └── Service.php ├── Exceptions │ ├── Exception.php │ └── UnknownServiceException.php ├── Http │ └── Middleware │ │ └── Shield.php ├── Manager.php ├── Providers │ └── ShieldServiceProvider.php └── Services │ ├── BaseService.php │ ├── Braintree.php │ ├── GitHub.php │ ├── GitLab.php │ ├── Stripe.php │ ├── Trello.php │ └── Zapier.php └── tests ├── Services ├── BaseServiceTest.php ├── BraintreeTest.php ├── GitHubTest.php ├── GitLabTest.php ├── StripeTest.php ├── TrelloTest.php └── ZapierTest.php ├── TestCase.php └── Unit ├── ManagerTest.php └── ShieldMiddlewareTest.php /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /.idea 3 | .DS_Store 4 | coverage.xml 5 | -------------------------------------------------------------------------------- /.scrutinizer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/.scrutinizer.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/composer.lock -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/phpunit.xml -------------------------------------------------------------------------------- /resources/config/shield.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/resources/config/shield.php -------------------------------------------------------------------------------- /src/Contracts/Service.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/src/Contracts/Service.php -------------------------------------------------------------------------------- /src/Exceptions/Exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/src/Exceptions/Exception.php -------------------------------------------------------------------------------- /src/Exceptions/UnknownServiceException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/src/Exceptions/UnknownServiceException.php -------------------------------------------------------------------------------- /src/Http/Middleware/Shield.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/src/Http/Middleware/Shield.php -------------------------------------------------------------------------------- /src/Manager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/src/Manager.php -------------------------------------------------------------------------------- /src/Providers/ShieldServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/src/Providers/ShieldServiceProvider.php -------------------------------------------------------------------------------- /src/Services/BaseService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/src/Services/BaseService.php -------------------------------------------------------------------------------- /src/Services/Braintree.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/src/Services/Braintree.php -------------------------------------------------------------------------------- /src/Services/GitHub.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/src/Services/GitHub.php -------------------------------------------------------------------------------- /src/Services/GitLab.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/src/Services/GitLab.php -------------------------------------------------------------------------------- /src/Services/Stripe.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/src/Services/Stripe.php -------------------------------------------------------------------------------- /src/Services/Trello.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/src/Services/Trello.php -------------------------------------------------------------------------------- /src/Services/Zapier.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/src/Services/Zapier.php -------------------------------------------------------------------------------- /tests/Services/BaseServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/tests/Services/BaseServiceTest.php -------------------------------------------------------------------------------- /tests/Services/BraintreeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/tests/Services/BraintreeTest.php -------------------------------------------------------------------------------- /tests/Services/GitHubTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/tests/Services/GitHubTest.php -------------------------------------------------------------------------------- /tests/Services/GitLabTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/tests/Services/GitLabTest.php -------------------------------------------------------------------------------- /tests/Services/StripeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/tests/Services/StripeTest.php -------------------------------------------------------------------------------- /tests/Services/TrelloTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/tests/Services/TrelloTest.php -------------------------------------------------------------------------------- /tests/Services/ZapierTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/tests/Services/ZapierTest.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/tests/TestCase.php -------------------------------------------------------------------------------- /tests/Unit/ManagerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/tests/Unit/ManagerTest.php -------------------------------------------------------------------------------- /tests/Unit/ShieldMiddlewareTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clarkeash/shield/HEAD/tests/Unit/ShieldMiddlewareTest.php --------------------------------------------------------------------------------