Skip to content

Commit 0b8bf3a

Browse files
committed
Initial commit
0 parents  commit 0b8bf3a

13 files changed

Lines changed: 2531 additions & 0 deletions

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
*.sublime-*
2+
vendor
3+
phpstan.neon
4+
.phpunit.cache

LICENSE

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

composer.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"name": "flightphp/container",
3+
"description": "FlightPHP Dependency Injection Container",
4+
"type": "library",
5+
"license": "MIT",
6+
"autoload": {
7+
"psr-4": {
8+
"flight\\": "src"
9+
}
10+
},
11+
"authors": [
12+
{
13+
"name": "fadrian06",
14+
"email": "franyeradriansanchez@gmail.com"
15+
}
16+
],
17+
"require": {
18+
"php": "^7.4",
19+
"psr/container": "^2.0"
20+
},
21+
"require-dev": {
22+
"phpunit/phpunit": "^9.6",
23+
"rector/rector": "^2.0",
24+
"phpstan/phpstan": "^2.1",
25+
"phpstan/extension-installer": "^1.4",
26+
"phpstan/phpstan-phpunit": "^2.0"
27+
},
28+
"config": {
29+
"allow-plugins": {
30+
"phpstan/extension-installer": true
31+
}
32+
}
33+
}

0 commit comments

Comments
 (0)