Support the ongoing development of Laravel.io →
Packages Installation IOC

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.

Last updated 2 years ago.
0

Package updated and fixed.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

eusonlito eusonlito Joined 2 Apr 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.