Support the ongoing development of Laravel.io →

388 Threads

Error when trying to eagerload

Hello, can anyone help? I have an error that states "Maximum function nesting level of '100' re...

0 Likes 0 Replies

banned from chat

Hello, I was bored one night and thought it'd be fun to be an idiot in the chat. Due to this, I was...

0 Likes 2 Replies

Laravel Dependency Injector Plugin

#intro Hey Guys, we created a laravel dependency injectorr for Dependency Injection Pattern. github...

0 Likes 1 Replies

Session class doesn't work into my Facade

Hello, I've just create my own Facade and I'd like to handle sessions in my method, But when I try t...

0 Likes 5 Replies
Solved

Class injection variable name convention

I was hoping to get some feedback regarding a potential convention for injected class variable names...

0 Likes 0 Replies

Multiple bindings in a Service provider

I have created a custom service provider to bind interface to a eloquent repository: <?php name...

0 Likes 6 Replies
Solved

Creating Wrappers - Integrating Vanilla PHP into Laravel

I've done some vanilla PHP integration in the past (jQuery file uploader's backend), but it was most...

0 Likes 1 Replies

Creating and using models

For months, I've been placing all my logic in my controllers. Today, I would like to steer clear of...

0 Likes 1 Replies

Using IoC in packages

I am currently in the process of developing a package. In this package I would like to use the IoC c...

0 Likes 3 Replies
Solved

Testing and usage of the Ioc Container

I'm quite new about testing. I'm wondering what is the best way to make my classe testable. Is it be...

0 Likes 1 Replies
7 years ago

Repository pattern and Object instantiation

Hello I have recently implemented the repository pattern using Jeff Ways ace tutorials at Laracast....

0 Likes 4 Replies
Solved

ioc or parameters?

hi, i would like to ask you how would it be better to resolve dependencies. i'm not really sure to u...

0 Likes 2 Replies
Solved

larave怎么编写可以在线安装的功能模块包?

想onethink那种,制作功能模块包,然后放一个目录中,就可以自动检索,然后点安装后就可以使用

0 Likes 1 Replies

larave怎么编写可以在线安装的功能模块包?

想onethink那种,制作功能模块包,然后放一个目录中,就可以自动检索,然后点安装后就可以使用

0 Likes 1 Replies

Split up a controller into multiple files

Hi, I have an admin controller containing every method used in my administration panel. This file is...

0 Likes 2 Replies

Pattern for logging user actions

I'm trying to log all actions that users do (login / logout / CRUD) to a logs table in my database,...

0 Likes 0 Replies
7 years ago

Service provider to return a NON-singleton class

Hi, Is there any way I can create a service provider to return a non-singleton class? I want to use...

0 Likes 0 Replies

Class 'Symfony\Component\Routing\Route' not found

I have created a game page and trying to run in command prompt "php artisan serve" as well...

0 Likes 0 Replies

When to use bind or bindShared in service providers

Hi, While digging through the Laravel service providers I noticed that some providers use bind() and...

0 Likes 1 Replies

Command bus

I really like the look of https://github.com/LaravelIO/laravel.io/tree/nextVersion/src/CommandBus I...

0 Likes 0 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.

© 2022 Laravel.io - All rights reserved.