Laravel 5 - Interface is not instantiable
问题 I know that this question was asked so many times, but none of answers helped me. I'm getting exception in Laravel 5 BindingResolutionException in Container.php line 785: Target [App\Contracts\CustomModelInterface] is not instantiable. What I've done without success: Register App\Providers\AppRepositoryProvider in app.php providers php artisan clear-compiled Everything works if I replace interfaces on repositories in MyService, but I feel that it's wrong (should it be handled by IoC container