Support the ongoing development of Laravel.io →

388 Threads

posted 10 years ago

IoC and Service Providers

Hi, I have an object that when instantiated needs some configuration. Params come from my config fil...

0 Likes
4 Replies
Solved

Artisan commands and IoC / reflection / injection etc.

I have created an artisan command that calls on a custom class. My custom class uses reflection to i...

0 Likes
2 Replies
posted 10 years ago

Autoloading files

Hey everyone, I have created a custom folder (for custom classes etc) my autoload class map looks li...

0 Likes
2 Replies
posted 10 years ago

Injecting Data Model (Repository) AND Business Model in Controller?

Hi everyone, I'm building a web application and try to separate the concerns as good as possible. Ho...

0 Likes
2 Replies
posted 10 years ago

Inject dependencies in tests via App::make()?

I'm new to testing and am trying to figure out how to inject dependencies. I am able to inject objec...

0 Likes
1 Replies

Namespacing and Controllers in your 'Acme' folder?

Hi, I'm not sure I'm doing this the right way as it seems very messy. Moving my controllers from the...

0 Likes
9 Replies
Solved
posted 10 years ago

Cant see why my class wont work: Error: Class 'Acme\Something\Awesome' not found

Pastbin is always easier, see http://laravel.io/bin/dm73 For some reason it doesnt find the class, i...

0 Likes
4 Replies
Solved

Laravel 4 Multi Auth with Password Reminder

Hi all , i was created Laravel 4 Multi Auth with Password Reminder :) this the link https://github.c...

0 Likes
0 Replies

Laravel 4 Modules Packages

Hi all, this is my package https://github.com/pingpong-labs/modules please review :D Thanks :)

0 Likes
0 Replies
posted 10 years ago

Best practise for inheriting dependencies

Hi, I have an application design question. Lets say I have multiple providers, that will send me del...

0 Likes
2 Replies
posted 10 years ago

Ramblings : An Introduction

Hello. I am going to use laravel.io as a medium for rambling on my thoughts about programming. Whene...

0 Likes
0 Replies
posted 10 years ago

Using Setter/Getter IoC in Models

I have a setter/getter container that works in my controllers. How can I use the getters in my model...

0 Likes
0 Replies

Is there a way to safely remove custom artisan commands?

I created a "test" class for my artisan command, but now I want to delete it completely,...

0 Likes
1 Replies
Solved
posted 10 years ago

IoC Controller with parameters

I have a Controller's construct like this: [code] public function __construct(Myclass $myclass) { .....

0 Likes
1 Replies

Eloquent models with IoC

I'm using the IoC Container to allow me to run model validation automagically, by binding a User mod...

0 Likes
5 Replies
Solved

Strange error during my script but I can't find the cause

I'm writing an artisan script to download real estate listings images from the state of Florida, the...

0 Likes
3 Replies
posted 10 years ago

ServiceProvider in a folder

Hey, I want to extend Sentry 2 with a new class. I did everything right but i have a problem. If i a...

0 Likes
4 Replies
Solved

Customizing environment config folder location

Is it possible to customize where the system looks for the environment config folder? For instance i...

0 Likes
0 Replies

Issue loading psr-4 ServiceProvider

Hello, I'm getting a class not found exception after creating a service provider for my repositories...

0 Likes
4 Replies
Solved

Foundation and Support packages clarification

Can someone please explain , from a point of good architecture/design why Foundation and Support pac...

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