Support the ongoing development of Laravel.io →

4,603 Threads

Updating record attributes

I can't get Eloquent to update the last attribute for the record, only the first attribute is saved....

0 Likes
1 Replies
Solved

Homestead + remote database connection error!

Hello everybody! I have a small project which use XAMPP for development, and I use mysql database fr...

0 Likes
2 Replies

Call to undefined method stdClass::save()

Actually I am trying to save the same data again in the database. So I retrieved the value from the...

0 Likes
1 Replies

raw sql to Eloquent.

paginator's per page not work. all results displayed. i need raw sql to Eloquent. pls help. Eloquen...

0 Likes
0 Replies

Laravel not connecting to correct database

Hi All, I'm fairly new to Laravel and am having what will probably be a simple problem. But can't s...

0 Likes
3 Replies
Solved

Any documentation for Eloquent firstOrCreate, firstOrNew or firstOrFail?

There are a few use case examples with these calls in the Eloquent doc page (http://laravel.com/docs...

0 Likes
0 Replies

Throttle or debounce model events?

Is it possible to prevent an event from firing on every save to a model? I have a one to many relati...

0 Likes
3 Replies

how to save a data that is a foreign key

Hi I have two pages, the first one is menu and the other one is content. In my menu view its just a...

0 Likes
2 Replies
Solved

MongoDB Updates JensSegers Package

Hey guys, I'm stuck on updating an inner object using the MongoDB package by JenSegers. I can run th...

0 Likes
1 Replies

update user table

public function postRegister(RegisterRequest $request) { Registration form is valid, create us...

0 Likes
0 Replies

Laravel universal table CRUD

Hello, I'm looking for a tool that generates CRUD operations for any table automatically. It should...

0 Likes
2 Replies

Passing data to leaflet.js map

Alright newb question, I've had a reasonable amount of success building my first laravel application...

0 Likes
9 Replies
Solved

Migrations with multiple databases

Hey, migrations are great if you only work with one database. Do you know any package to extend the...

0 Likes
1 Replies
Solved

homestead postgresql connection

Hi, I'm completely new to Laravel and I'm following the official documentation step by step. So far...

0 Likes
1 Replies
Solved

Stored procedure as model $table

Hello! I have a huge oracle application (using yajra/laravel-oci8 for oracle interface). I want to c...

0 Likes
0 Replies

Query string does not work as expected

Hi guys, I want to output some listings from my database table, with a very specific relationship pa...

0 Likes
0 Replies

Cyclic loading with global scope.

Hello. I have Location and Contact models which are many to many related. I've creted a global scope...

0 Likes
0 Replies

Convert mysql query to laravel

SELECT * FROM abc WHERE user_id = 2 AND DATE_FORMAT(created_at,'%d-%m-%Y') < '11-09-2014' ORDER B...

0 Likes
1 Replies

Laravel 4 and Symfony2 app usage

Hey, I wish to implement https://github.com/Sylius/Sylius along with L4 framework. Any help on how t...

0 Likes
2 Replies
Solved

How to apply PDO prepared statements in laravel 4 Eloquent

is there any best practice on how to to apply PDO prepared statements in laravel 4 Eloquent ?

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