Support the ongoing development of Laravel.io →

4,608 Threads

migrate:refresh can't find migration class file

Some migration files come up as missing: From term after php artisan migrate:refresh --seed [Symfony...

0 Likes
6 Replies
Solved

Subbmiting form with array of text fields.

So lets say you have a form with the following Item Qty Test 1 1 Test 2 2 Test 3 3...

0 Likes
17 Replies

Is there a way to check if a couple of inputs are unique in the same record?

Hello everybody! I'm new here, so I hope this is the right place.. What I have is a table with these...

0 Likes
1 Replies

[Symfony\Component\Debug\Exception\FatalErrorException] Class 'CreateTasksTable' not found

[Symfony\Component\Debug\Exception\FatalErrorException] Class 'CreateTasksTable' not found I have t...

0 Likes
1 Replies

where do I find all the parameters for the onDelete method?

I am struggling to find all the parameters possible for the method onDelete method, I am talking abo...

0 Likes
0 Replies

How do I model this Article/Category scenario?

I have a scenario with Articles and Categories where each article can have only one category through...

0 Likes
0 Replies

Best practise to hold code with query builders of dashboard?

Hi, I have a dashboard where are many statistics of my DB data. Query builders are from many models....

0 Likes
0 Replies

Optional polymorphic relation

Hi there, Unfortunately I stumbled upon a thing which I can't seem to fix. What I am trying to achie...

0 Likes
1 Replies

How do you deal with Nested Sets (ie. Categories)?

I found a nice concept of Nested Sets but haven't really seen it put to use. Is this a practical met...

0 Likes
11 Replies

500 (internal server error) using Ajax in Laravel 5

I have created a like and dislike a button and store the info through ajax in Laravel 5.2. I am usin...

0 Likes
1 Replies
posted 8 years ago

How to pass variable to raw sql query

Hi, i am trying to pass variable to raw sql query and it gives me an error. My query: DB::select(DB:...

0 Likes
1 Replies
Solved

Eloquent relations have suddenly stopped working

Hello, I've been using my laravel made homepage for quite sometime now. After a recent update to my...

0 Likes
0 Replies

DataBase Update using Migration

I am working on an app and sometime i have to add or remove column in database table. using migratio...

0 Likes
3 Replies

Query Error

Please can someone help me? I have this function that returns a sought customer lists by name or cpf...

0 Likes
0 Replies

Laravel Configuration

Laravel makes associating with databases and running questions to a great degree straightforward. Th...

0 Likes
0 Replies

Undefined Variable thats defined :\

So I'm stuck been trying to debug for 3 some days now... Here's my issue maybe someone see's somethi...

0 Likes
2 Replies

Eloquent freaking me out!

User.php class User extends EloquentUser implements AuthenticatableContract, AuthorizableContract, C...

0 Likes
2 Replies
posted 8 years ago

Migrate SQLite to MySQL

Hello, i'm trying to migrate an existing SQLite to MySQL but it throws the following error: [Doctrin...

0 Likes
1 Replies

Route Model Binding Return null.

Can Anyone help me with this issue? I'm new to laravel and would like to know how to resolve this. F...

0 Likes
1 Replies
Solved

custom primary key name

hi guys ! I have problem with many to many relationship , and i hope you help me :D this is my table...

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.