Support the ongoing development of Laravel.io →

Looping over relationship inside foreach

Hi guys, I cannot seem to figure out why this does not work. I want to show the opening hours for my...

0 Likes
5 Replies

Updating hasMany items with ease

While updating an entity model needs to update a hasMany attribute with multiple items. $user->la...

0 Likes
1 Replies

Beginner Needs help

I am trying to update table data.. Here is error I am getting . ErrorException (E_UNKNOWN) Argument...

0 Likes
2 Replies
posted 11 years ago

joining tables

Hello all - I'm looking to create a game scheduler for sports. I have two tables: teams: id name g...

0 Likes
5 Replies
Solved

Eloquent object truncating long text?

Hey folks, I started a Stack Overflow question about this but I thought I'd see if anyone here might...

0 Likes
2 Replies
Solved
posted 11 years ago

login in website

hi,i want write login page .. i have login.blade.php and i have one table 'users' by this column : I...

0 Likes
6 Replies

Polymorphic relationships with FQN

I'm using polymorphic relationships. I've just realized they wasn't working due to fully qualified n...

0 Likes
0 Replies

LARAVEL 4.1 probably issue on select float

Hi guys, on one of my site that i've builded with laravel 4.1, i've something strange with select da...

0 Likes
1 Replies
posted 11 years ago

where the form validator extends laravel

this is code in route Route::post('form-submit', function(){ //get all inputs $inputs = Input::a...

0 Likes
0 Replies

[Auth] Problem

Hello all, i know that this is global problem with the Auth::attempt , but when i saw other peoples...

0 Likes
0 Replies
posted 11 years ago

Laravel + Codecept + beforeFilter

I'm building an app, where there are several subdomains, and I use a beforeFilter to check if the su...

0 Likes
0 Replies
posted 11 years ago

Associating models without saving them directly

The following is just an example:Take the following two models with their relationships User =>...

0 Likes
5 Replies

migrate without composer

i'm working on script the client couldnt use composer how can i excute php artisan migrate without c...

0 Likes
3 Replies
Solved

Using pivot table's id as a foreign key in another table

Hi, I need to use pivot tables id as a foreign key in another table. for example i have following ta...

0 Likes
0 Replies

Valid structure for multi-module applications

Hello, I want to create multi-module application (more than 4 modules - user, admin, manager, guest)...

0 Likes
1 Replies
posted 11 years ago

Eloquent relationship containing where and orWhere constraints?

I am building a site which allows fitness instructors to publish a timetable of classes they teach....

0 Likes
2 Replies

how to use join on more thane 3 table using Eloquent / Convert the above query in Eloquent way

table name ( class name of model ) user ( UserModel ) id, name product ( ProductModel ) id, name, us...

0 Likes
1 Replies

upload file - get filename not working

Hi, Can anyone help me with this. I'm trying to get the file name of the file that I'm going to uplo...

0 Likes
1 Replies

Uploaded File(PDF) move as *.tmp file

Hi, I created an uploaded facility. Kindly see the the view and controller below : VIEW <form...

0 Likes
2 Replies
Solved

Can't execute something in PATH from /public (Heroku build)

Hey all, I've got Laravel running on Heroku and have installed ffmpeg using composer. I can open Her...

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