Hi, I have this downside customizing the foo, I created it as advertised in the documentation.
https://www.laraship.com/docs/laraship/customize-laraship/create-your-own-plugin/
create a new class named Canver and method getFeaturedCanver(), assign namespace in all files
namespaceĀ Corals\Modules\Foo\Classes;
namespaceĀ Corals\Modules\Foo\Models;
namespace Corals\Modules\Foo\Http\Controllers;
when I add new classes and modules I get this error
I want to make a query from the blades
@php $ canver = \ Canver :: getFeaturedCanver(); @endphp
Class not found
How do I fix this class not found error?
Hello,
is this a custom made theme ?
yes, it is a custom theme and I have updated composer with the command, composer dump-autoload
as this blog explains.
https://programacionymas.com/blog/agregar-clases-propias-laravel
I have made these passes so that it loads the classes automatically.
as this blog also explains
https://luiscordero29.com/laravel/creando-clases-personalizadas-laravel-5-5-helpers/
I don’t find a solution š