Download the PHP package lifetechocms/events without Composer
On this page you can find all versions of the php package lifetechocms/events. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lifetechocms/events
More information about lifetechocms/events
Files in lifetechocms/events
Package events
Short Description A lightweight Event and listener package for PHP applications.
License MIT
Informations about the package events
π¦ LifeTechOCMS Events β Lightweight PHP Event System
A lightweight, framework-agnostic event dispatcher system for PHP, built for modular applications, custom frameworks, and scalable architectures.
π Overview
LifeTechOCMS Events is a powerful yet simple event-driven architecture package for PHP that allows developers to:
- create and manage events
- register listeners dynamically
- attach listeners to events
- dispatch events with payloads
Unlike traditional event systems, this package is:
- β database-free (JSON storage)
- β framework-independent
- β easy to integrate
- β production-ready
π Why Use LifeTechOCMS Events?
Most PHP event systems are:
- tightly coupled to frameworks
- require service containers
- complex to configure
LifeTechOCMS Events solves this by offering:
β Works with any PHP framework (Laravel, Symfony, Drupal, Shopify, etc.)
β Zero framework dependency
β Simple and intuitive API
β File-based persistence (no DB needed)
β Flexible event-listener mapping
β Clean response structure for APIs
βοΈ Installation
π Quick Start
Documentation
- Getting Started⬠Basic concepts
- LtEvent API β¬ Manage events
- LtListener API β¬ Manage listeners.
- LtDispatcher API β¬ Dispatch events
- Response Codes β¬ Full respomse code reference
- Configuration β¬ Storage setup(optional)
- Architecture & Storage β¬ System overview
- CONTRIBUTING β¬ System overview
β¨ Key Features
- Event registration and lifecycle management
- Listener registration and execution
- Dispatcher supporting static & instance methods
- JSON-based persistent storage
- Runtime configuration via EventSetting
-
Framework-agnostic design
π― Use Cases
- Event-driven PHP applications
- Custom MVC frameworks
- Plugin/module systems
- Notification systems
- Logging and auditing systems
- Decoupled business logic
π Response Format
Set Response output to either Array or Json
See more Available Response Codes
π Security Best Practices
- store JSON files outside public web root
- validate listener classes
- restrict file permissions
π€ Author
Ajayi Abolore A. Ajayi
Founder & Lead Architect β LifeTech OCMS
π License
MIT License
β Contribute
- Star the repo
- Fork and contribute
- Report issues
π₯ SEO Keywords
PHP event system, PHP dispatcher, PHP listener system, event-driven PHP, lightweight PHP events, PHP observer alternative