dimanche 28 janvier 2018

Class Dingo\Api\Routing\Router does not exist - Laravel 5.5.32 with Dingo package

I am following the installation and configuration for Dingo package in Laravel 5.5.32, but I am getting this error when I access route in the browser or execute console command:

ReflectionException (-1) Class Dingo\Api\Routing\Router does not exist

This is routes/web.php:

$api = app('Dingo\Api\Routing\Router');

I did the command:

php artisan vendor:publish --provider="Dingo\Api\Provider\LaravelServiceProvider"



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2BzTtmm
via IFTTT

Aucun commentaire:

Enregistrer un commentaire