collinped / laravel-rest-hooks
Package for managing Laravel Rest Hooks for use with platforms like Zapier.
Fund package maintenance!
collinped
www.collinped.com
Requires
- php: ^7.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- orchestra/testbench: ^5.0
- phpunit/phpunit: ^9.3
- psalm/plugin-laravel: ^1.2
- vimeo/psalm: ^3.11
This package is auto-updated.
Last update: 2024-11-11 09:40:23 UTC
README
Package for managing Rest Hooks in Laravel for use with platforms such as Zapier. Built on top of spatie/laravel-webhook-server.
Installation
You can install the package via composer:
composer require collinped/laravel-rest-hooks
You can publish and run the migrations with:
php artisan vendor:publish --provider="Collinped\LaravelRestHooks\Providers\LaravelRestHooksServiceProvider" --tag="migrations" php artisan migrate
You can publish the config file with:
php artisan vendor:publish --provider="Collinped\LaravelRestHooks\Providers\LaravelRestHooksServiceProvider" --tag="config"
This is the contents of the published config file:
return [
];
Usage
use Collinped\LaravelRestHooks\RestHook; $restHook = RestHook::forUser(auth()->user()->id())>find($id);
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email me@collinped.com instead of using the issue tracker.
Credits
- Collin Pedersen
- Spatie - spatie/laravel-webhook-server is used in the background for processing web hooks.
License
The MIT License (MIT). Please see License File for more information.