Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PSR-14 Event Dispatcher #1184

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/vendor
/composer.lock
**/composer.lock
phpunit.xml
.phpunit.result.cache
.idea
Expand Down
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"require": {
"php": "^7.2 || ^8.0",
"ext-openssl": "*",
"league/event": "^2.2",
"lcobucci/jwt": "^3.4 || ^4.0",
"psr/event-dispatcher": "^1.0",
"psr/http-message": "^1.0.1",
"defuse/php-encryption": "^2.2.1",
"ext-json": "*"
Expand All @@ -19,6 +19,9 @@
"phpstan/phpstan-phpunit": "^0.12.16",
"roave/security-advisories": "dev-master"
},
"suggest": {
"league/event": "Required to use the EventDispatcher (^3.0)."
},
"repositories": [
{
"type": "git",
Expand Down
11 changes: 7 additions & 4 deletions examples/composer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
{
"require": {
"slim/slim": "^3.12.3"
"slim/slim": "^3.12.3",
"league/event": "^3.0"
},
"require-dev": {
"league/event": "^2.2",
"php": "^7.2 || ^8.0",
"ext-openssl": "*",
"ext-json": "*",
"lcobucci/jwt": "^3.4 || ^4.0",
"psr/event-dispatcher": "^1.0",
"psr/http-message": "^1.0.1",
"defuse/php-encryption": "^2.2.1",
"laminas/laminas-diactoros": "^2.5.0"
"defuse/php-encryption": "^2.2.1"
},
"autoload": {
"psr-4": {
Expand Down
Loading