collinped / laravel-rest-hooks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

laravel-rest-hooks

Latest Version on Packagist GitHub Tests Action Status Total Downloads License

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

License

The MIT License (MIT). Please see License File for more information.

About

License:MIT License


Languages

Language:PHP 100.0%