Support the ongoing development of Laravel.io →

4,606 Threads

Three-way pivot table with Eloquent

Hi everyone, Intro I' m building a web application where users can be in zero, one or more teams. Ev...

0 Likes
6 Replies
Solved

How should I store this values into my pivot table?

Hello, I'm kinda new with laravel and I can't solve this problem by myself. I've tried a lot of thin...

0 Likes
1 Replies
Solved

How to get a list of posts and check if the user already "Liked" them?

I'm having fun with Laravel framework trying to build a little "blog" site that works the...

0 Likes
7 Replies

Remove expired data from database

Hi, Is there any interface for removing expired data from database? For example I have tokens for ve...

0 Likes
0 Replies

sugerCRM in php Laravel

I want to develop a website in Laravel 5, its customer relationship management (CRM) based, I don't...

0 Likes
1 Replies

time() instead of timestamp

Hello, In database migration we use ....$table->timestamps(); to make created_at and updated_at f...

0 Likes
1 Replies

Code in model - need ideas

Hi guys, I need to run something like this in the mode. What I need to do is check if the date on th...

0 Likes
0 Replies

problem with Eloquent's hasManyThrough's query.

I have this structure in my application. table users: id, username table projects: id, name...

0 Likes
3 Replies
Solved

Laravel 4 Pagination on scroll

I am searching for pagination example using scroll. i am currently using la-ravel 4 without blade. P...

0 Likes
0 Replies

firstOrCreate and join

Hello, how can I join two tables with firstOrCreate method? for example I wanna get a row of a table...

0 Likes
0 Replies

Trouble using Eloquent with multiple pivot

Hello Guys, Here is my design database: Booking: id, status, transaction BookingItemOfferPair: i...

0 Likes
0 Replies

Eloquent 5 in Lumen giving unwanted response.

I've recently started using Laravel 5 and the new Eloquent 5.* and I'm experiencing some unwanted re...

0 Likes
0 Replies

dealing with precision numbers / money and storing it using eloquent

Ive been doing some calculations in code converting strings to float because thats the only way I co...

0 Likes
2 Replies

Trying to mass assign Checkbox Input values to database

Hi, Laravel 5.2 here. I can't save my checkbox values to db $data = $request->all(); $data["...

0 Likes
0 Replies

Create own login validation without database

Hi All, I have a project with Laravel 5.2 and besides that I have an other program that has the poss...

0 Likes
1 Replies

Convert this GeoLocation Query to Query Builder for $$$

If someone can help me get this query working properly in Query Builder I would be willing to pay a...

0 Likes
9 Replies

Get sum's of a related table field?

Hey Guys, i want to create a small invoicing software for my company using laravel and, of course, e...

0 Likes
2 Replies

how to ensure sequence of integers

I have a table with categories: string: label integer: order I wish for order to be a continuous lis...

0 Likes
0 Replies
posted 8 years ago

Syntax error or access violation: 1064

Hello, I get an issue on my DB::insert query. Can anyone please advise what is wrong. The error here...

0 Likes
0 Replies

Model::create SQL Insert Error

Hi, when i try to create/insert a new Model instance with $maintenance = Maintenance::create(array(...

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.