Support the ongoing development of Laravel.io →
alenn-m

alenn-m

Joined 5 Mar 2014

Statistics

Threads 19
Replies 17
Solutions 4
Articles 0

Eloquent Many to Many query

Hello I have following structure Table categories Table posts Table category_post Table users Table...

0 Likes
0 Replies

Issues with Laravel Forge and Git

I'm deploying my web app using Laravel Forge and BitBucket. Recently I was coding one part of my web...

0 Likes
2 Replies

Check image size

Hello I made an app where users can upload images, and I want to restrict image dimensions to less t...

0 Likes
1 Replies

Check if conversation exists

I'm creating an app where users can send messages to each other. These are my models and relationshi...

0 Likes
2 Replies
Solved

Show number of occurrences for one Model

Hello I have two models, Post and Tag and they are connected like this: class Post extends Eloquent...

0 Likes
2 Replies
replied 10 years ago

how to return value from controller to view?

If you need only one value, then instead ->get() put ->first()

0 Likes
replied 11 years ago

Cache only view data and drop session data

willrowe said: You should not be caching restricted pages on the server side, it is very insecure a...

0 Likes
replied 11 years ago

Issues with Laravel Forge and Git

Eventually I removed all local changes and uploaded again, now it's fine.

0 Likes
replied 11 years ago

Check if conversation exists

I believe I came up with similar solution like yours: $exists = false; foreach (Auth::user()->...

0 Likes
Solved
replied 11 years ago

Show number of occurrences for one Model

codeATbusiness said: Hi, You could use the following custom method: public function scopetagOf($que...

0 Likes

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.

© 2026 Laravel.io - All rights reserved.