PHPackages                             ltsc/simple-event - 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. ltsc/simple-event

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

ltsc/simple-event
=================

1.3-beta(7y ago)04Apache2PHP

Since Apr 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/erikaemma/ltsc-simple-event)[ Packagist](https://packagist.org/packages/ltsc/simple-event)[ RSS](/packages/ltsc-simple-event/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

Simple Event Library
====================

[](#simple-event-library)

Usage
-----

[](#usage)

### normal

[](#normal)

```
$event = LTSC\Event\Event::getInstance();
$event->on('click', function($msg) {
    echo $msg;
});
$event->trigger('click', 'Hello');
```

### events with order

[](#events-with-order)

```
$events = LTSC\Event\Events::getInstance();
$events->add('click', 99, function($msg) {
    echo "My order is 99, argument is $msg";
});
$event->emit('click', 'Hello');
```

### events like plugins

[](#events-like-plugins)

```
$events = LTSC\Event\CustomEvents::getInstance(
    new \LTSC\Event\Helper\CEConfigure(
        Parent_Class::class,
        'call_method',
        ['arguments_for_construct']
    )
);
$list = $events->getEventList(); //all event names which allowed is add here
$list->add('click', 0); //max events for click, 0 is no limit
$events->addEvents('click', MyEvents::class);
$events->call('click', 'Hello');
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

2580d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a0e8c42755f0328441d379a5117fcfee6e7f3317792fc74a889237b0e54514a?d=identicon)[erikaemma](/maintainers/erikaemma)

---

Top Contributors

[![erikaemma](https://avatars.githubusercontent.com/u/16622992?v=4)](https://github.com/erikaemma "erikaemma (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ltsc-simple-event/health.svg)

```
[![Health](https://phpackages.com/badges/ltsc-simple-event/health.svg)](https://phpackages.com/packages/ltsc-simple-event)
```

###  Alternatives

[ezsystems/ezplatform-matrix-fieldtype

Repository dedicated to Matrix Field Type for eZ Platform

25633.6k11](/packages/ezsystems-ezplatform-matrix-fieldtype)[cobweb/external_import

Tool for importing data from external sources into the TYPO3 database, using an extended TCA syntax. Provides a BE module, a Scheduler task, a command-line tool, reactions and an API.

23369.4k10](/packages/cobweb-external-import)[terminal42/contao-folderpage

Provides a new page type for Contao that allows you to group pages into folders.

18147.9k9](/packages/terminal42-contao-folderpage)

PHPackages © 2026

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