Getting the error "Class laravel-emoji does not exist"
jofecolella opened this issue · comments
jofecolella commented
I just installed unicodeveloper in my Laravel 5.4 with PHP 7.0.
Then I use this:
dd(Emoji::findByName("airplane"));
And I get this error:
FatalThrowableError
Class 'App\Http\Controllers\Unicodeveloper\Emoji\Facades\Emoji' not found
In the top of the class I have:
use Unicodeveloper\Emoji\Facades\Emoji;
Thank you
jofecolella commented
Solved! I needed to add the provider in config/app