Skip to content

Commit caa2e00

Browse files
Added examples of using events
Signed-off-by: Eugene Borovov <[email protected]>
1 parent fb905d3 commit caa2e00

File tree

9 files changed

+100
-746
lines changed

9 files changed

+100
-746
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/vendor
2-
/composer.lock
2+
**/composer.lock
33
phpunit.xml
44
.phpunit.result.cache
55
.idea

examples/composer.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
{
22
"require": {
3-
"slim/slim": "^3.12.3"
3+
"slim/slim": "^3.12.3",
4+
"league/event": "^3.0"
45
},
56
"require-dev": {
6-
"league/event": "^2.2",
7+
"php": "^7.2 || ^8.0",
8+
"ext-openssl": "*",
9+
"ext-json": "*",
710
"lcobucci/jwt": "^3.4 || ^4.0",
11+
"psr/event-dispatcher": "^1.0",
812
"psr/http-message": "^1.0.1",
9-
"defuse/php-encryption": "^2.2.1",
10-
"laminas/laminas-diactoros": "^2.5.0"
13+
"defuse/php-encryption": "^2.2.1"
1114
},
1215
"autoload": {
1316
"psr-4": {

0 commit comments

Comments
 (0)