Support the ongoing development of Laravel.io →

4,609 Threads

Problems with migrations

In Laravel 5.0 I create a new model "php artisan make:model Product" and laravel's creates...

0 Likes
1 Replies
Solved

Relation issue, Model not found

Hey there, I'm having an issue using relation ships in eloquent. Edit:I'm using Laravel 5.1 I keep h...

0 Likes
4 Replies

Changing column name in array after where statement

Ok, so this might be something really stupid to do, and I'm open to idea's, but is it possible to ch...

0 Likes
2 Replies
Solved

Reseeding MySQL index

When creating a table ("quotations") in a migration I want to set the index start count......

0 Likes
2 Replies
Solved

Problems insert in Sybase int columns using Laravel 5.1

I'm having problems to insert values in tables with integer data type columns using Laravel 5.1 and...

0 Likes
0 Replies

Creating Eloquent Models when having Types and Subtypes (SuperType/Subtype)

I have this database schemathat can be found here I have users that can be either a Business or a P...

0 Likes
1 Replies

homestead queues - supervisor on boot

Hello I'm using homestead as a basis and just started to use queues + database driver I've setup sup...

0 Likes
0 Replies

Massive PDF generation

Hi, I have to realize a system for massive invoices generation. I try to use dompdf,fpdf and other p...

0 Likes
4 Replies

Specific database connection for a route group

I'm looking to see if I can set a different database connection depending if a specific route group...

0 Likes
2 Replies

Create a laravel slug system for api urls generated by Laravel API/Scaffold/CRUD Generator (Laravel5.1)

I have used this generator to create my api. It gives me urls like this.. https://github.com/mitulgo...

0 Likes
0 Replies

Laravel authorization function

Hi, everyone. I am a beginner of Laravel and PHP and developing a simple Laravel website with user r...

0 Likes
2 Replies

How do I copy a model and its many children efficiently?

Hello, I need to copy a parent model and its children and its children's children. I don't want to d...

0 Likes
21 Replies

Automatically append query to model

Hi, everybody. I have a model named User which contains many groups, to retrieve all students, I can...

0 Likes
4 Replies
Solved

RANDOM WITH WHERE !

I need to get data from 30 random questions with a theme set by User something like: $test = Questio...

0 Likes
1 Replies

Is It such a bad thing to use Models?

Hello I have a tendency to follow the MVC pattern. With laravel im noticing not much of the Model.....

0 Likes
3 Replies
Solved

Many to many through

Hello, so, i have the following problem: https://gyazo.com/7bc0b7bb981eb7b49ebc67a4825fe8c6 I have a...

0 Likes
0 Replies

Laravel 5.1 Job scheduler causing MySQL to generate large binlog files

I originally posted this on the Laracast forums but didn't get a response. Then I thought this migh...

0 Likes
0 Replies

How to use ACL in laravel 5

Hello Everyone. I am new to laravel 5. I want to know how to implement ACL in laravel 5 using databa...

0 Likes
0 Replies

[HELP] L5.1 Raw query of a MySQL stored procedure - Pagination?

I have this query: $images = DB::select('call spMultimedia(' . $id . ')'); I need pagination for th...

0 Likes
0 Replies

eloquent eager loading to limit for each post

ok I have posts table and foreach post we have comments. I want to get the last 10 posts with it's c...

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.