psychob/laravel-webhook

A WebHook package
2,159
Install
composer require psychob/laravel-webhook
Latest Version:0.8.1
PHP:>=7.1
License:MPL-2.0
Last Updated:Mar 18, 2019
Links: GitHub  ·  Packagist
Maintainer: psychob

Laravel WebHook

Requirements

This library requires configured queue mechanism, as webhooks are dispatched asynchronously through queue.

Setup

To get Laravel WebHook ready for use in your project, take the usual steps for setting up a Laravel package.

  1. Run: composer require psychob/laravel-webhook
  2. Add to your service provider: PsychoB\WebHook\Providers\WebHookProvider::class
  3. Run php artisan vendor:publish
  4. Run php artisan migrate
  5. Add to alias: 'WebHook' => \PsychoB\WebHook\Facades\WebHook::class,

Sending WebHook

\WebHook::push(method, url, array with data, additional headers);

Related Packages

mpociot/captainhook

Add webhooks to your Laravel app.

8,910 335
hopkins/slack-against-humanity

A slack webhook integration that lets your team play cards against humanity

173 72
hopkins/gamesbase

A base library for various games.

163 0
hopkins/slackemon

A WIP attempt to implement some form of pokemon battling into slack

6 0
jurihub/laravel-webhooks

Laravel package to handle Webhooks

1,866 7