Support the ongoing development of Laravel.io →

4,311 Threads

Join tables with pivot tables (Eloquent ManyToMany Relationship)

Helllo guys, I need solution I have Model Article with ManyToMany Relationship to Terms and I have M...

0 Likes
0 Replies

How to save and display PDF, Excel and Word files using Laravel Framwork?

Please help me this question ? http://stackoverflow.com/questions/34986701/how-to-save-and-display-p...

0 Likes
1 Replies

login with different table in laravel 5

i want to change login table in my project for this i tried to change model name in config/auth.php...

0 Likes
2 Replies

Database migration

Hi all! Recently was assigned to us an "old" project on L4 , the project has a very poor d...

0 Likes
2 Replies
Solved

How to set the Primary Key and Foreign Key to string

I have suborder table and the primary key is string format e.g. "10001-01". Each suborder...

0 Likes
1 Replies
posted 8 years ago

web dinamic with laravel 5.2

Hi, I'm trying to build a dinamic web design with laravel 5.2 by following a tutorial that using lar...

0 Likes
0 Replies

Call to a member function connection() on null shows up occasionally

Hi, I'm using Laravel 5.2 fresh install and use postgresql as the database. And I use "web"...

0 Likes
1 Replies
Solved

Display database record base on date.

How to display last 2 month record without including display last month record.

0 Likes
0 Replies
posted 8 years ago

Maximum function nesting level of '100' on hasMany Relation Laravel

0 down vote favorite First Blade View - Works fine {{Auth::user()->firstName}} {{Auth::user()->...

0 Likes
1 Replies

Creating new pivot table entries with additional attributes

I have two models: Order and Item. There is a many-to-many relationship with a pivot table linking a...

0 Likes
0 Replies

How can I use whereHas on a relation of a relation to the same table with Eloquent Query Builder?

I'm trying to run this query: $products = $this->product_model->where(function($query) use ($k...

0 Likes
0 Replies
posted 8 years ago

Add relation to default User Class

Hi, I'm new to Laravel. I use the Laravel 5.2 default authentication; in App/User.php we have the de...

0 Likes
2 Replies
Solved

Get details of reverse polymorphic, maybe a different way to approach this?

In this example: Tables Person id firstname lastname Company id companyname Item id attachedto_...

0 Likes
1 Replies
Solved
posted 10 years ago

Selecting certain columns with Eloquent

I have Property model and in it I have relationships with few other tables. Here is an example for t...

0 Likes
5 Replies

controller saving parameter from route

let assume there is a list of customers with routing like this: <ul> <li><a href=...

0 Likes
4 Replies
Solved

Something like hasManyThrough query

Hi guys, I'm trying to use something like my implementation of hasManyThrough query, could you pleas...

0 Likes
0 Replies

Subquery error - SQLSTATE[42000]

I'm using the Laravel query builder to write a join statement and I find that I'm encountering a str...

0 Likes
0 Replies

Unknown column 'photo' in 'field list' error in database

when i create a "photo" in the "flyer_photos" table with Tinker like below. >...

0 Likes
1 Replies
posted 10 years ago

Eloquent Update Multiple Records

Hi there, Is it possible to update mutiple rows in one round with Laravel Eloquent ? Just like updat...

0 Likes
6 Replies
posted 8 years ago

Attributes field empty

Hi, New to L5, but long time L4 user. I've a fairly new copy of L5 installed, and have the following...

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.