Support the ongoing development of Laravel.io →

4,599 Threads

Laravel and Doctrine 2

Someone use laravel with doctrine 2? I tried with this package: https://github.com/mitchellvanw/lara...

0 Likes
1 Replies

Advanced Data Base queries and Eloquent

Hi All, I've been developing a laravel application the last couple months and it's my first ride wit...

0 Likes
6 Replies

Create Input::get reusable array

Hi All, I have a controller that receives input from a from. My controller handles both the create a...

0 Likes
1 Replies

How to paginate Raw query?

$rawq= 'SELECT COUNT(*) from `'.DB::getTablePrefix().'table`... blah-blah'; $result = DB::select(DB:...

0 Likes
0 Replies

Postgres Database Error: Eloquent/Fluent Query where boolean value is true/false

I am getting the following error when I run an eloquent query: ERROR: operator does not exist: bool...

0 Likes
1 Replies
Solved
posted 10 years ago

Redis scan family commands via laravel?

I am new to using Laravel and Redis together. I'm trying to run the Redis command zscan: $redis = Re...

0 Likes
0 Replies

Advanced ratings based on votes in different categories

I'm quite new here and are REALLY stuck on this. So i figured I could give this forum a try... I'm w...

0 Likes
4 Replies

Many-to-many or other way?

Hey, i'm just starting to plan a laravel project. I have a User-, BranchOffice- and a Company-Model...

0 Likes
1 Replies

Best approach

Hi guys, This question isn't strictly related to laravel but, as I used it, I'm asking for your sugg...

0 Likes
0 Replies

save() function don't work for another of table

hi, \n i use save() function for saving detail of table and this is work when i want change default...

0 Likes
3 Replies

Nested Dependant Relationships

Hey everyone, we're trying to figure out how to do what I call "nested relationships" in L...

0 Likes
0 Replies

Query by pivot attributes?

I have two tables, call them table1 and table2, corresponding to Table1 and Table2 models. Those two...

0 Likes
0 Replies

How to assign value to a variable from an object?

How to assign value to a variable from an object? public function func() { $valida...

0 Likes
1 Replies
Solved

Conditinaly Where Clause

Hey, i have two relational tables, funs and user_votes, user_votes is saving votes for funs, likes o...

0 Likes
2 Replies

Eloquent N:M relation saveMany problem...

Hi, I have problem saving N:M relation data saving. Model 1 "Books": class Book extends \E...

0 Likes
2 Replies
Solved

Call to undefined method stdClass

What am I doing wrong? I have a 'Category' model that is the model for my table 'categories'. In the...

0 Likes
2 Replies
Solved
posted 10 years ago

PDO Exception -Could not find driver.

Hello everyone mi name is jose and may help me , i have the following error in "php artisan mi...

0 Likes
1 Replies

Eloquent: custom logic for model property

Hello! I would like to learn how to integrate custom logic to a model property. For example, some re...

0 Likes
2 Replies
Solved
posted 10 years ago

Replace old inline sql with db class

Hi, Can anyone please tell me how to go about this? I have some old php pages which are forms postin...

0 Likes
0 Replies

Deleting row with lowest id from database?

Hello. I'm still learning Laravel and I want to remove the row with lowest id from my database. I tr...

0 Likes
8 Replies
Solved

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.