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. se468/laravel-rest-hooks

ActiveLibrary

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 yesterday

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 14% 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://www.gravatar.com/avatar/47734150c4de2c84b26e02fb4f6dcaecf3bcc2c4721b9dfd339ac09d31fab05b?d=identicon)[se468](/maintainers/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)
```

PHPackages © 2026

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