PHPackages                             se468/laravel-rest-hooks - 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. [API Development](/categories/api)
4. /
5. se468/laravel-rest-hooks

ActiveLibrary[API Development](/categories/api)

se468/laravel-rest-hooks
========================

Package that handles subscribing, deleting, and firing REST Hooks.

110PHP

Since May 5Pushed 8y ago1 watchersCompare

[ Source](https://github.com/se468/laravel-rest-hooks)[ Packagist](https://packagist.org/packages/se468/laravel-rest-hooks)[ RSS](/packages/se468-laravel-rest-hooks/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel REST Hooks
==================

[](#laravel-rest-hooks)

Package that handles subscribing, deleting, and firing REST Hooks.

How to use
----------

[](#how-to-use)

```
composer require se468/laravel-rest-hooks
php artisan migrate
```

Usage
-----

[](#usage)

### Subscribe a webhook endpoint

[](#subscribe-a-webhook-endpoint)

```
POST /api/hooks
```

with data

```
data:
{
    "target_url": "https://rest-hook-target.com/", //Your Hook URL
    "event": "user_created" //Your Hook Event
}

```

Will create a new RestHook and store it.

### Delete a webhook endpoint

[](#delete-a-webhook-endpoint)

```
DELETE /api/hooks/{id}
```

Will delete RestHook with that id.

### Firing RestHook with Data

[](#firing-resthook-with-data)

```
$data = [
    'foo' => 'bar'
];

$resthook = RestHook::find(1);
$resthook->fire($data);
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1775954?v=4)[Seyong Cho](/maintainers/se468)[@se468](https://github.com/se468)

---

Top Contributors

[![se468](https://avatars.githubusercontent.com/u/1775954?v=4)](https://github.com/se468 "se468 (3 commits)")

---

Tags

laravelwebhook

### Embed Badge

![Health badge](/badges/se468-laravel-rest-hooks/health.svg)

```
[![Health](https://phpackages.com/badges/se468-laravel-rest-hooks/health.svg)](https://phpackages.com/packages/se468-laravel-rest-hooks)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)[emartech/emarsys-magento2-extension

Magento2 integration for the Emarsys Marketing Platform

14273.9k](/packages/emartech-emarsys-magento2-extension)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
