Laravel

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Laravel
LaravelLogo.png
Developer(s) Taylor Otwell
Initial release February 22, 2012 (2012-02-22)[1]
Stable release 4.2.11[2] / October 4, 2014; 14 days ago (2014-10-04)
Development status Active
Written in PHP
Operating system Cross-platform
Type Web application framework
License MIT License
Website laravel.com

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 is listed as the most popular PHP framework in 2013, followed by Phalcon, Symfony2, CodeIgniter and others.[6] At the same time, as of August 2014 Laravel is the most popular and watched PHP project on GitHub.[7]

Features[edit]

The following features serve as Laravel's key design points (where it is not noted, Laravel 3.x features are described):[3][4][5][8]

  • Bundles provide a modular packaging system to Laravel 3.x, with numerous bundled features already available for easy addition to applications. Laravel 4.x uses Composer as a dependency manager to add framework-agnostic and Laravel-specific PHP packages available from Packagist repository.[9]
  • Eloquent ORM (object-relational mapping) is an advanced PHP implementation of the active record pattern, providing internal methods for enforcing constraints to the relationships between database objects. Laravel's query builder, Fluent, 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 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 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 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.

Conferences[edit]

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

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

See also[edit]

References[edit]

  1. ^ "Release v3.0.0". "laravel/laravel". github.com. February 22, 2012. Retrieved February 14, 2014. 
  2. ^ "Release v4.2.11: Merge pull request #5972 from GrahamCampbell/4.2-test-views". "laravel/framework". github.com. October 4, 2014. Retrieved October 15, 2014. 
  3. ^ a b "Laravel Documentation (versions 3.0–3.2.14)". three.laravel.com. Retrieved August 30, 2014. 
  4. ^ a b "Laravel Documentation (version 4.2)". laravel.com. Retrieved August 30, 2014. 
  5. ^ a b Daniel Gafitescu (June 6, 2013). "Goodbye CodeIgniter, Hello Laravel". sitepoint.com. Retrieved December 21, 2013. 
  6. ^ Bruno Skvorc (December 28, 2013). "Best PHP Frameworks for 2014". sitepoint.com. Retrieved January 2, 2014. 
  7. ^ "Most popular and watched PHP projects". github.com. Retrieved August 30, 2014. 
  8. ^ Jeffrey Way (November 29, 2012). "Why Laravel is Taking the PHP Community by Storm". tutsplus.com. Retrieved December 21, 2013. 
  9. ^ "Package Development". "Laravel Documentation (version 4.2)". Retrieved August 30, 2014. 
  10. ^ "Userscape home page". userscape.com. Retrieved January 2, 2014. 
  11. ^ "Laracon". "Laravel wiki". laravel.io. Retrieved January 2, 2014. 
  12. ^ "Laracon EU 2013". laracon.eu. Retrieved January 2, 2014. 
  13. ^ "Laracon EU 2014". laracon.eu. Retrieved August 30, 2014. 

External links[edit]