Support the ongoing development of Laravel.io →

4,602 Threads

Menu's, Menu Building Best Practice & Flexible?

Hi Guys Ok, so I am just thinking about how to go about building menus in my application. Here is ho...

0 Likes
7 Replies

Grab a field from a joined table that was joined using with clause

Greetings, I want to know if it's possible without using the raw query builder to do what the title...

0 Likes
0 Replies

worth learning laravel to build a simple CMS?

Hi all. I've heard wonderful things about Laravel, and worked recently on front end / design for a p...

0 Likes
4 Replies

Building dynamic queries with Elo/Query Builder not possible?

Hi, in the past i have build queries like this: if (...) {$q.="AND (city='New York' OR city='De...

0 Likes
1 Replies

Inheritance

I have two classes. A and B. The class A extends Laravel, the class B extends A. They rappresent two...

0 Likes
0 Replies

Can't return a simple many-to-many relationship value

Hello! First of all thanks for the interest in my topic. I think that this question is easy. I have...

0 Likes
2 Replies
Solved

[DOUBT] $user->save() VS User::where()->update();

Hi all, I am beginner in Laravel. I have some doubts. I'm working on a function to edit users, every...

0 Likes
4 Replies
Solved

Has Many Through Pivot

Imagine: Category can have many Products, Products can have many Series - so basically, Category can...

0 Likes
1 Replies

Did I find a bug in Eloquent? ID is not being set correctly using a hasManyThrough relationship and paginate.

Hi there, I have the following three models and relationships set up. class Customer extends \Eloque...

0 Likes
2 Replies

Ecommerce With admin panel

hi can anybody help me to built shopping cart with admin panel or is there any reference link where...

0 Likes
3 Replies

How can I do this SQL query whit Eloquent?

Hello, Im new whit laravel, and I would to like do this query, in SQL it would be something like thi...

0 Likes
3 Replies
Solved

3 table relationship question

I am trying to figure out how to get a specific 3 table relationship working. I have a business list...

0 Likes
3 Replies

The best way to pagination ?

I try to find the to make paginate with out use a lot of process on database like, select all() and...

0 Likes
2 Replies

What is the easiest way to add the count of records that matched the whereIn to this model chain?

I have this eloquant model chain which works fine but I would like to add the count of matched recor...

0 Likes
0 Replies
posted 10 years ago

Homestead - unable to create and connect to new DB

Hi, I've just started using homestead and want to have multiple sites on the same VM. However, Homes...

0 Likes
1 Replies

sorting multiple tables by time

hello to every one, I am trying to sort multiple tables like this; //Controller http://laravel.io/bi...

0 Likes
4 Replies
Solved

Eloquent Query's not working with a certain table

Hello, I am porting my current website over to laravel and I'm having some issues. I'm trying to lis...

0 Likes
5 Replies
Solved
posted 10 years ago

Setting up relationships ?

I've been going through the documentation and reading up on relationships, and I'm having trouble oh...

0 Likes
2 Replies

Multiple tables over multiple databases in a single Model

I am in the planning stage of undertaking a database migration where the two databases (one MySQL, o...

0 Likes
4 Replies
Solved
posted 10 years ago

Missing where method on join with where clause

I require a join with a where clause such as: SELECT * FROM users LEFT JOIN contacts ON contact...

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.

© 2024 Laravel.io - All rights reserved.