Support the ongoing development of Laravel.io →

388 Threads

Is always needed to return something in ServiceProvider::provides() method?

Hi. I's a simple question. If I have something like this in my service provider: public function boo...

0 Likes
3 Replies
Solved

Alias service class to service class

I'm using https://github.com/kristijanhusak/laravel-form-builder for my forms. It creates 2 services...

0 Likes
1 Replies
Solved

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

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 7 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 7 years ago

Dependency injection in `FormRequest` subclass?

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

0 Likes
2 Replies
posted 10 years ago

Artisan Commands and Exceptions

I have an artisan command with a fire() method that looks something like this; public function fire(...

0 Likes
2 Replies
Solved

Route Model Binding with Repositories

Hi, I have an application where there are multiple subdomains (portals) running from a single instan...

0 Likes
4 Replies
Solved

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 modify $app at runtime?

Hi! i would like to dynamically change a path in my laravel 5.3 app from a middleware. How can I acc...

0 Likes
6 Replies
Solved

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 8 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 8 years ago

How to understand IOC container of laravel?

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

0 Likes
0 Replies

Dependency injection + ServiceProvider with custom class?

I'm having trouble understanding best practices for using dependency injection with my custom classe...

0 Likes
6 Replies
Solved

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 8 years ago

"Unresolvable dependency resolving" by itself

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

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.

© 2024 Laravel.io - All rights reserved.