calderawp/events

A boilerplate for new composer based PHP projects.

Installs: 6

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

pkg:composer/calderawp/events

0.2.0 2019-01-09 22:31 UTC

This package is auto-updated.

Last update: 2025-09-23 08:28:51 UTC


README

A WordPress Plugins API (hooks)-like event dispatcher.

👀🌋 This Is A Module Of The Caldera Framework

Usage

Install

  • Add to your package:
    • composer require calderawp/http
  • Install for development:
    • git clone git@github.com:CalderaWP/http.git && composer install

Examples

Adding A Filter (Subscribe)

Applying A Filter (Dispatch)

Adding An Action (Subscribe)

Not yet implemented.

Doing An Action (Dispatch)

Not yet implemented.

Testing

  • Run unit tests
    • composer test:unit
  • Run integration tests
    • composer test:integration
  • Run acceptance tests
    • composer test:acceptance

License, Copyright, etc.

Copyright 2018+ CalderaWP LLC and licensed under the terms of the GNU GPL license. Please share with your neighbor.