PHPackages                             bfg/web-hooker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bfg/web-hooker

ActiveBfg-app[Utility &amp; Helpers](/categories/utility)

bfg/web-hooker
==============

2.2.2(3y ago)0251MITPHPPHP &gt;=8.0.0

Since Aug 7Pushed 3y ago2 watchersCompare

[ Source](https://github.com/bfg-s/web-hooker)[ Packagist](https://packagist.org/packages/bfg/web-hooker)[ RSS](/packages/bfg-web-hooker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (15)Used By (0)

Extension web-hooker
====================

[](#extension-web-hooker)

Install
-------

[](#install)

```
composer require bfg/web-hooker
```

Description
-----------

[](#description)

Compact Laravel WebHook core for simple of begin

Usage
-----

[](#usage)

> Importantly! You should have queues for processing hooks.

### Publish

[](#publish)

Migrations

```
php artisan vendor:publish --tag=web-hooker-migrations

```

Configs

```
php artisan vendor:publish --tag=web-hooker-config

```

### Migrate

[](#migrate)

A mandatory stage is to create a table in the database, so after the publication of migration, will launch them.

```
php artisan migrate

```

### Http request type

[](#http-request-type)

> You need to make sure that the `type.http_request` setting is included in the `config/webhooker.php` file in the `true` value.

Before usage, you should use the trait on your model there you want to use for hooks:

```
