Support the ongoing development of Laravel.io →

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

One model, Varying behaviors

I'm creating a CMS portion of a more complex application. The CMS portion contains "Courses&quo...

0 Likes
5 Replies
Solved

checkboxes in form::model

I set up a migration to include a boolean value in my model (using the boolean() method). That trans...

0 Likes
0 Replies

Listify Package on a Pivot Table

I'm trying to use the Listify package on a pivot table. Listify simply manages an integer column pos...

0 Likes
0 Replies

How to load assets (css/js) from vendor/package folder?

I added kartik-v\bootstrap-star-rating package via composer and I want to load its css and js assets...

0 Likes
7 Replies
posted 11 years ago

Pagination Call to undefined method Illuminate\Database\Query\Builder::links()

Hi i have the following action in my controller (LanguagesController) public function index() { $l...

0 Likes
1 Replies
posted 11 years ago

Password Reminders & Reset has now subject in the email

I tried to open an issue but couldn't find where. It may be not such big deal, but when a user sees...

0 Likes
2 Replies
Solved
posted 11 years ago

How to get user attributes from LDAP

Hello everybody, I want to call a class in vendor folder. I use https://github.com/ccovey/ldap-auth...

0 Likes
1 Replies
Solved

Relationship Query

Is there any place that shows real world examples of Relationship querys and fetching associated dat...

0 Likes
5 Replies
posted 11 years ago

Multiple aggregates in one query

How would I do "SELECT Count(*), Min(some_field), Max(some_field) FROM some_table" in the...

0 Likes
2 Replies
Solved

Returning records using withTrashed()

An Owner has many Cars... And in my blade page I have this... {{{$car->Owner->name}}} And tha...

0 Likes
3 Replies
posted 11 years ago

Laracon Community Day

Hey guys I was wondering if it would make any sense to only attend the community day (28th august) f...

0 Likes
0 Replies
posted 11 years ago

Location of resources and namespacing in packages.

My package needs controllers, models and views. I'm confused as to where these should be placed and...

0 Likes
0 Replies

Redirect from a function?

Is it possible to create a redirect from within a function? Say I have a BaseController that all con...

0 Likes
5 Replies
Solved
posted 11 years ago

Returning collections from a given user in the Collections controller

I have an app with users and collections. Both are resources and each user can create collections. I...

0 Likes
2 Replies
Solved
posted 11 years ago

How to customize Pagination url in laravel 4 ?

I am trying to change the URL to make it SEO friendly. i was able to go all the way to the Presenter...

0 Likes
1 Replies

Quick question regarding error handling in restful API

hi, here's the show method of my SiteController, it shows a site resource as a json to any user who...

0 Likes
1 Replies

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

Trait 'Illuminate\Auth\UserTrait' not found

HI i searched Google but did not find anything about this and i never had this error before in Larav...

0 Likes
0 Replies

Whats the opposite of ->associate() ?

I'm trying to figure out the easiest and most effective way up updating hasMany() and belongsTo() re...

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

© 2025 Laravel.io - All rights reserved.