Support the ongoing development of Laravel.io →
thewinterwind

thewinterwind

Joined 12 May 2014

Statistics

Threads 1
Replies 45
Solutions 4
Articles 0
posted 11 years ago

php artisan routes not working with $_SERVER['HTTP_HOST'] ?

In my app's bootstrap code I need to use $_SERVER['HTTP_HOST'] to do some initialization. Problem is...

0 Likes
3 Replies
Solved
replied 11 years ago

Conditionally changing SMTP Mail settings (host, username, password).

You could update mail.php with something like: 'host' => Config::get('mail.sender.host'), 'user'...

0 Likes
Solved
replied 11 years ago

Architecture and Repository Pattern

Guess it depends on your site, what defines a customer? If you have an ecommerce site, is someone th...

0 Likes
replied 11 years ago

Foreign Characters

What encoding are you using on the tables that store greek characters? It should probably be utf8_ge...

0 Likes
Solved
replied 11 years ago

How do you grade this code?

@behnam Revati has given you very good advice, and that is your response?

0 Likes
replied 11 years ago

Repositories and Relationship

You can just inject the category model in as well instead of injecting the category repository. I do...

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.