Support the ongoing development of Laravel.io →

4,606 Threads

Porting vanilla PHP project to Laravel - how to structure controllers/models

Hi, I've just started porting my vanilla PHP gastropod simulation project to Laravel and had some qu...

0 Likes
5 Replies

Call to undefined method Illuminate\Support\Facades\Response::newQuery()

Hi, I kept getting this error "Call to undefined method Illuminate\Support\Facades\Response::ne...

0 Likes
3 Replies
Solved
posted 10 years ago

Got error when log out

Hi I got a problem for my developed website, each time I try to log out it always got error. it show...

0 Likes
3 Replies
Solved

SOLVED: Create DB users with Forge

Hi. When I login to Navicat and try to add a new user to access a specific database, I cant seem to...

0 Likes
0 Replies

Eger loading morphs

I have a Notification which implements public function notifiable() { return $this->m...

0 Likes
1 Replies

Slug - Generator Help

I am searching for a slug generator and found many but all have unique : true/false where what I nee...

0 Likes
6 Replies

Advice on related models

Hi All, I am trying to achieve the following structure in my Laravel application and I need some adv...

0 Likes
1 Replies

table with a timestamp field

Hi.. I'm newbie to php/laravel.. I have created this table.. CREATE TABLE confirmtokens (...

0 Likes
2 Replies

Rename Column and Change Type

Hi, Is there any way to change the column type and rename it. I know it's foolish to be changing the...

0 Likes
0 Replies

n level hierarchy relationship in laravel 4 of database

how we can find n level hierarchy relationship in laravel 4 of database. like parent and child relat...

0 Likes
5 Replies

Eloquent simple joins

I have 3 tables: Users, Tasks and Records. Users have many tasks Tasks have many records. I'm trying...

0 Likes
2 Replies
Solved

ORM where fields have same value with related model field

I have model a with column name value_a and model b column name value_b. model a have hasOne relatio...

0 Likes
1 Replies

Insert dynamic form data via model

Hello, i want to insert dynamic forms into the database. Database table : ID | DEPARTMENT_ID | CATEG...

0 Likes
0 Replies

Raw SQL to Eloquent

Is it possible to translate this UPDATE `questions` SET `sort` = CASE `ID` WHEN '1' THEN 0...

0 Likes
1 Replies

Database query user meta table.

I am building a filtering system which allows a user to filter other users via setting up some varia...

0 Likes
0 Replies

eloquent ORM in RDBMS comparision

Hello! I am about starting my thesis, I have made an laravel application with eloquent ORM/mySQL now...

0 Likes
0 Replies

Using Eloquent with the IoC Container

I have what will likely be a very simple issue to solve for an advanced Laravel user regarding how t...

0 Likes
0 Replies

DB::select and raw not returning model instances?

Hi guys, So I am trying to run this complicated SQL query: $eastern_standings = DB::select(DB::ra...

0 Likes
1 Replies
Solved

Validate password reset token after expired

How do I validate the $token against password_reminders if the token exist or before it's expired an...

0 Likes
0 Replies

laravel 4 advanced routeing not happening on dynamic urls

//do any one have any idea how to solve this advanced routeing problem // the foreach loop which is...

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