Laravel is a very powerful framework, designed for php web application. It will give you ways to modularize your codes and make them look cleaner and easier to read and understand. It is open source software under MIT License.
Now, we will talk about some prominent features of this framework which make it different from other :
Bundles : These are small packages which you may download to add certain functionality to your web application. Hence, saving a lot of coding stuff and time. These may be containing some custom functionality.
Class Autoloading: It assure that correct components are loaded at correct time and saves a lot of your headache.
View Composer : Theses are block of codes which can run when view is loaded.
Unit testing: Laravel allows user to easily create unit test and run these test making use of Artisan utility.The best thing is it itself supports a number of test to ensure application stability.
The Eloquent ORM: The Eloquent ORM is the most advanced PHP ActiveRecord implementation available. With the capacity to easily apply constraints to both relationships and nested eager-loading you’ll have complete control over your data with all of the conveniences of ActiveRecord.
Application Logic : can be implemented within your application either using controllers or directly into route declarations.
Reverse Routing : allows you to create links to named routes. When creating links just use the route’s name and Laravel will automatically insert the correct URI. This allows you to change your routes at a later time and Laravel will update all of the relevant links site-wide.
Restful Controllers: are an optional way to separate your GET and POST request logic. In a login example your controller’s get_login() action would serve up the form and your controller’s post_login() action would accept the posted form, validate, and either redirect to the login form with an error message or redirect your user to their dashboard.
The IoC container (Inversion of Control): Inversion of Control gives you a method for generating new objects and optionally instantiating and referencing singletons. IoC means that you’ll rarely ever need to bootstrap any external libraries. It also means that you can access these objects from anywhere in your code without needing to deal with an inflexible monolithic structure.
Installation and Setup of Laravel
Apache or any other compatible web server
Since, Laravel makes use of PHP 5.3 features so it’s also requirement.
For detecting file Mime type Laravel make use of FileInfo Library. Windows users must enable this by making appropriate changes(include the bundled php_fileinfo.dll DLL file in php.ini) to include this extension.
It make use of Mcrypt library for security purposes. This library is mostly preinstalled but if you have problems in finding this, then check the vendor site of your LAMP installation
Websites using laravel:
Why i should using laravel: