This repository has been archived by the owner on Jun 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from Dhii/release/3.0
- Loading branch information
Showing
54 changed files
with
6,961 additions
and
665 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
test export-ignore | ||
nbproject export-ignore | ||
.idea export-ignore | ||
.phan export-ignore | ||
.codeclimate.yml export-ignore | ||
.php_cs export-ignore | ||
.travis.yml export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
composer.lock export-ignore | ||
phpunit.xml export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
/nbproject/private | ||
/vendor/ | ||
/test/log/ | ||
/test/coverage/ | ||
/test/coverage/ | ||
/.idea/dictionaries/ | ||
/.idea/codeStyles/ | ||
/.idea/tasks.xml | ||
/.idea/workspace.xml | ||
/.idea/deployment.xml | ||
/.idea/misc.xml |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
# WP Events | ||
# Dhii - WP Events | ||
|
||
[![Build Status](https://travis-ci.org/Dhii/wp-events.svg?branch=master)](https://travis-ci.org/Dhii/wp-events) | ||
[![Build Status](https://travis-ci.org/Dhii/wp-events.svg?branch=develop)](https://travis-ci.org/Dhii/wp-events) | ||
[![Code Climate](https://codeclimate.com/github/Dhii/wp-events/badges/gpa.svg)](https://codeclimate.com/github/Dhii/wp-events) | ||
[![Test Coverage](https://codeclimate.com/github/Dhii/wp-events/badges/coverage.svg)](https://codeclimate.com/github/Dhii/wp-events/coverage) | ||
[![Latest Stable Version](https://poser.pugx.org/dhii/wp-events/version)](https://packagist.org/packages/dhii/wp-events) | ||
[![This package complies with Dhii standards](https://img.shields.io/badge/Dhii-Compliant-green.svg?style=flat-square)][Dhii] | ||
|
||
A PSR-14 compliant event wrapper for WordPress. | ||
## Details | ||
A [PSR-14][] compliant event manager and wrapper for WordPress. It uses the WordPress hook system, while providing | ||
a standards-compliant OOP interface, allowing for complete de-coupling from WordPress hooks. | ||
|
||
## Requirements | ||
[Dhii]: https://github.com/Dhii/dhii | ||
|
||
* PHP >= 5.3.9 | ||
|
||
## Installation | ||
|
||
Install via Composer: | ||
|
||
``` | ||
composer require dhii/wp-events | ||
``` | ||
[PSR-14]: https://github.com/php-fig/fig-standards/blob/master/proposed/event-dispatcher.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,26 +9,37 @@ | |
"email": "[email protected]" | ||
} | ||
], | ||
"prefer-stable": true, | ||
"minimum-stability": "dev", | ||
"require": { | ||
"php": "^5.3.9 | ^7.0", | ||
"dhii/psr-14": "~0.1" | ||
"php": "^5.4 | ^7.0", | ||
"dhii/psr-14": "^0.1", | ||
"dhii/normalization-helper-base": "^0.1-alpha2", | ||
"dhii/exception": "^0.1-alpha4", | ||
"dhii/i18n-helper-base": "^0.1" | ||
}, | ||
"require-dev": { | ||
"dhii/php-cs-fixer-config": "dev-php-5.3", | ||
"phpunit/phpunit": "4.*", | ||
"10up/wp_mock": "dev-dev", | ||
"ptrofimov/xpmock": "^1.1" | ||
"10up/wp_mock": "^0.1.1", | ||
"doctrine/instantiator": ">=1.0.5 <1.1.0", | ||
"dhii/php-cs-fixer-config": "^0.1", | ||
"phpunit/phpunit": "^4.8", | ||
"ptrofimov/xpmock": "^1.1", | ||
"dhii/stringable-interface": "^0.1" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Dhii\\WpEvents\\" : "src/" | ||
"Dhii\\EventManager\\" : "src/" | ||
} | ||
}, | ||
"repositories": [ | ||
{ | ||
"type": "vcs", | ||
"url": "https://github.com/Dhii/psr-14" | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Dhii\\EventManager\\UnitTest\\" : "test/unit", | ||
"Dhii\\EventManager\\FuncTest\\" : "test/functional" | ||
} | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-develop": "0.3.x-dev" | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.