PSR4 autoloading directory
Closed this issue · 0 comments
RobinRadic commented
If i am not mistaken, the current directory structure and autoloading definition is not according to http://www.php-fig.org/psr/psr-4/.
{
"autoload": {
"psr-4": {
"Caffeinated\\Beverage\\": "src/Caffeinated/Beverage/"
}
}
}
Should be "Caffeinated\\Beverage\\": "src/"
Directory structure should be
src
src\Arr.php
src\Str.php
config
config\config.php
composer.json