I started a laravel project in version 5.5, I have been working with version 5.1.
In this version I use the folder 'nob' and I use it to develop some classes to turn them into components.
I used the following composer.json in the version 5.1:
"autoload": {
"classmap": [
"database"
],
"psr-4": {
"App\\": "app/",
"Nob\\": "nob/"
}
},
And this is the version 5.5:
"autoload": {
"classmap": [
"database/seeds",
"database/factories"
],
"psr-4": {
"App\\": "app/",
"Nob\\": "nob/"
}
},
This is the class, her namespace is correct
<?php namespace Nob\Payeezy\Types;
use Nob\Payeezy\Payeezy;
class Authorization extends Payeezy
{
And this is the tree:
I use PhpStorm and he recognizes the namespace
I do not know what may be happening, I used composer dump-autoload and nothing.