Skip to content

Commit f683727

Browse files
committed
initialize events package
1 parent a01bf6a commit f683727

5 files changed

Lines changed: 75 additions & 0 deletions

File tree

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"psr/cache": "^3.0",
1313
"psr/clock": "^1.0",
1414
"psr/container": "^2.0.x-dev",
15+
"psr/event-dispatcher": "^1.0",
1516
"psr/http-factory": "^1.1",
1617
"psr/http-message": "*"
1718
},
@@ -28,6 +29,7 @@
2829
"aether/database": "self.version",
2930
"aether/dependency-injection": "self.version",
3031
"aether/entity": "self.version",
32+
"aether/events": "self.version",
3133
"aether/filesystem": "self.version",
3234
"aether/http": "self.version",
3335
"aether/routing": "self.version",
@@ -37,6 +39,7 @@
3739
"psr/cache": "*",
3840
"psr/clock-implementation": "*",
3941
"psr/container-implementation": "2.0.2",
42+
"psr/event-dispatcher": "*",
4043
"psr/http-factory": "*",
4144
"psr/http-message": "*"
4245
},
@@ -49,6 +52,7 @@
4952
"Aether\\Database\\": "packages/Database/src/",
5053
"Aether\\DependencyInjection\\": "packages/DependencyInjection/src/",
5154
"Aether\\Entity\\": "packages/Entity/src/",
55+
"Aether\\Events\\": "packages/Events/src/",
5256
"Aether\\Filesystem\\": "packages/Filesystem/src/",
5357
"Aether\\Http\\": "packages/Http/src/",
5458
"Aether\\Routing\\": "packages/Routing/src/",
@@ -62,6 +66,7 @@
6266
"Aether\\Tests\\Database\\": "packages/Database/tests/",
6367
"Aether\\Tests\\DependencyInjection\\": "packages/DependencyInjection/tests/",
6468
"Aether\\Tests\\Entity\\": "packages/Entity/tests/",
69+
"Aether\\Tests\\Events\\": "packages/Events/tests/",
6570
"Aether\\Tests\\Filesystem\\": "packages/Filesystem/tests/",
6671
"Aether\\Tests\\Http\\": "packages/Http/tests/",
6772
"Aether\\Tests\\Routing\\": "packages/Routing/tests/",
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Close Pull Request
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
jobs:
8+
run:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: superbrothers/close-pull-request@v3
12+
with:
13+
comment: |
14+
Thanks for your Pull Request! We love contributions.
15+
16+
However, you should instead open your PR on the main repository:
17+
https://github.com/sxbrsky/aether
18+
19+
This repository is what we call a "subtree split": a read-only subset of that main repository.

packages/Events/LICENSE

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2024 Dominik Szamburski
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
SOFTWARE.

packages/Events/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Aether Events Component

packages/Events/composer.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "aether/events",
3+
"description": "The Aether events package.",
4+
"license": "MIT",
5+
"type": "library",
6+
"support": {
7+
"issues": "https://github.com/sxbrsky/aether/issues",
8+
"source": "https://github.com/sxbrsky/aether"
9+
},
10+
"provide": {
11+
"psr/event-dispatcher-implementation": "*"
12+
},
13+
"require": {
14+
"php": "^8.2",
15+
"psr/event-dispatcher": "^1.0"
16+
},
17+
"minimum-stability": "dev",
18+
"autoload": {
19+
"psr-4": {
20+
"Aether\\Events\\": "src/"
21+
}
22+
},
23+
"autoload-dev": {
24+
"psr-4": {
25+
"Aether\\Tests\\Events\\": "tests/"
26+
}
27+
},
28+
"config": {
29+
"sort-packages": true
30+
}
31+
}

0 commit comments

Comments
 (0)