Support the ongoing development of →


Joined 30 Dec 2014


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
posted 4 years ago

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
posted 5 years ago

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
replied 4 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...

replied 7 years ago

Relationship understand problem

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


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 - All rights reserved.