Support the ongoing development of Laravel.io →

4,603 Threads

Issues with belongsToMany() only returning data for one column on pivot table.

So I'm kind of following the Laracasts Many To Many tutorial in Laravel5 Fundamentals and have the M...

0 Likes
2 Replies
Solved
posted 8 years ago

unable to access message and action of notifications

I followed the documentation to try the notification system of Laravel 5.3, but I just cannot displa...

0 Likes
0 Replies

Eloquence/Searchable working with translatable

Hi, i'try to use this package with laravel-translatable, there is any possibility to search in trans...

0 Likes
0 Replies

how would I convert this into Query Builder?

insert into `combined_results_by_typecode` (product_id, typecode, group_id, group_name, passed_count...

0 Likes
2 Replies

Laravel5 - validation: ignore a given id for multiple uniqueness condition

I have created a validation form using Validator::make on laravel 5: Validator::make($request->al...

0 Likes
2 Replies

Laravel eloquent inverse one to many returns empty

I have following MySQL table structure: posts table: posts: {id(PK), title, content, slug, date, wri...

0 Likes
1 Replies

Add Columns with Methods Undefined

What I am trying to do is set a column to be a foreign key. Following the documentation, it's prett...

0 Likes
3 Replies
Solved

User->Purchase->Details help

Hello, I need help with the following structure in laravel: - User id - Purchase id user_id - Deta...

0 Likes
0 Replies

Using nestedset in model to get tree

Hi, We're using the lazychaser/laravel-nestedset (on gidhub) / Kalnoy\Nestedset (composer/packagist)...

0 Likes
0 Replies

Eager Loading error on my Entities when i migrated from 5.1 to 5.3

User.php <?php namespace ESP; use Illuminate\Auth\Authenticatable; use Illuminate\Database\Eloq...

0 Likes
0 Replies

Select only unique columns

Group by is problematic since I switched to PHP 7 and having aggregate values doesn't apply to the w...

0 Likes
8 Replies

How to use sjousse/laravel-unique-reference

I'm new to laravel. I'm using sjousse/laravel-unique-reference I don't know how to configure/ genera...

0 Likes
0 Replies
posted 10 years ago

Foreign key cross database

Is it possible to make a miration with a (pseudo) foreign key in laravel that links to a table colum...

0 Likes
3 Replies

Please HELP ??? problem in links

i have travel website working with category and sub category EX: Link (1) : tours/egypt/cairo Link...

0 Likes
0 Replies

phpmysql Trigger get id on who updated the data

What is wrong with this code. Keeps getting the error "Cardinality violation:1242 Subquery........

0 Likes
0 Replies

BadMethodCallException give in eloquent

i have error with my laravel 5.3 when getting data from database this is my controller code publ...

0 Likes
1 Replies

How to get data from one to many relation.

Hello everyone. I have a small problem. I got two models: User and Group. They are connected by one...

0 Likes
4 Replies
Solved

Laravel 5.3 and Notifications

I'm trying to grab some users from the database and notify them that a new position has been posted....

0 Likes
2 Replies
Solved
posted 8 years ago

QueryBuilder doesn't get records

I have to get some records from a table given an array of ids, to do so I use this code $future_meet...

0 Likes
2 Replies
Solved

"with" or "load" causes all objects loaded

Hello All, This is my first post on this forum, so I'd like to send warm hello and thank You in adva...

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