Support the ongoing development of Laravel.io →

297 Threads

Http Client with proxy working only on first request

Make a get request to some URL using the \Illuminate\Support\Facades\Http with a proxy setup; The r...

0 Likes 0 Replies

Is it appropriate to use the Container as a factory?

I'm working on a Lumen API, and my current task involves a service that involves multiple possible i...

0 Likes 0 Replies

Laravel IoC

Hi I am new to laravel IoC. Can you please suggest me a good tutorials/references to learn IoC from...

0 Likes 1 Replies

Broadcasting Driver Not Working in Lumen

I've created an SNS driver for the Broadcasting package that works well in Laravel. However, I reall...

0 Likes 1 Replies

Lumen 5.5 - Testing and mocking repositories

Hi all, I am having a hard time to test my rest api app, I think the main reason is because of https...

0 Likes 0 Replies
8 Feb, 2015 at 07:10

Laravel 5 Service Provider not working

Am getting this error message: Target [App\Repositories\UserRepositoryInterface] is not instantiable...

0 Likes 11 Replies

Get list of Installed Packages

Is there any way to get installed packages as a list of their names or by passing a specific package...

0 Likes 5 Replies

useStoragePath in AppServiceProvider

Laravel Version: 5.4.33 PHP Version: 7.0.22-0ubuntu0.16.04.1 Database Driver & Version: 10.1.25...

0 Likes 0 Replies

Controller - Service - Repository architecture

Hi, I am just refactoring my code to follow some common patterns in application development. The pat...

0 Likes 25 Replies

Making a service provider but want to inject the Database service into it

So Ive learned how to make simple service providers that call a helper method from a helper folder....

0 Likes 2 Replies
27 May, 2017 at 06:59

Route Controller and Contextual Binding Laravel 5.4

My route is Route::resource('product', 'Product\ProductController'); My ProductController...

0 Likes 0 Replies

Multiple classes behind one facade

Facade namespace App\Webshop\Facades; use Illuminate\Support\Facades\Facade; class Webshop extends...

0 Likes 0 Replies

RuntimeException - The only supported ciphers are AES-128-CBC

I've already have key generated in my .env file. This exception occures when i do refresh my web pag...

0 Likes 0 Replies

Laravel 4.2 Elasticsearch - Failed to connect to localhost port 9200: Connection refused?

Windows 10, OpenServer, Laravel 4.2, Elasticsearch 1.0 Controller: public function searchUser()...

0 Likes 0 Replies

Elasticsearch, Laravel 4.2 ERROR - Unresolvable dependency resolving [Parameter #0 [ <required> $retries ]] in class Elasticsearch\Transport?

Wrapper namespace App\Services; use Elasticsearch\Client; class Elastic { protected $client;...

0 Likes 0 Replies
21 Apr, 2016 at 06:06

How to use a custom UrlGenerator implementation in the RoutingServiceProvider ?

Hello ! I want to use a custom UrlGenerator implementation in my application. How it is possible ? I...

0 Likes 1 Replies

Article - Unboxing Laravel Authentication

http://asklagbox.com/blog/unboxing-laravel-authentication A look at the pieces of the Authentication...

0 Likes 0 Replies

Article - "Realtime" Facades in Laravel 5.4

http://asklagbox.com/blog/laravel-realtime-facades We're off to see the wizard.

0 Likes 0 Replies

Setup Vimeo API?

I do not understand how to connect that api to my project. Vimeo account -> created. Vimeo APP -&...

0 Likes 1 Replies

custom fields when throw Exception

Hi, I want to throw exception in my controller. I use this code: abort(404, 'user not found') I wan...

0 Likes 2 Replies

Thanks to our community

Solutions given in the past year.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2021 Laravel.io - All rights reserved.