Quantcast
Viewing all articles
Browse latest Browse all 1801

Extending Laravel 5’s Application →

Matt Stauffer has a new write up showing how easy it is to extend the Laravel 5 Application object.

This has come up recently because some folks are debating on whether or not Laravel 5 should make it easier to change the default folder paths–e.g. changing storage’s location, or changing public to be public_html. There are, at the time of this writing, no easy ways to do that other than extending Application, and that has some folks worried.

So, let’s do it. Let’s take a Laravel 5 application, extend its Application, and change its storage path to be /OMGStorage.


Extending Laravel 5’s Application is a post from Laravel News.


Viewing all articles
Browse latest Browse all 1801

Trending Articles