Support the ongoing development of Laravel.io →

4,606 Threads

Changing increment value.

Hello. I'd like to know how to change increment value and offset in Laravel 5.1! Any ideas how to do...

0 Likes
0 Replies

How to change User Table in Laravel?

I use Laravel 5.0. I have user table in my DB. I changed table variables in User and Config/Auth to...

0 Likes
2 Replies

Best practice defining multiple many-to-many relationships in one table?

Hi, I am building a products table and I have five columns that will contain data that will be share...

0 Likes
4 Replies
posted 10 years ago

How to insert values with migration?

Hey, this is my first laravel project and I faced this problem, I have a "users migration"...

0 Likes
4 Replies
Solved

5.1 Factory & seeding.

I was using TestDummies in 5.0 but changed to built in Factory functionality in 5.1. but when i ran...

0 Likes
0 Replies

records insertion progress

csv contain information with item name,price,description etc.and csv contain around 500 records. I'm...

0 Likes
0 Replies

Union in loop select - Query

Hi i need to create a union of select queries in a for loop. following is my code. $union = DB::tabl...

0 Likes
1 Replies

Token mismatch on file import

I have a problem that I'm hoping someone has either run into before, or has an idea of the possible...

0 Likes
2 Replies

Easy Localization and Translation

As I was getting tired of creating translation files and maintaining big arrays of translations, I l...

0 Likes
5 Replies

Events not firing on inherited model. How can I fix this?

I have a model, Order, that has an updated event. use Illuminate\Database\Eloquent\Model; class Ord...

0 Likes
3 Replies
Solved

On Busy Server Received SQL Error!

Hello, I have a big problem and if it's true laravel will going to critical and unreliable situation...

0 Likes
0 Replies

Laravel 5, Postgres and JSON fields

Hello, trying to understand that status of development for this use: I want to store JSON data in Po...

0 Likes
1 Replies

Laravel4 many-to-one relation with a pivot table

I have 3 tables in my database. A link table, a question table and an answer table. In link I store...

0 Likes
0 Replies

Import missing Laravel functionality to Lumen

Is it possible import missing Laravel functionality such as db migrations to Lumen?

0 Likes
1 Replies

Column not found: 1054 Unknown column '_token' in 'field list' (SQL: update `tutorials` set `_token` =

If i update my Form Model Binding i am getting the above error: **Column not found: 1054 Unknown col...

0 Likes
4 Replies
Solved

nested and/or within a dynamic function

I'm trying to get nested results but can't seem to get it working for my situation. I want to use th...

0 Likes
1 Replies

insert multiple rows / new to laravel

I'm very new to laravel. Just getting around the MVC idea. How would I go about writing in laravel s...

0 Likes
1 Replies

Insert Multiple rows?

Hopefully someone here can help me with this, I'm kinda stuck here... I have a form looks like this:...

0 Likes
1 Replies

Weird behavior - Sorting collection

I'm trying to sort a collection by the column "name". I am logging the ajax result and whe...

0 Likes
1 Replies
Solved

Custom toArray method on Eloquent model

Hi, I have a Eloquent Model and I want to create a customized toArray method... class Posts extends...

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