Support the ongoing development of Laravel.io →

Laravel relationship

I need help writing a query in eloquent from three tables, where fields table, field_value and users...

0 Likes
0 Replies
posted 11 years ago

Redirect adds hash of previous url

Hi, just messing with some facebook auth and noticed that on the request before i Redirect::to( '/'...

0 Likes
4 Replies

4.1 to 4.2 update cant return a simple hasmany object from db gives error!

I am simply just doing this $me = \Auth::user(); return $me->program()->get(); GIVES me; Inva...

0 Likes
1 Replies
posted 11 years ago

Migrations and logical view

Hi, into a migrations file, is it possible to define a logical view creation? or just only normal ta...

0 Likes
0 Replies

I have a lot of form fields on my html page, so how can i quickly map each form field name to its corresponding table column, and insert it that way?

I have a lot of form fields on my html page, so how can i quickly map each form field name to its co...

0 Likes
2 Replies
posted 11 years ago

Issue when upgrading to laravel 4.2

Hi, after upgrading to 4.2 artisan gives this error "Argument 1 passed to Illuminate\Mail\Maile...

0 Likes
1 Replies
Solved

Conditionally changing SMTP Mail settings (host, username, password).

Needing to redeclare the configuration settings when sending just one particular mail in the app. Wo...

0 Likes
3 Replies
Solved

Request::segment from another uri

I'm creating an API in which routes are already made like: Route::post('/keyword/{keyword}/{page?}',...

0 Likes
0 Replies

Acces controller methods from View

Is it possible to acces controller methods from View ?

0 Likes
3 Replies
posted 11 years ago

How do you handle dynamics route?

Hi, As I said in another post I'm trying to do my own CMS. I have several articles in my db, each ar...

0 Likes
2 Replies
posted 11 years ago

Unexcepted behavior : File::exists

Hi everyone, I'm currently working on a theme engine for a project of mine and while checking if the...

0 Likes
0 Replies

How to load models?

I have a model like this: namespace Models; use Eloquent; class Sites extends Eloquent { public...

0 Likes
2 Replies
Solved

Password reset based on mobile number instead of email

Newbie alert! :-) I am sitting with a unique problem where multiple users for my application may be...

0 Likes
0 Replies
posted 11 years ago

Missing 0-index for selectMonth() and selectYear() form helpers

Hi Guys, Just a little heads for those who may have experienced this issue: I usually add a default...

0 Likes
0 Replies

database relationship

hi i have multiple categories and each category has many posts, i want fetch 4 last posts for each c...

0 Likes
0 Replies

Using "has" to query on pivot table (aka join table)

I've seen some threads that are potentially similar (e.g. http://laravel.io/forum/05-01-2014-eloquen...

fakhriahmedoff liked this thread

1 Likes
2 Replies
posted 11 years ago

Doubt about error while updating a table with model configuration set as timestamps = false.

Hello guys, first post here. :) So today I created a new table on the project I have been working fo...

0 Likes
0 Replies

Error display

How I can display a better error for development than the "Whoops, looks like something went wr...

0 Likes
2 Replies
Solved
posted 11 years ago

View using PhpEngine - am I doing it right?

Hi! First of all, I love Blade, really! But I'm meaning about PhpEngine. Secondly, English is not my...

0 Likes
4 Replies

Homestead YAML Error

I am setting up Homestead on my Windows OS and continually get this error: ==> default: /vagrant/...

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