Support the ongoing development of Laravel.io →

4,608 Threads

Eloquent Query - Relation between tables

Hi ... I need to make an appointment and I'm not sure how to do it. I need to know which model1 is r...

0 Likes
1 Replies

how to do a geolocation

hi i have a table with Business and for all biz i have a latitude and longitude i have the latitude...

0 Likes
1 Replies

Using Illuminate/database outside of framework

I am trying to use the package with my CodeIgniter project by following the instructions given in re...

0 Likes
2 Replies
Solved
posted 11 years ago

User row fullname

The users wants to query by fullname. The table stores firstname and lastname as separate fields. Ho...

0 Likes
8 Replies
Solved
posted 7 years ago

Seeding with faker in a module

I am using https://github.com/nWidart/laravel-modules and have a module Cars. In CarsDatabaseSeeder...

0 Likes
0 Replies

Working with spatial columns in Eloquent model

Hi, I'm working with Laravel 5.5 and MySQL 5.7 and I have a table that stores travels data with orig...

0 Likes
2 Replies
posted 7 years ago

Catching exception on a DB transfer

Hi All, I'm trying to write a console command to transfer an old user DB to a new one. My code is be...

0 Likes
1 Replies

Long Running DB Job Queue timing out. Laravel 5.4

Have the timeout for the queue set to 2400 tries 1 and I've set the process command timeout to 2400....

0 Likes
2 Replies

Default data base structure for laravel

Hi all, I'm new here and the questions I have very simple, though I couldn't find the answer. All I...

0 Likes
5 Replies

save log data into mysql instead of laravel.log

i created middleware for logging api request and response ,but i want to log it into mysql table.how...

0 Likes
0 Replies

eloquent palying with some null and other stuff related to date & time

Hello, In my work I regularly played with date & time with some date start & end (or valid f...

0 Likes
0 Replies

php artisan - unknown table no matter which command I run

For some reason whenever I run any php artisan command I get an error saying one of my tables doesn'...

0 Likes
4 Replies

load more btn in laravel 5.4

Hi, I have theme installed in my laravel project and I convert it to dynamic but there a problem in...

0 Likes
0 Replies

HasMany relateships errors and cant access my data which is related to

Hello, first of all sorry for my bad english.. I have a problem with model relationships, i cant acc...

0 Likes
0 Replies

Multitenant with Multidatabase Auth Problem

[ASK : Multitenant with Multidatabase Auth Problem] fyi: i'm using redis as session management and w...

0 Likes
1 Replies
Solved
posted 7 years ago

cannot use methods from DB class

hi, im starting to use laravel 5.5 i would like to make a query by query bulider. i cannot use stati...

0 Likes
4 Replies

4 tables relationship?

Hello people! I am very new to Laravel and watched some videos but pretty confused about Eloquent re...

0 Likes
3 Replies

Datatables With Checkbox

How could I have Datatable with checkboxes for selecting rows and storing the selected rows to the d...

0 Likes
1 Replies

Laravel Basic Auth multi Tenant Method

Hi, in my Project i use the Laravel Basic Auth method. But now i need to change the auth method. The...

0 Likes
3 Replies
posted 7 years ago

Column "migrations.id" has unsupported type "serial"

Hey guys, I am using PostgreSQL for my project but I get this error when I migrate process. aldebara...

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.