From Wikipedia, the free encyclopedia
Jump to: navigation, search
Laravel logo
Developer(s) Taylor Otwell
Initial release June 2011; 3 years ago (2011-06)[1]
Stable release 5.0.27[2] / April 4, 2015; 23 days ago (2015-04-04)
Development status Active
Written in PHP
Operating system Cross-platform
Type Web application framework
License MIT License

Laravel is a free, open source PHP web application framework, designed for the development of model–view–controller (MVC) web applications. Laravel is released under the MIT License, with its source code hosted on GitHub.[3][4][5]

According to a December 2013 developers survey on PHP frameworks popularity, Laravel was listed as the most popular PHP framework of 2013, followed by Phalcon, Symfony2, CodeIgniter and others.[6] As of August 2014, Laravel is the most popular and watched PHP project on GitHub.[7]


The following features serve as Laravel's key design points (where not specifically noted, descriptions refer to the features of Laravel 3):[3][4][5][8]

  • Bundles provide a modular packaging system to Laravel 3, with numerous bundled features already available for easy addition to applications. Laravel 4 uses Composer as a dependency manager to add framework-agnostic and Laravel-specific PHP packages available from the Packagist repository.[9]
  • Eloquent ORM (object-relational mapping) is an advanced PHP implementation of the active record pattern, providing at the same time internal methods for enforcing constraints on the relationships between database objects. Following the active record pattern, Eloquent ORM presents database tables as classes, with their object instances tied to single table rows.[10][11]
  • Query builder, available since Laravel 4, provides a more direct database access alternative to the Eloquent ORM. Instead of requiring SQL queries to be written directly, Laravel's query builder provides a set of classes and methods capable of building queries programmatically. It also allows selectable caching of the results of executed queries.[12]
  • Application logic is an integral part of developed applications, implemented either by using controllers or as part of the route declarations. Syntax used for definitions is similar to the one used by Sinatra framework.
  • Reverse routing defines a relationship between the links and routes, making it possible for later changes to routes to be automatically propagated into relevant links. When the links are created by using names of existing routes, the appropriate uniform resource identifiers (URIs) are automatically created by Laravel.
  • Restful controllers provide an optional way for separating the logic behind serving HTTP GET and POST requests.
  • Class auto loading provides automated loading of PHP classes without the need for manual maintenance of inclusion paths. On-demand loading prevents inclusion of unnecessary components, so only the actually used components are loaded.
  • View composers are logical code units that can be executed when a view is loaded.
  • IoC container makes it possible for new objects to be generated by following the inversion of control principle, with optional instantiating and referencing of new objects as singletons.
  • Migrations provide a version control system for database schemas, making it possible to associate changes in the application's codebase and required changes in the database layout. As a result, the deployment and updating of applications is significantly simplified.[13]
  • Database seeding provides a way to populate database tables with selected default data that can be used for application testing or be performed as part of the initial application setup.[13]
  • Unit testing plays an important role in Laravel, which itself contains numerous unit tests that detect and prevent regressions in the framework. Unit tests can be run through the artisan command-line utility.
  • Automatic pagination simplifies the task of implementing pagination, replacing the usual manual implementation approaches with automated methods integrated into Laravel.
  • Form request is a feature of Laravel 5 that serves as the base for form input validation by internally binding event listeners, resulting in automated invoking of the form validation methods and generation of the actual form.[14]


Laracon is a conference centered around the Laravel framework, primarily organized by UserScape with additional help provided by various sponsors.[15] As of August 2014, the following Laracons have been held:[16]

Date Location
February 22–23, 2013 Washington, D.C.
August 30–31, 2013[17] Amsterdam
May 15–16, 2014 New York City
August 28–30, 2014[18] Amsterdam

See also[edit]


  1. ^ Maks Surguy (July 27, 2013). "History of Laravel PHP framework, Eloquence emerging". Retrieved January 22, 2015. 
  2. ^ "laravel/framework: Release v5.0.27". April 4, 2015. Retrieved April 17, 2015. 
  3. ^ a b "Laravel Documentation (versions 3.0–3.2.14)". Retrieved August 30, 2014. 
  4. ^ a b "Laravel Documentation (version 4.2)". Retrieved August 30, 2014. 
  5. ^ a b Daniel Gafitescu (June 6, 2013). "Goodbye CodeIgniter, Hello Laravel". Retrieved December 21, 2013. 
  6. ^ Bruno Skvorc (December 28, 2013). "Best PHP Frameworks for 2014". Retrieved January 2, 2014. 
  7. ^ "Most popular and watched PHP projects". Retrieved August 30, 2014. 
  8. ^ Jeffrey Way (November 29, 2012). "Why Laravel is Taking the PHP Community by Storm". Retrieved December 21, 2013. 
  9. ^ "Laravel documentation (version 4.2): Package development". Retrieved August 30, 2014. 
  10. ^ "Eloquent ORM in Laravel: What and Why!". Retrieved December 19, 2014. 
  11. ^ "Develop Faster with the Laravel PHP Framework". Retrieved April 17, 2015. 
  12. ^ "Laravel documentation (version 4.0): Query builder". Retrieved April 27, 2015. 
  13. ^ a b "Laravel documentation (version 5.0): Migrations and seeding". Retrieved April 27, 2015. 
  14. ^ Manmeet Anand. "Creating a Contact Form in Laravel 5 Using the Form Request Feature!". Retrieved March 2, 2015. 
  15. ^ "Userscape home page". Retrieved January 2, 2014. 
  16. ^ "Laravel documentation: Laracon". Retrieved January 2, 2014. 
  17. ^ "Laracon EU 2013". Retrieved January 2, 2014. 
  18. ^ "Laracon EU 2014". Retrieved August 30, 2014. 

External links[edit]