calderawp / events
A boilerplate for new composer based PHP projects.
0.2.0
2019-01-09 22:31 UTC
Requires
- php: ^7.2
- psr/container: ^1.0
Requires (Dev)
- php: ^7.2
- mockery/mockery: ^1.2
- phpunit/phpunit: ^7.3
- squizlabs/php_codesniffer: 3.*
This package is auto-updated.
Last update: 2024-11-23 06:46:41 UTC
README
A WordPress Plugins API (hooks)-like event dispatcher.
👀🌋 This Is A Module Of The Caldera Framework
-
🌋 Find Caldera Forms Here:
-
🌋 Issues and pull requests, should be submitted to the main Caldera repo.
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.