Support the ongoing development of Laravel.io →
thepsion5

thepsion5

Joined 3 Feb 2014

Statistics

Threads 1
Replies 119
Solutions 13
Articles 0

[EXERCISE] Refactoring Exercise #1 is Complete! Discuss.

After some interest in the Laravel subreddit, I've decided to run a refactoring exercise a few times...

0 Likes
5 Replies
replied 11 years ago

Getting a data from model & use in controller

chankl78 said: vernard said: chankl78 said: $nric = 'test'; $items = Model::all()->filter(fun...

0 Likes
replied 11 years ago

CSS reference to files

You should use non-relative URLs in your CSS where possible. For example, if your public directory h...

0 Likes
replied 11 years ago

Custom methods

Can you post your model and then the code you use to call the function?

0 Likes
replied 11 years ago

Call controller methods or named routes from crawler in tests?

Easy: $crawler->this->client->request('GET', action('HomeController@getIndex', $params));

0 Likes
replied 11 years ago

Twig and laravel - global variables?

I have a series of small helper function that does this for me: function active_url_strict($path, $c...

0 Likes
Solved

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.