Support the ongoing development of Laravel.io →

256 Threads

How to load model only for exact controller?

I have lots of models which is not needed in every controller. Is it possible to load only needed mo...

0 Likes
2 Replies
Solved

What is the difference between share and bind in the IoC?

Friends, I'm a few confused with some terms about IoC. With facades declarations sometimes I saw the...

0 Likes
2 Replies
Solved

Lost with MessageBag and validation errors

I have a repository EloquentPageRepository that creates and saves pages. I have an Observer than is...

0 Likes
2 Replies
Solved
posted 9 years ago

Repository function parameters, id vs object

Which is considered best practice, passing an object to repository function or object ID? class User...

0 Likes
7 Replies
Solved

One sample application for IoC, Facades and Services Provider

Please, anybody could explain the IoC, Facade and Services Provider with a short example? I have see...

0 Likes
4 Replies
Solved

Add additional filter class to composer package

I use this package in my project https://github.com/tappleby/laravel-auth-token I want to add an add...

0 Likes
5 Replies
Solved

[API] Best way of finding the class or method for learning purposes

Hi, I am still in the progress of learning Laravel and I already used the api. The only thing I miss...

0 Likes
1 Replies
Solved

Artisan error

When I try to run php artisan I have this error "error":{"type":"Symfony\\...

0 Likes
2 Replies
Solved

Better IoC design pattern?

I have finally got my head around IoC (thanks to Jeffrey and Laracasts :) ) and I'm now looking to a...

0 Likes
2 Replies
Solved

Pros and Cons of Laravel + Angular

I am in the planning stage of rebuilding our company CMS and we will definitely be using Laravel, bu...

0 Likes
11 Replies
Solved

How to get a model from a package ?

Hi all, How do I reuse a model I created in a package right in the root application ? Thanks :-)

0 Likes
4 Replies
Solved

Where to place the logic to work with models?

Hello! Where, in your opinion, is better positioned to work with logic models. Working with models i...

0 Likes
3 Replies
Solved

Best way to handle "too many" injections?

I'm in the midst of building a pretty large website with a lot of different content on each page. I...

0 Likes
3 Replies
Solved

Auto-loading issue

I have an issue with autoloading appearing to work fine on my local machine but not on our server. I...

0 Likes
1 Replies
Solved

push to a specific queue

I really wondered the way Laravel implements the queue component ; I do know how to configure and de...

0 Likes
2 Replies
Solved

escape public directory in Url

Hello guys. How i can ignore begining public word from url ? i moved index.php and htaccess file to...

0 Likes
3 Replies
Solved

Laravel Base Controller

Hi folks, I'm trying to create (kind of) a base controller for some controllers. There are different...

0 Likes
3 Replies
Solved

The service provider is not registered automatically

Hi guys, I'm using "Sharel4" (http://packalyst.com/packages/package/thujohn/share) package...

0 Likes
1 Replies
Solved

Cleaning up my controller

Hey guys, I have this working controller, that I would like to clean up if possible, since i am sure...

0 Likes
3 Replies
Solved

Meta Data store suggestion

I am trying to create an application that would store lots of meta data for a user and the same meta...

0 Likes
2 Replies
Solved

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.