create custom class in resources folder laravel .. can you?

0

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.

    
asked by user7649760 14.08.2018 в 17:58
source

0 answers