Support the ongoing development of Laravel.io →

Testers Needed!

Hey fellow Laravelers! I just released a new Contentful SDK & Toolkit package for Laravel along...

0 Likes
0 Replies

Passing multiple variables in to a controller view

Hi, I am trying to get the url e.g localhost/cat/restaurants/this-is-a-test but it throws an error w...

0 Likes
1 Replies
Solved
posted 9 years ago

[L5] Count query running multiple times

I have a query that counts rows in a table that equal 5. For some reason it is running multiple time...

0 Likes
0 Replies

Forum threads order by reply date

Hello, I'm trying to list threads in a forum/category based on the last reply to the thread. I've th...

0 Likes
2 Replies
Solved
posted 9 years ago

How to build a dynamic search query based on form inputs

I am new to Laravel and Eloquent. Would someone please recommend an approach with Eloquent to dynami...

0 Likes
3 Replies
posted 9 years ago

Relation Madness, Recursive Dependency

Hello, I am having a problem with creating my models. I have 2 models, User , and Safe (the user's &...

0 Likes
1 Replies
posted 9 years ago

Laravel 4.2. Windows Server 2012 R2 - Mail not working

I had a Laravel 4.2. setup om WAMP (Windows Server 2008, where the mail function was working) but mo...

0 Likes
0 Replies

How to Properly serve files from a different public directory

I have a Laravel 5 application as the backend, serving AngularJS from a different directory (which i...

0 Likes
2 Replies
posted 9 years ago

Decoupling logic from data, but what about the View?

I've been redoing my controllers to inject repositories and using those classes isntead as the only...

0 Likes
3 Replies
Solved

Javascript alert show session message

How to show this message in Javascript Popup? @if (Session::get('message')) Session::get('message')...

0 Likes
0 Replies
posted 9 years ago

Interface Too Big?

You hear about "single reason to change" when it comes to the scope of a class and how big...

0 Likes
2 Replies

Building URL's to assets using Flysystem (S3 & Local)

I have the following action in my repository: public function getAsset($filename, $prefix = null, $...

0 Likes
0 Replies

Comparing XML data - against previous XML file or DB?

Hi, I'm getting product updates from several suppliers on their stock via XML files. Most products...

0 Likes
0 Replies

Laravel 5 not show errors

Hi, I have Laravel 5 set debug true, enviroment: local Now not show errors (only log) and not show d...

0 Likes
5 Replies
posted 9 years ago

Where to put setlocale(LC_MONETARY , 'en_US.UTF-8') to make it global?

I'd like this to be global.I tried putting it in index.php, and it doesn't work. Maybe it can go in...

0 Likes
0 Replies
posted 9 years ago

Add value to array of action result.

I have action and I wanna take json with time = 11: public function getView( $id ) { return ['dat...

0 Likes
0 Replies
posted 9 years ago

Stuck on href in Laravel 5

Could you please help me to pass id of a product from view page to controller page with the help of...

0 Likes
4 Replies
posted 9 years ago

How to make permalink setting like Wordpress using laravel 4?

I am new to Laravel 4, I have project that required me to create "permalink settings feature&qu...

0 Likes
9 Replies

Nginx, hhvm problem with Class

Hello, I have a problem when I use a class in Laravel. If I use this code: Session::put('name', 'val...

0 Likes
0 Replies
posted 9 years ago

dont escape accent, just html

Hi guys, i have a problem, // my var $teste = "<b>Página</b> inicial"; {{ $tes...

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

© 2025 Laravel.io - All rights reserved.