I'm trying to migrate my packages from 4.2 to 4.3 but I have an error because Laravel doesn't not recognize Facade access.
Package is https://github.com/eusonlito/laravel-Meta
My controller code is the same:
<?php namespace App\Http\Controllers;
use Illuminate\Routing\Controller;
use Meta;
class Base extends Controller {
public function __construct()
{
Meta::title(_('Project Title'));
And laravel returns "Class 'Meta' not found"
I have registered my class in config/app.php with:
'providers' => [
....
'Laravel\Meta\MetaServiceProvider',
I don't understand why now Meta class is not accessible.
Code is installed successfully, and I can use it with "use Laravel\Meta\Meta;" but I want to use with the Facade accessor.
Thanks a lot, Lito.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community