Laravel 5 Middleware Stack Decoded

In Version 4.1, Laravel included the support for the Middlewares: the independent filter classes implementing the HttpKernel’s HttpKernelInterface that can be placed on to the application’s request / response processing stack to alter the request / response, or, to introduce the additional functionality such as logging, session handling, caching etc. Read more…


New Helper functions In Laravel 5

Hi guys, I have compiled a list of new helper functions that will be available in Laravel 5 in addition to the current ones.

Routing

get($uri,$action)

Registers a route to handle HTTP GET requests just like Route::get method call but with less code.

Examples:

//usage with closure.
get('/',function(){
    return 'home page';
});

//usage with array as action argument.
get('/',['as'=>'home','uses'=>'HomeController@index']);

post($uri,$action)

Registers a route to handle HTTP POST requests just like Route::post method call but with less code. Read more…


Laravel 5 New Auth Generators and User Authentication

Laravel 5 New Auth Generators and User Authentication

Laravel 5 New Auth Generators and User Authentication Screenshot

In my previous article, I had covered the new added features for validation in Laravel 5. Today, we will cover the new authentication facilities that are available in Laravel 5. With the inclusion of new Auth Generators, the whole process of setting up an authentication system has now become so much easier. For the demonstration purpose we will create a simple user login and registration system. Read more…


Laravel 5 New Awesome Form Validation

Laravel 5 New Awesome Form Validation

Laravel 5 Form Validation Screenshot

The upcoming Laravel release i.e, 5 will be introducing some major changes in the Laravel Framework. The notable changes will be its new directory structure, the use of psr-4 auto-loading standard by default, support for Dependency Injection on Route and Controller methods and the one we will be discussing in this article i.e, form validation and form requests. Read more…


Creating a RESTful API using Laravel for AngularJS Frontend

This will be the last part of the AngularJS Polling Application Tutorial series. In this part, we will create a RESTful API using Laravel for the AngularJS Single Page Application that we had created in the previous parts of this tutorial series. Read more…