laravel5.1 Class api.router does not exist
Open
- Dominant language
- PHP
- Stars
- 9.4k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
config/app.php:
Dingo\Api\Provider\LaravelServiceProvider::class,
web show this error:
ReflectionException in Container.php line 741:
Class api.router does not exist
and,composer update is show Class api.router does not exist
I don't know what's wrong,Thanks in advance!
Contributor guide
Research direction
Start with config/app.php and reproduce the Class api.router does not exist error in the web request and during composer update. Inspect the reported failure at Container.php line 741; the issue is complete when both commands resolve api.router without the ReflectionException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- laravel, php
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100