Skip to content

Commit 0861efc

Browse files
authored
Merge pull request #2 from sxbrsky/initial-packages
Initial packages
2 parents 47b6fc2 + 4a19f37 commit 0861efc

45 files changed

Lines changed: 768 additions & 5 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

composer.json

Lines changed: 46 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@
99
},
1010
"require": {
1111
"php": "^8.2",
12+
"psr/cache": "^3.0",
1213
"psr/clock": "^1.0",
13-
"psr/container": "^2.0.x-dev"
14+
"psr/container": "^2.0.x-dev",
15+
"psr/event-dispatcher": "^1.0",
16+
"psr/http-factory": "^1.1",
17+
"psr/http-message": "*"
1418
},
1519
"require-dev": {
1620
"friendsofphp/php-cs-fixer": "^3.64",
@@ -20,25 +24,62 @@
2024
"symplify/monorepo-builder": "^11.2"
2125
},
2226
"replace": {
27+
"aether/cache": "self.version",
2328
"aether/clock": "self.version",
24-
"aether/dependency-injection": "self.version"
29+
"aether/config": "self.version",
30+
"aether/crypto": "self.version",
31+
"aether/database": "self.version",
32+
"aether/dependency-injection": "self.version",
33+
"aether/entity": "self.version",
34+
"aether/events": "self.version",
35+
"aether/filesystem": "self.version",
36+
"aether/foundation": "self.version",
37+
"aether/http": "self.version",
38+
"aether/routing": "self.version",
39+
"aether/support": "self.version"
2540
},
2641
"provide": {
42+
"psr/cache": "*",
2743
"psr/clock-implementation": "*",
28-
"psr/container-implementation": "2.0.2"
44+
"psr/container-implementation": "2.0.2",
45+
"psr/event-dispatcher-implementation": "*",
46+
"psr/http-factory-implementation": "*",
47+
"psr/http-message-implementation": "*"
2948
},
3049
"minimum-stability": "dev",
3150
"prefer-stable": true,
3251
"autoload": {
3352
"psr-4": {
53+
"Aether\\Cache\\": "packages/Cache/src/",
3454
"Aether\\Clock\\": "packages/Clock/src/",
35-
"Aether\\DependencyInjection\\": "packages/DependencyInjection/src/"
55+
"Aether\\Config\\": "packages/Config/src/",
56+
"Aether\\Crypto\\": "packages/Crypto/src/",
57+
"Aether\\Database\\": "packages/Database/src/",
58+
"Aether\\DependencyInjection\\": "packages/DependencyInjection/src/",
59+
"Aether\\Entity\\": "packages/Entity/src/",
60+
"Aether\\Events\\": "packages/Events/src/",
61+
"Aether\\Filesystem\\": "packages/Filesystem/src/",
62+
"Aether\\Foundation\\": "packages/Foundation/src/",
63+
"Aether\\Http\\": "packages/Http/src/",
64+
"Aether\\Routing\\": "packages/Routing/src/",
65+
"Aether\\Support\\": "packages/Support/src/"
3666
}
3767
},
3868
"autoload-dev": {
3969
"psr-4": {
70+
"Aether\\Tests\\Cache\\": "packages/Cache/tests/",
4071
"Aether\\Tests\\Clock\\": "packages/Clock/tests/",
41-
"Aether\\Tests\\DependencyInjection\\": "packages/DependencyInjection/tests/"
72+
"Aether\\Tests\\Config\\": "packages/Config/tests/",
73+
"Aether\\Tests\\Crypto\\": "packages/Crypto/tests/",
74+
"Aether\\Tests\\Database\\": "packages/Database/tests/",
75+
"Aether\\Tests\\DependencyInjection\\": "packages/DependencyInjection/tests/",
76+
"Aether\\Tests\\Entity\\": "packages/Entity/tests/",
77+
"Aether\\Tests\\Events\\": "packages/Events/tests/",
78+
"Aether\\Tests\\Filesystem\\": "packages/Filesystem/tests/",
79+
"Aether\\Tests\\Foundation\\": "packages/Foundation/tests/",
80+
"Aether\\Tests\\Http\\": "packages/Http/tests/",
81+
"Aether\\Tests\\Routing\\": "packages/Routing/tests/",
82+
"Aether\\Tests\\Support\\": "packages/Support/tests/"
4283
}
4384
},
4485
"config": {
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/Cache/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/Cache/README.md

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

packages/Cache/composer.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "aether/cache",
3+
"description": "The Aether cache 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/cache": "*"
12+
},
13+
"require": {
14+
"php": "^8.2",
15+
"psr/cache": "^3.0"
16+
},
17+
"minimum-stability": "dev",
18+
"autoload": {
19+
"psr-4": {
20+
"Aether\\Cache\\": "src/"
21+
}
22+
},
23+
"autoload-dev": {
24+
"psr-4": {
25+
"Aether\\Tests\\Cache\\": "tests/"
26+
}
27+
},
28+
"config": {
29+
"sort-packages": true
30+
}
31+
}
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/Config/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/Config/README.md

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

packages/Config/composer.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "aether/config",
3+
"description": "The Aether config 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+
"require": {
11+
"php": "^8.2"
12+
},
13+
"minimum-stability": "dev",
14+
"autoload": {
15+
"psr-4": {
16+
"Aether\\Config\\": "src/"
17+
}
18+
},
19+
"autoload-dev": {
20+
"psr-4": {
21+
"Aether\\Tests\\Config\\": "tests/"
22+
}
23+
},
24+
"config": {
25+
"sort-packages": true
26+
}
27+
}
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.

0 commit comments

Comments
 (0)