PHPackages                             tv2regionerne/statamic-events - 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. tv2regionerne/statamic-events

ActiveLibrary

tv2regionerne/statamic-events
=============================

v2.0.0(7mo ago)091[1 issues](https://github.com/tv2regionerne/statamic-events/issues)PHPPHP ^8.3CI failing

Since Nov 13Pushed 7mo ago4 watchersCompare

[ Source](https://github.com/tv2regionerne/statamic-events)[ Packagist](https://packagist.org/packages/tv2regionerne/statamic-events)[ RSS](/packages/tv2regionerne-statamic-events/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (12)Used By (0)

Statamic Events
===============

[](#statamic-events)

> Statamic Events is a Statamic addon that lets you run actions when events are triggered.

How to Install
--------------

[](#how-to-install)

Run the following command from your project root:

```
composer require tv2regionerne/statamic-events
```

Configuration
-------------

[](#configuration)

A configuration file can be published by running the following command:

`php artisan vendor:publish --tag=statamic-events`

This will create `statamic-events ` in your config folder.

### Extra events

[](#extra-events)

By default this add-on will list events in the Statamic\\Events namespace, but you can change this or configure other events to be listed by modifying the `statamic-events.events` config. This should be a list of folders relative to the base folder, keyed by their namespace.

After changing this config, you should run `php artisan cache:clear`.

### Response handlers

[](#response-handlers)

Each driver allows you to specify `response_handlers` which can be used to run any additional processing. This should be an array of unique keys to fully qualified class names, eg `['my_key' => '\App\Handlers\MyHandler::class']`

A handler is a class containing a handle method:

```
class MyHandler
{
   public function handle(array $config, string $eventName, mixed $event, mixed $response = null)
   {
      // run some logic
      // you may want to $execution->log(string $message, array $data) something
   }
}
```

API
---

[](#api)

This add-on integrates with the [Private API addon](https://statamic.com/addons/tv2reg/private-api) to provide an end point for managing handlers. The following endpoints are available:

Viewing all handlers: `GET {base}/statamic-events/handlers`

View an individual handler: `GET {base}/statamic-events/handlers/{id}`

Add a new handler: `POST {base}/statamic-events/handlers`

Update an individual handler: `PATCH {base}/statamic-events/handlers/{id}`

Delete a handler `DELETE {base}/statamic-events/handlers/{id}`

###  Health Score

40

—

FairBetter than 87% of packages

Maintenance66

Regular maintenance activity

Popularity9

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 92.9% 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.

###  Release Activity

Cadence

Every ~68 days

Recently: every ~133 days

Total

11

Last Release

227d ago

Major Versions

v1.8.0 → v2.0.02025-09-24

PHP version history (3 changes)v1.1.0PHP ^8.1

v1.6.0PHP ^8.2

v2.0.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/b9761a79e61f2d5b9d650510dfb3555da18daf38f027aa84012c937e397e39a7?d=identicon)[cboxdk](/maintainers/cboxdk)

---

Top Contributors

[![ryanmitchell](https://avatars.githubusercontent.com/u/51899?v=4)](https://github.com/ryanmitchell "ryanmitchell (65 commits)")[![sylvesterdamgaard](https://avatars.githubusercontent.com/u/2431914?v=4)](https://github.com/sylvesterdamgaard "sylvesterdamgaard (3 commits)")[![peterbrinck](https://avatars.githubusercontent.com/u/6154068?v=4)](https://github.com/peterbrinck "peterbrinck (2 commits)")

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/tv2regionerne-statamic-events/health.svg)

```
[![Health](https://phpackages.com/badges/tv2regionerne-statamic-events/health.svg)](https://phpackages.com/packages/tv2regionerne-statamic-events)
```

###  Alternatives

[statamic/statamic

Statamic

824170.4k](/packages/statamic-statamic)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)[statamic/ssg

Generate static sites with Statamic.

254302.4k](/packages/statamic-ssg)[statamic/eloquent-driver

Allows you to store Statamic data in a database.

125598.8k7](/packages/statamic-eloquent-driver)[statamic/seo-pro

65440.7k](/packages/statamic-seo-pro)[rias/statamic-redirect

28298.4k](/packages/rias-statamic-redirect)

PHPackages © 2026

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