Support the ongoing development of Laravel.io →

4,597 Threads

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

Using Illuminate/database outside of framework

I am trying to use the package with my CodeIgniter project by following the instructions given in re...

0 Likes
2 Replies
Solved
posted 10 years ago

User row fullname

The users wants to query by fullname. The table stores firstname and lastname as separate fields. Ho...

0 Likes
8 Replies
Solved
posted 7 years ago

Seeding with faker in a module

I am using https://github.com/nWidart/laravel-modules and have a module Cars. In CarsDatabaseSeeder...

0 Likes
0 Replies

Working with spatial columns in Eloquent model

Hi, I'm working with Laravel 5.5 and MySQL 5.7 and I have a table that stores travels data with orig...

0 Likes
2 Replies
posted 7 years ago

Catching exception on a DB transfer

Hi All, I'm trying to write a console command to transfer an old user DB to a new one. My code is be...

0 Likes
1 Replies

Long Running DB Job Queue timing out. Laravel 5.4

Have the timeout for the queue set to 2400 tries 1 and I've set the process command timeout to 2400....

0 Likes
2 Replies

Default data base structure for laravel

Hi all, I'm new here and the questions I have very simple, though I couldn't find the answer. All I...

0 Likes
5 Replies

save log data into mysql instead of laravel.log

i created middleware for logging api request and response ,but i want to log it into mysql table.how...

0 Likes
0 Replies

eloquent palying with some null and other stuff related to date & time

Hello, In my work I regularly played with date & time with some date start & end (or valid f...

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.

© 2024 Laravel.io - All rights reserved.