I am currently doing a project in laravel. I have created a simple class to build a grid manually, the project managers want that class to be inside the resources / views folder. I have already tried several ways but still nothing to register this class. in the autoload I put the namespace:
"autoload": {
"classmap": [
"database"
],
"psr-4": {'introducir el código aquí'
"App\": "app/",
**"Custom\Grid\": "resources/views/"**
}
}
and in the class:
namespace Custom \ Grid; use App \ Http \ Controllers \ Master \ MasterController;
Thank you in advance.