dingo / api

A RESTful API package for the Laravel and Lumen frameworks.
BSD 3-Clause "New" or "Revised" License
9.33k stars 1.25k forks source link

Class Dingo\Api\Routing\Router does not exist #1516

Closed innovationsbg closed 6 years ago

innovationsbg commented 6 years ago

I am getting this error when I follow the documentation for installation. I am using Laravel 5.5.32. This is routes/api.php: `$api = app('Dingo\Api\Routing\Router');

I have executed the command php artisan vendor:publish --provider="Dingo\Api\Provider\LaravelServiceProvider" before that with success.