Support the ongoing development of Laravel.io →
martinhearn

martinhearn

Joined 8 Feb 2014

Statistics

Threads 0
Replies 18
Solutions 2
Articles 0

martinhearn has not posted any threads yet

replied 11 years ago

Unable to ->with('key','value') within nested Controller.

You access the title variable in the view directly, not as a session: {{$title}}

0 Likes
replied 11 years ago

Use localhost:8000

Your base path in WAMP must be set to the Laravel project's public directory (e.g C:\wamp\www\l4\pu...

0 Likes
Solved
replied 11 years ago

Problem with Eloquent - Case sensitive condition

That's probably MySQL rather than Laravel You'll need to write a raw SQL command like: $a = Items::w...

0 Likes
replied 11 years ago

How to make switching language button

:) @usm4n although perhaps better to retrieve the default language from the config rather than hardc...

0 Likes
replied 11 years ago

How to make switching language button

App::setlocale($language); This is only set for the current request - you will need to save the set...

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.