Laravel (framework)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Developer(s) Taylor Otwell
Initial release February 22, 2012 (2012-02-22)[1]
Stable release 4.2.3[2] / 11 June 2014; 27 days ago (2014-06-11)
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 MVC web applications. Laravel is released under the MIT license, with its source code hosted on GitHub.[3][4]

According to a December 2013 developers survey on PHP frameworks popularity, Laravel is listed as the most popular PHP framework in 2013, followed by Phalcon, Symfony2, CodeIgniter and others.[5]


The following features serve as Laravel's key design points:[3][4][6]

  • Bundles provide Laravel with a modular packaging system, and numerous bundled features are already available for easy addition to applications.
  • Eloquent ORM is an advanced PHP implementation of the active record pattern, providing internal methods for enforcing constraints to the relationships between database objects. Laravel's Fluent query builder is natively supported by Eloquent.
  • Application logic is part of developed applications, either by using controllers, or as part of route declarations. Syntax used for definitions is similar to the one used by Sinatra framework.
  • Reverse routing defines a relationship between links and routes, making it possible for later changes to routes to be automatically propagated into relevant links. When links are created by using names of existing routes, appropriate 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 loading of unnecessary components; only the components which are actually used 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 code base and required changes in the database layout, easing deployment and updating of applications.
  • Unit testing plays an important role in Laravel, which itself has a large number of tests for detecting and preventing regressions. 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.


Laracon is a conference centered around the Laravel framework. The first Laracon was held in Washington, D.C. on 22–23 February 2013, while the second Laracon was held in Amsterdam on 30–31 August 2013, as the first European Laracon. The third Laracon was held in New York City on 15–16 May 2014. All of these conferences are largely organized by UserScape with additional help provided by various sponsors.[7][8][9]

See also[edit]


  1. ^ "Release v3.0.0". laravel/laravel. 2012-02-22. Retrieved 2014-02-14. 
  2. ^ "Release v4.2.3". laravel/framework. 2014-06-11. Retrieved 2014-06-12. 
  3. ^ a b "Laravel Documentation". Retrieved 2013-12-17. 
  4. ^ a b Daniel Gafitescu (2013-06-06). "Goodbye CodeIgniter, Hello Laravel". Retrieved 2013-12-21. 
  5. ^ Bruno Skvorc (2013-12-28). "Best PHP Frameworks for 2014". Retrieved 2014-01-02. 
  6. ^ Jeffrey Way (2012-11-29). "Why Laravel is Taking the PHP Community by Storm". Retrieved 2013-12-21. 
  7. ^ "Laravel wiki". Retrieved 2014-01-02. 
  8. ^ "Laracon EU 2013". Retrieved 2014-01-02. 
  9. ^ "Userscape home page". Retrieved 2014-01-02. 

External links[edit]