Laravel

Getting the Environment Name in Laravel 4

Laravel Environments in Laravel 4 are a great way to develop your application and have it respond to the environment it is running in. For example, most applications have two environments that they will ever...

Laravel Artisan Tinker: The throw-up Command

Laravel The throw-up command can be used to re-throw an exception out of a Tinker REPL session. By default, it throws the exception that last occurred, but will accept an exception instance as an...

Laravel Artisan Tinker: The env Command

Laravel The env command is used to simply return the name of the current framework environment. The environment name that is returned is set in the .env file (specifically whatever value is set for the APP_ENV...

Laravel Artisan Tinker: The history Command

Laravel The history command can be used to retrieve information about the commands have been previously entered in the Tinker REPL session. By using its various options, you can quickly search and find any history...

Laravel Artisan Tinker: The ls Command

Laravel The ls command is a useful command that can be used to learn more any class or instantiated object. It is capable of listing any defined variables, constants, functions, classes, interfaces, traits, properties...