Support the ongoing development of Laravel.io →

4,606 Threads

How to Query In three tables?

I have four tables. option_groups options product_options product_images Tables Structure option_g...

0 Likes
1 Replies
posted 10 years ago

Laravel migration not working [solved]

This took me quiet some time to figure out, that's why I am posting my solution here. I didn't find...

0 Likes
1 Replies

Nothing to migrate.

I'm following the quickstart task list tutorial on laravel.com. https://laravel.com/docs/5.2/quickst...

0 Likes
2 Replies
Solved

Triggering model event when modifying relationship

I am trying to set up my models such that a few of them can get stored in a cache. What I'm trying t...

0 Likes
5 Replies

How to Make a Review by Buyer For the Product?

I want to ask sir, I am beginner in laravel, I am making an online shop project with laravel but the...

0 Likes
1 Replies

Extend Eloquent Model with created_by, updated_by, deleted_by

Hi@all, i'm new at Laravel, and now i'm building my first app. My app is a database to store address...

0 Likes
6 Replies

Cannot connect to mysql 4.0

How can i connect to mysql version 4.0.22-nt? I got this error message when trying to connect to dat...

0 Likes
0 Replies

Asset URL for CDN

I have all my public files uploaded to Amazon S3 soon cloudfront. How do i manage my URL to use CDN...

0 Likes
4 Replies

Laravel column modifier method "after()" not working

I am using Laravel 5.4 and Postgres I need to create a new column after a particular column, so I ad...

0 Likes
1 Replies

Querying a model using conditions in relationship

Hello I'm making a webapp with categories, pages and banners that can be displayed on pages based on...

0 Likes
2 Replies
Solved

How to observe Many to Many relation attach()/sync() action?

How to observe Many to Many relation attach()/sync() action? For this: I have Tag model and Post mod...

0 Likes
5 Replies

Laravel 5.2: use mass-assignment with dimsav laravel-translatable

I am using Laravel 5.2 Package dimsav laravel-translatable 6.* This is my worked controller $about =...

0 Likes
1 Replies

Artisan access denied for root@localhost

Hello, I have a problem with Laravel. My website has no problem accessing and performing operations...

0 Likes
5 Replies
Solved

how to create Dynamic Fields in laravel

Hey Guys how can i create this fields as dynamic fields in laravel plz help me <label for="name_d...

0 Likes
1 Replies
posted 10 years ago

Foreign key not saving in migration

I'm trying to add a column to an already existing table. The column is a foreign key. This is my mig...

0 Likes
12 Replies
Solved

Database Filters

I currently use Symfony but I am somewhat curious about Laravel. There is one feature of Symfony (Do...

0 Likes
1 Replies

Model save, sql cant be null while default value is set

I cannot figure out why im not allowed to insert a null or empty while SQL default is set got this e...

0 Likes
3 Replies

Inverse of hasManyThrough

Which is the inverse relation of hasManyThrough? like in example: Country -> User -> Post in c...

0 Likes
2 Replies

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

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.