Support the ongoing development of Laravel.io →

convert mysql query to eloquent

how i can convert this mysql query to eloquent query? SELECT tags.id,tags.name, tags.slug, count(pos...

0 Likes
2 Replies

Routing (:any)

Hi guys! I currently have a problem where I get stuck. I want to when you call example.com/xxx.jpg,...

0 Likes
1 Replies
Solved

What steps should I take to reduce Laravel's high CPU load?

Hi everyone, We just went live with our Laravel website (hooray!) but of course going live with some...

0 Likes
4 Replies

Laravel 5: Contracts and separation of concerns .

Im really struggling to understand the whole concept of Contracts in Laravel 5. Interfaces I underst...

0 Likes
4 Replies
Solved
posted 10 years ago

Unable to upload images on laravel app to hostgator hosting

I've been searching all around the net to try to fix this problem. Changed the code in my controller...

0 Likes
3 Replies

Relationships help

I'm just not understanding relationships. I feel like I'm following the documentation and no matter...

0 Likes
18 Replies
posted 10 years ago

Use different Monolog Logger global

Hi community! After searching now for hours and just don't find the correct answer I hope you have a...

0 Likes
0 Replies

Best practice for Websockets

Dear Laravel enthusiasts, I've been thinking about developing some real time functionality in some o...

0 Likes
8 Replies

Responsibility of repositories

Hi, I have a little question. I am group owner and I want remove user from my group using repository...

0 Likes
2 Replies

Elegant wau to create global variable

Im wondering if there is a elegant way to create an globally accessible variable in some elegant way...

0 Likes
2 Replies

Strategies for "resolving" a model from various form input?

Hello all! I'm using "services" (though they may not follow any specific pattern definitio...

0 Likes
1 Replies

Unable to launch lavarel using http://localhost:8000 using wamp on windows 7

Hi All, I am following the tutorial from lavacasts and I did everything as they said but when I open...

0 Likes
4 Replies

How to white-label a product? (backend discussion about data separation)

I've created a web app product. Angular app built on Rest API using PHP/Mysql. The app works great f...

0 Likes
1 Replies

Cross-Origin Resource Sharing Policy Error.

Hi guys, I'm running into an issue that I hoped someone here could help me with. When I put my appli...

0 Likes
1 Replies

Laravel roles, which package should I choose?

Hi guys, I'm implementing roles into my application, I tried to find a popular package for it and fo...

0 Likes
1 Replies

Separate routes to own files

Hi I have big routes.php file. There a lot of route rules. I would like split rules to own files. I...

0 Likes
2 Replies

Which one use (injection vs static method)

Hi. Probably is a PHP general cuestion but this is what I'm wondering: class A { public functio...

0 Likes
1 Replies

[Package] Recaptcha - Googles new (december 2014) recaptcha

Github What is reCAPTCHA? reCAPTCHA is a free service to protect your website from spam and abuse....

0 Likes
0 Replies

Filters not working in TestCases

I'm experiencing strange behaviour with Filters and TestCases. It seems like filters are only being...

0 Likes
1 Replies

How to properly move local laravel application to live server?

I've running laravel application on my local machine and all the project's files go into xampp/htdoc...

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

© 2025 Laravel.io - All rights reserved.