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 4: Rendering a View to a String

Laravel Laravel 4 offers Views, a way to separate your applications controllers and business logic from your presentation layer. Sometimes, it can be useful to render the view into a local variable instead of...

Laravel 4: Getting User Input

Laravel No matter what application you're developing, or what platform you are developing on, it is a safe bet you need to get input from your users some how. Laravel 4 provides a really convenient way to do this using...

Laravel 4: Default Events

Laravel Laravel 4 provides a few events that are fired throughout your applications life cycle. This should just serve as a quick reference if you need to find where an event is called or what events are...

Laravel: Calling Artisan Commands From Your Application

Laravel This little tip will show you how to run Artisan commands from within your applications code, if you need to. <?php Route::get('example', function() { // Call and Artisan command from within your...