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

Get route name/action info having only url

You don't need separate routes for multilingual sites. Suppose they change the language in a dropdow...

0 Likes
replied 11 years ago

Dependency injection and creating new objects / auth

Your code looks fine, inject classes through the constructor as Kevin mentioned. You can mock the au...

0 Likes
replied 11 years ago

Best Practice Presenter

It's ok to mix HTML in a presenter. Just remember to extend an abstract base presenter if you find a...

0 Likes
Solved
replied 11 years ago

Query Builder query using Eloquent syntax

The query builder and Eloquent are not separate ways to query, they work together. You can use any o...

0 Likes
replied 11 years ago

dropdown2 gets populated based on dropdown1

You'e right, let me update it :)

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.