Support the ongoing development of Laravel.io →

[DOUBT] $user->save() VS User::where()->update();

Hi all, I am beginner in Laravel. I have some doubts. I'm working on a function to edit users, every...

0 Likes
4 Replies
Solved
posted 11 years ago

hasManyThrough relation

Is there any way to get all relational data with hasmanyThrough of third model that has many records...

0 Likes
1 Replies
posted 10 years ago

hasManyThrough with two belongsToMany

Hi there, company id name users id name roles id name company_user company_id user_id role_u...

0 Likes
1 Replies

Has Many Through Pivot

Imagine: Category can have many Products, Products can have many Series - so basically, Category can...

0 Likes
1 Replies
posted 10 years ago

Help with Eloquent relationships

I have the following tables products variants attributes options option_variant Look at this sqlfidd...

0 Likes
1 Replies

Did I find a bug in Eloquent? ID is not being set correctly using a hasManyThrough relationship and paginate.

Hi there, I have the following three models and relationships set up. class Customer extends \Eloque...

0 Likes
2 Replies
posted 10 years ago

Form displayed as plain text

Hi, I try to open a form. But the browser simply display the code not a form; {{ Form::open('url'=&g...

0 Likes
1 Replies
Solved

Missing artisan after `composer install`

I have an existing project that I'm setting up on a new machine. Of course artisan is gitignored. Ru...

0 Likes
4 Replies
Solved

view does not find css,img,js from public

Hello, I have strange situation, when i have route like this: /* index */ Route::get('/', array( 'a...

0 Likes
6 Replies

Ecommerce With admin panel

hi can anybody help me to built shopping cart with admin panel or is there any reference link where...

0 Likes
3 Replies
posted 10 years ago

Mail wont send from command

Hi All, When I run the below code via an artisan command it fails also fails via controller ??? Mail...

0 Likes
1 Replies
Solved
posted 10 years ago

zError on third step of installation???

Following direct instructions fro Team Treehouse videos - The Virtual box and Vagrant installed fine...

0 Likes
1 Replies

How can I do this SQL query whit Eloquent?

Hello, Im new whit laravel, and I would to like do this query, in SQL it would be something like thi...

0 Likes
3 Replies
Solved

Mail not sending

See this bin file: http://laravel.io/bin/XO0eO thanks for your help!

0 Likes
8 Replies
posted 10 years ago

Advert Management package for Laravel (requesting DrPrez)

Are there any Laravel packages that are specifically for advert management? If not, what would be th...

0 Likes
1 Replies
posted 10 years ago

How to create an custom exception for route ?

My route use where() to custom input url Route::get('article/{id}', 'ArticleController@getIndex')-&g...

0 Likes
7 Replies
Solved
posted 10 years ago

Arrays in .env file are NOT being honored.

Take for instance .env.local.php: return array ( 'Foo' => array('a', 'b', 'c'), ); Result of t...

0 Likes
1 Replies

laravel Controller method not found in route::controller

i'm using Route::controller to view and edit form. in this action laravel say : Symfony \ Component...

0 Likes
1 Replies

3 table relationship question

I am trying to figure out how to get a specific 3 table relationship working. I have a business list...

0 Likes
3 Replies

The best way to pagination ?

I try to find the to make paginate with out use a lot of process on database like, select all() and...

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.