4
Php

Laravel-5.0 And Routing

Well, Laravel version 5.0 has some major changes in it’s folder structure and it’s really better than before. The new structure separates the Http Layer (The delivery mechanism of a web application) and inside the app directory there is a new Http folder which contains three folders, Controllers, Middleware, Requests and the routes.php file. As […]

0
Php

Laravel – 5.0 And Middlewares

In Laravel-5.0 we can now use Middlewares instead of filters such as before but Middlewares are not new and was available in Laravel-4 as well. In version-4 if we need a Middleware then we may use a custom Middleware by creating a class and implementing the HttpKernelInterface interface, for example in laravel-4 we can create […]