Support the ongoing development of Laravel.io →

297 Threads

Singleton unexpected behavior ?

I have a service provider that I use to share variables in views. Now I need to be able to use a var...

0 Likes 0 Replies
posted 5 years ago

Target [Aws\Common\Credentials\CredentialsInterface] is not instantiable while building [Aws\S3\S3Client].

Hi, I have my provider "S3ServiceProvider": <?php namespace App\Providers; use Illumin...

0 Likes 1 Replies

I think there is a better way to do what I am doing. Programmatically populating a dashboard nav with Models

So I am attempting to create a basic CMS in Laravel as a sort of pet project. I am coming from a wor...

0 Likes 0 Replies
posted 5 years ago

Dependency injection in `FormRequest` subclass?

Is it possible to use dependency injection in the FormRequest subsclass?

0 Likes 2 Replies

Provider Wrapper

Good afternoon! My goal is this: I want to be able to quickly writeup a class that defines the metho...

0 Likes 0 Replies

How to start a plugin system?

Hi! I would like to build a plugin system, any suggestion how to start?

0 Likes 0 Replies
posted 6 years ago

How to Bind abstract class To Implementations

i'm trying to implements Repository Pattern with some Services package which encapsulates the busine...

0 Likes 0 Replies
posted 6 years ago

How to understand IOC container of laravel?

I want to know about laravel IOC container. Please explained me!

0 Likes 0 Replies

Illuminate Changes

Hey guys, If i ever change some files like Illuminate\Foundation\Auth\AuthenticatesUsers, are they g...

0 Likes 0 Replies

Customize sendSwiftMessage() Laravel Swiftmailer function

Hello everyone! I would like to know how I can override/customize sendSwiftMessage() protected funct...

0 Likes 3 Replies

Scheduled tasks in packages with v5.2

Here is some code to help understand the problem. I am trying to have independant package registerin...

0 Likes 1 Replies

Laravel Wizzy - A laravel installation wizard

Hi everyone. I've created a new repository: https://ilgala.github.io/laravel-wizzy/ It's a laravel i...

0 Likes 0 Replies
posted 6 years ago

"Unresolvable dependency resolving" by itself

I've started getting "Unresolvable dependency resolving [Parameter #0 [ <required> array...

0 Likes 1 Replies

Redis Websocket Questions

I've recent gone through a couple tutorials on getting websockets working in laravel. I chose to us...

0 Likes 0 Replies

Unresolvable dependency resolving [Parameter #3 [ <required> $emailView ]]

Hi All When I click on the forgotten my password link i get the error below Unresolvable dependency...

0 Likes 0 Replies

ServiceProvider $defer=true;

Hello! I created some services to my application and i have problem to load this services... First,...

0 Likes 0 Replies

How to inject the Mock object into an initialzed class while doing integrated tests

I have a controller end point that utilizes Guzzle I have written a wrapper around the Guzzle Client...

0 Likes 0 Replies

how to to interact with response, before it is sent

Is there anywhere in the app life cycle in which I can interact with the response given from a route...

0 Likes 2 Replies

extending Laravel 5.2 Illuminate\Routing\Router

i want to add custom methods to my application router. Route::get('email', 'Auth\[email protected]

0 Likes 3 Replies

Is it possible to inject an interface into Laravels Kernel.php?

I am currently refactoring my Laravel 5 project in order to make use of the Repository Design Patter...

0 Likes 1 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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

Your logo here?

Laravel.io

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

© 2022 Laravel.io - All rights reserved.