Support the ongoing development of Laravel.io →

4,606 Threads

How to paginate this complex database query

$search = DB::select('SELECT * FROM (SELECT * FROM product WHERE MATCH...

0 Likes
1 Replies

Relationships return recursion

Hello. I have 3 models and controllers: images -projects -categories And in ProjectControllers I h...

0 Likes
0 Replies

pagination is not working in my Laravel 5

Hello in official help here http://laravel.com/docs/5.0/pagination stated that it is possible to...

0 Likes
7 Replies

question about eloquent relationships

Hey guys! Firstly i want to say sorry about my english it's not my native language. I have a little...

0 Likes
3 Replies

custom auth and hashing with md5 laravel 5.1

I am new to laravel. I try to create login/register from an existing datas. in my datas users: usern...

0 Likes
0 Replies

Eager loading from a list of user IDs (Haversine)

I have to optimize a Haversine query that's got an odd syntax and can't be addressed by the usual _m...

0 Likes
2 Replies

CSV File Upload

Hi, I'm just new in using laravel 5 and I'm having trouble solving my CSV File Upload codes. I need...

0 Likes
1 Replies
posted 9 years ago

Database config change on the fly

I want to connect to a different database, while the process is going on. According to the design, I...

0 Likes
1 Replies

Users table - Check for duplicate IP address

I run a non-commercial file sharing site powered by Laravel. Currently, users IP addresses are recor...

0 Likes
3 Replies
Solved

How to read from another database?

I have set up this in database.php 'testdb' => [ 'driver' => 'sqlsrv', 'host' => env(...

0 Likes
0 Replies

Eloquent delete record by id

Hey, I'm trying to remove a record by unquie id using eloquent this is my first ever project in lara...

0 Likes
3 Replies

How to remove duplicate values from a multi-dimensional Array

Hi, I am in efforts to get unique value to show in View Blade , I need to print Country Name single...

0 Likes
1 Replies
Solved

3 Tables on 1 view

How to add 3 tables data on 1 view ??

0 Likes
1 Replies
Solved

Query Scope

I am attempting to create a query scope since it gets called various times in the app so my first at...

0 Likes
2 Replies
Solved

Select Raw inside Eager Load Constraints - Relationship problem

Hi, I need some help with eloquent relationships. I have a 'User' table having two columns: 'latitud...

0 Likes
0 Replies

history table

So I have a database full of hardware components. I am willing to implement a function in which if t...

0 Likes
0 Replies

Issue: Foreign Keys and migrations

I am currently receiving the following error when I run my migrations: SQLSTATE[HY000]: General erro...

0 Likes
3 Replies

Laravel delete query Exception issue. Please help

I have added 2 categories i.e is "high school" and "lower category school". i ha...

0 Likes
6 Replies
Solved
posted 9 years ago

Delete record and its related records

Hi to all, i'm new in laravel :). I need to delete one row and its related records. In my case, i ha...

0 Likes
0 Replies

Searching joined vertical table

I'm looking for a little help. I have two tables. One is a standard table where I can search for the...

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