Skip to content

Commit

Permalink
Adds src directory PSR-4 compliant autoloading with Laravel specific …
Browse files Browse the repository at this point in the history
…configuration and ensures the fileinfo extension is present
  • Loading branch information
craigpaul committed Nov 25, 2023
1 parent 2001044 commit 2db1cba
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,33 @@
],
"require": {
"php": "^8.1",
"ext-fileinfo": "*",
"ext-json": "*"
},
"require-dev": {
"orchestra/testbench": "^7.0|^8.0",
"phpunit/phpunit": "^10.0"
},
"extra": {
"laravel": {
"providers": [
"CraigPaul\\Blitz\\BlitzServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"CraigPaul\\Blitz\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"CraigPaul\\Blitz\\Tests\\": "tests/"
}
},
"scripts": {
"test": "vendor/bin/phpunit"
},
"config": {
"sort-packages": true
},
Expand Down

0 comments on commit 2db1cba

Please sign in to comment.