Support the ongoing development of Laravel.io →
visualight

visualight

Joined 30 Dec 2014

Statistics

Threads 8
Replies 2
Solutions 0
Articles 0

Laravel 7.30.4 : BelongsToMany problem

Since I made the Laravel 7.30 .4 update, when I make an eloquent BelongsToMany request, the results...

Likes Replies

Function to check if user has data in multiples tables

I need to make a function witch can be called in a foreach loop such has : foreach($users as $user){...

Likes Replies

Image Intervention package and ImageMagick

Hello, I wrote the following code to standardize the images of my photo gallery (so that they all ha...

Likes Replies

Laravel view cache not updated

Hello, Each change I made on blade files, I must clear the cache manually. (php artisan view:clear)...

Likes Replies

Database caching not working ?

Hello, I made a website that allow users to post pictures. Each user's page propore pulique his phot...

Likes Replies
3 years ago

Function to check if user has data in multiples tables

Hi, I found a solution but is not very elegant : public function hasdata(){ $pages = $this->pages...

0 Likes
7 years ago

Relationship understand problem

Hello, the only way in found is to make like this : $users = User::select('users.firstname', 'users....

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.