Support the ongoing development of Laravel.io →

4,608 Threads

Updating a model with relationship is giving me pain

I have users table and a profiles table structure is: users table has following fields id, name, em...

0 Likes
3 Replies

leftJoin with pagination

Hi! Has anyone here been able to do a leftJoin with pagination? If so what is the correct method? I...

0 Likes
1 Replies
posted 8 years ago

Connect laravel 5 to AWS RDS with SSL

Original post: https://stackoverflow.com/questions/38710723/connect-laravel-5-to-aws-rds-with-ssl I...

0 Likes
0 Replies
posted 11 years ago

How to create temporary table?

I hope someone can teach me how to create a temporary table . I'm using laravel 4. CREATE TEMPORARY...

0 Likes
2 Replies
0 Likes
0 Replies

Auth::attempt() always fail (using Database) in laravel 5.2

AdminController.php public function checkLogin(Request $request){ $validator = Validator::make( a...

0 Likes
0 Replies
posted 10 years ago

Import .sql-file into database

Hi, is there an easy way to import a .sql-file into the database? It just should import the file, no...

0 Likes
7 Replies

NotFoundHttpException in RouteCollection.php line 161

I am learning Laravel by doing a self-exercise. Basically what I want to achieve is the parameter ‘i...

0 Likes
0 Replies

Best way to update user activity

Ho to update user activity? Check if current user is online It is a solution, but update on each pag...

0 Likes
0 Replies

Get result from chunk

Hi All, I have around 500,000+ records on my database and fetching it using the laravel query builde...

0 Likes
2 Replies

Narrowing by a column of ManyToMany related table

Tables are here. Table | Columns Article | id, [others] Article_Tag | id, article_id, tag_id...

0 Likes
2 Replies

Routing Question...

Quick question, I am doing a form post to my database. After I got it working but after i split up m...

0 Likes
0 Replies

How to show checkboxes as checked when values are set in the database

I really hope someone can help, I'm setting up entrust and trying to manage roles via an edit users...

0 Likes
7 Replies
Solved

Don't know how to manage in laravel this database reality

I have this tables: admins places grants Each Admin has 0-N Place. Each Place has 0-N Grant. So we h...

0 Likes
0 Replies

connect to multiple DB

I want to switch between DB connections. Because I have the authentication DB which laravel set to a...

0 Likes
1 Replies

date_format?

How do I use date_format? I can't figure out how to format a date from YYYY-MM-DD that's stored in m...

0 Likes
9 Replies
Solved

json in the view

I have 2 models: "user", "comment". comment have relation to user public functio...

0 Likes
1 Replies

How to: Iterate through record from DB

Hello! I have actors collumn in movies table and all actors are saved in following way: actor1, acto...

0 Likes
4 Replies
Solved

Request input

Hello every one, I am creating Rest Api using Laravel and i have some problem regrading Request inpu...

0 Likes
0 Replies
posted 11 years ago

Normal foreign key error:

I have brand new database and i want to make a normal foreign key relationship now i get the error:...

0 Likes
5 Replies
Solved

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.