Support the ongoing development of Laravel.io →
posted 12 years ago

Chaining hasMany relationships

Let's say a school has many teachers, and each teacher has many pupils. Is there an easy way of retu...

0 Likes
6 Replies
posted 12 years ago

How link packages with project ?

When I use composer to download packages , I saw these package in folder vendor , the question there...

0 Likes
0 Replies

from QueryBuilder query to EloquentORM query

Hi, In my model I have users. Each user may have some roles. Each role have some allowed activities....

0 Likes
0 Replies

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

Installing laravel on my ubuntu 13.10

Hi I try to install laravel 4 on my ubuntu 13.10 using the laravel command but when i palce the lara...

0 Likes
4 Replies

Default value for all Eloquent attributes

Hi, I'd need to set a default value for any Eloquent model attribute. So, for example if I try to ge...

0 Likes
6 Replies

Jquery auto-complete - bridge table - best practice.

This is a noob question but I hope you can help. I have a table of reference data (places, events, p...

0 Likes
0 Replies

Laravel Pagination in eloquent ORM with()

have used pagination in laravel and that time the query is very simple. So I have manage to work on...

0 Likes
0 Replies

Getting 'undefined method error for orderBy()' on new repository

With the help of some nice folks over on Reddit I was able to get most of my controller functionalit...

0 Likes
1 Replies

Structure of directories when namespacing

So I'm just starting to use namespacing and I'm I would like to know the recommended method for stru...

0 Likes
0 Replies
posted 12 years ago

Guardar Usuario

public function store() { $input = Input::all(); $validation = Validator::make($input, Usuario::$rul...

0 Likes
1 Replies

Is it possible to set properties to the authenticated user?

In the User model, I've created a property called groupMembership and a method called setGroupMember...

0 Likes
3 Replies
posted 12 years ago

Where to put XML parser?

Hello, In my project, I have to send SOAP requests to a remote webservice. I then use the XML respon...

0 Likes
1 Replies

Relation with dynamic entity

Hello guys, I got this big question on this scenario: I'm building a easy post and comment system, b...

0 Likes
2 Replies

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

How do I get the laravel framework working

Hello so I have laravel on my localhost and there is a bomb of random files which i don't fully unde...

0 Likes
0 Replies
posted 12 years ago

getDateAttribute() is swapping year and day around when Saving to the Database

Retrieving a datetime field which is YYYY-MM-DD and I need to display it as dd/mm/yy. So I am using...

0 Likes
4 Replies
posted 12 years ago

Form::select default value LV 4.1

Hi I have a strange problem. Welll im using Form::select and supply it with data. Then te Form::mode...

0 Likes
0 Replies
posted 12 years ago

Dynamic route prefix

Hi, how can I make dynamic prefix for all routes in Laravel? I want something like /{model_id}/contr...

0 Likes
1 Replies

404 URLs create error logs

When users browse my website on their iPhone's Safari, it will automatically request for many variat...

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.

© 2026 Laravel.io - All rights reserved.