Support the ongoing development of Laravel.io →

4,606 Threads

Have a problem with foreign key, while adding a record into database

Hello, I'm learning Laravel and I'm having a problem with foreign key when I want to add a new recor...

0 Likes
2 Replies
Solved

Not able to trace Source of Variable

Hi, Can someone please help me guiding ways to trace the source from where the variables are taking...

0 Likes
0 Replies

Laravel adding pet abbilities information

My laravel app structed like this: People: Model & Controller Pets: Model & Controller. Has...

0 Likes
0 Replies
posted 8 years ago

How to delete a row that is older than 30 days using MySQL.

Hi there, I have a laravel application using MySQL. I have a table named table and a column called c...

0 Likes
1 Replies

Use the timezone set by the user

Basically when I get the datetime column in my table I want to adjust its date and time base on the...

0 Likes
6 Replies

How can I use sqlsrv driver on Linux platform?

Hi all, I have a problem: can I use sqlsrv driver on my linux distro? In my project the database is...

0 Likes
0 Replies

earth datatype on migration

how to give postgresSql 'earth' datatype on laravel migrations

0 Likes
0 Replies

Checking hashes in database

Hey! For fun, I'm creating an API in Laravel to learn the framework and general new stuff. I have a...

0 Likes
2 Replies

Search by Date Form Google Maps

Hi Im new in laravel and i need help :) I need to create a form which will show a markers on google...

0 Likes
0 Replies

Combine two/three tables in a view

Hello! I have tables products, orders and clients. I want to combine them in one table in the view....

0 Likes
3 Replies
Solved

advance eloquent multiple selection transitive table

I have a table containing multiple artist. While creating an event (updating event table) I need to...

0 Likes
0 Replies

Is there a example model somewhere?

Is there a example model somewhere? All I found is this: laravel.com/api/5.2/illuminate/database/elo...

0 Likes
4 Replies
Solved

Memory usage on long running script

I have a script which pulls data from an API to store in a local database. The data will then be pro...

0 Likes
20 Replies
posted 9 years ago

migrate:rollback with --path

some og my migrations are stored in a seperate folder i can create and execute them by issuing these...

0 Likes
2 Replies

Using both the old codebase and Laravel at the same time

It will take us a long while to rebuild our custombuilt pure PHP/mysql site with Laravel, and the qu...

0 Likes
0 Replies

How to implement database caching inlaravel 5.2

I want to implement database caching in laravel 5.2 If any anyone any idea please share with me...

0 Likes
1 Replies

Date and Time difference

I am trying to achieve the fallowing: In the database i have a start_date , expiration_date, updated...

0 Likes
5 Replies
Solved

Eloquent: Narrow search based off of foreign table.

Hey all! My database call looks like this essentially: $questions = \App\ContentLegacy::with('staff'...

0 Likes
2 Replies

installed laravel on aws but didn't get welcome page

I installed laravel successfully in my html folder, change the database credentials in .env file and...

0 Likes
0 Replies

how to add new fields to an existing mysql table using a form inputs

Hi im trying to add new fields to an existing mysql table using a form inputs . is there an easy wa...

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.