Articles tagged with #framework




How to set local environment as default in command line (CLI) for Larvel 4 artisan

Typically when Laravel 4 artisan is run from the command line (cli) it uses the production configuration files. This can be changed by using a flag when running the command. [ps]php artisan migrate --env=local[/ps] However, adding --env-=local each time while running a script can slow down …



How to add a library folder to Laravel 4

I typically use a library folder in my projects to group of files that you want to use in different projects but don't want to use Satis to manage the contained files. This folder could also be a helper folder for functions that are static and are mainly generic helpers …