Because the Composer Autoloader has already been instantiated you need to add it to that instance.
$loader = require base_path() . '/vendor/autoload.php';
$loader->setPsr4("Plugins\\", __DIR__ . "/../plugins");
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community