Support the ongoing development of Laravel.io →

4,311 Threads

Laravel 4 - How to Share Function betweens Multiple Models?

I got 2 Models Blog & Text, inside both Models had a same function named listBlog & listText...

0 Likes
1 Replies

Method like Model::create() but for updates.

Hello everybody! First of all, thanks for watching on my topic. My question is simple. The models th...

0 Likes
3 Replies
Solved

Relationships

Hi I'm new to Laravel, I'm creating a user-group page. A user can create a group and is automaticall...

0 Likes
0 Replies

Laravel models

Hello, so I have three models , one for Attachments one for Products and one for Articles. The Attac...

0 Likes
0 Replies

Retriving Data From Many To Many Relationship Self Referencing with Join Table

I have User Table and Followers Table. The structure of follower table is : -id -follower_id ( refe...

0 Likes
0 Replies

Laravel 4 Custom User Permissions

So I'm new to Laravel and trying to make a permissions system for the users on my application. Here...

0 Likes
0 Replies

Is it possible to save additional attribute value(that comes from two many-many relationship table) in laravel4.2

Database Tables are jobseekers id | username | password | job_detail_jo...

0 Likes
0 Replies

Unable to associate models without manually assigning the foreign key

I'm running into an issue when trying to associate a child model to a parent. I see in the documenta...

0 Likes
1 Replies
Solved

Laravel4.2 Query problems between three tables

Database Tables are employers id | username | password jobdetails id |...

0 Likes
1 Replies

[HELP] Trying to get property

sorry all i hope you want to help me... i have a problem with returning query to datatable i have 2...

0 Likes
1 Replies
Solved
posted 9 years ago

Mutators not triggered

I have a model, inside it I've defined several mutators, but they are not triggered and I can't unde...

0 Likes
1 Replies
Solved
posted 9 years ago

Cannot delete Eloquent model when class-hinted in route

When fetching a model using class hinting, I cannot delete it. No errors are thrown, it's like the $...

0 Likes
1 Replies

Polymorphic relationship does not work

i have this problem; i am using three models Usuario,Idioma,UsarioIdioma; exists a relationship betw...

0 Likes
0 Replies

Dynamic With Query

Hello, I have a Package table with some relationships: Package has one user, user has one location,...

0 Likes
1 Replies
posted 9 years ago

Eloquent returns floats as integers rounded in tens!

I have a weird problem after our server provider upgraded to PHP 5.4.36. I needed to upgrade our ear...

0 Likes
8 Replies
Solved

Class AddExcerptToTables not found when refreshing migration

Hi guys, I was going through : https://laracasts.com/series/laravel-5-fundamentals/episodes/14 and w...

0 Likes
3 Replies

Eloquent relation among three models

Hello guys, User has many Field Field are fixed (10 to 15), has many User and Value Value belongs t...

0 Likes
1 Replies

Eloquent construct format column

Hey guys. I have a question, is there a way to do some custom stuff over the values that eloquent re...

0 Likes
0 Replies

Trying to collect data from a many-to-many relationship

UPDATE 09/06/15 Hi, i'm quite new to Laravel, I'm trying to perform a query in Laravel 4 with Eloque...

0 Likes
3 Replies

Get featured listings from sub categories (while parent category)

Hello guys, I'm trying to show featured listings from sub categories in a category view. I can check...

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