PHPackages                             arc/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. arc/events

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

arc/events
==========

Ariadne Component Library: W3C style events Component

3.0(6y ago)037731MITPHPPHP &gt;=7.1

Since Jun 21Pushed 5y ago3 watchersCompare

[ Source](https://github.com/Ariadne-CMS/arc-events)[ Packagist](https://packagist.org/packages/arc/events)[ Docs](https://github.com/Ariadne-CMS/arc/wiki)[ RSS](/packages/arc-events/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (2)Versions (8)Used By (1)

ARC: Ariadne Component Library
==============================

[](#arc-ariadne-component-library)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/929b0a72e63eb62f00cb06de7b6dce66e113cbe31c6dcb25c27060fddff5c446/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f41726961646e652d434d532f6172632d6576656e74732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Ariadne-CMS/arc-events/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/5f533f761579e121a0c0a3377f7800c91ae0baff35578c248f44f05a4444d539/68747470733a2f2f706f7365722e707567782e6f72672f6172632f6576656e74732f762f737461626c652e737667)](https://packagist.org/packages/arc/events)[![Total Downloads](https://camo.githubusercontent.com/a820ee421f458cdacd09a1f292dffccc24c0a5335f9072b2132f0c5261b01a2d/68747470733a2f2f706f7365722e707567782e6f72672f6172632f6576656e74732f646f776e6c6f6164732e737667)](https://packagist.org/packages/arc/events)[![Latest Unstable Version](https://camo.githubusercontent.com/bee210f2274618fdb7cfc382ec29176aa0937921df5fe9a41b754c706a16c9f7/68747470733a2f2f706f7365722e707567782e6f72672f6172632f6576656e74732f762f756e737461626c652e737667)](https://packagist.org/packages/arc/events)[![License](https://camo.githubusercontent.com/23074d96602702c49c6de6aebb13fbba893778b1e02803eba740a9ea431be68d/68747470733a2f2f706f7365722e707567782e6f72672f6172632f6576656e74732f6c6963656e73652e737667)](https://packagist.org/packages/arc/events)

A flexible component library for PHP
------------------------------------

[](#a-flexible-component-library-for-php)

The Ariadne Component Library is a spinoff from the Ariadne Web Application Framework and Content Management System \[  \]

arc/events contains
-------------------

[](#arcevents-contains)

- [events](docs/events.md): W3C style event system, with a filesystem tree as the DOM

Example code:

```
    \arc\events::cd('/foo/')->listen( 'onbeforesave', function( $event ) {
        return $event->preventDefault(); // don't allow saves in /foo/
    });

    $eventData = \arc\events::cd('/foo/bar/')->fire( 'onbeforesave' );
    if ( $eventData ) {
         // save something, but alas - it has been prevented by a listener
    }
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 83.8% 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 ~345 days

Recently: every ~517 days

Total

7

Last Release

2312d ago

Major Versions

1.2.1 → 3.02020-02-23

PHP version history (2 changes)1.0PHP &gt;=5.4

3.0PHP &gt;=7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/110959?v=4)[Auke](/maintainers/Auke)[@Auke](https://github.com/Auke)

---

Top Contributors

[![poef](https://avatars.githubusercontent.com/u/1006453?v=4)](https://github.com/poef "poef (160 commits)")[![mjrider](https://avatars.githubusercontent.com/u/213105?v=4)](https://github.com/mjrider "mjrider (31 commits)")

---

Tags

componentscomponent

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[knplabs/knp-components

Knplabs component library

77245.0M47](/packages/knplabs-knp-components)[livewire/flux

The official UI component library for Livewire.

9476.8M121](/packages/livewire-flux)[league/uri-components

URI components manipulation library

31937.4M88](/packages/league-uri-components)[nette/component-model

⚛ Nette Component Model

28716.8M101](/packages/nette-component-model)[phpoffice/common

PHPOffice Common

23512.6M36](/packages/phpoffice-common)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

333972.2k49](/packages/dereuromark-cakephp-tools)

PHPackages © 2026

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