Misplaced Pages

Laravel: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 12:54, 25 December 2013 editDsimic (talk | contribs)Extended confirmed users, Pending changes reviewers, Rollbackers39,664 edits External links: Deleted now redundant link (used as a reference instead)← Previous edit Latest revision as of 04:34, 24 December 2024 edit undoCitation bot (talk | contribs)Bots5,445,340 edits Removed parameters. | Use this bot. Report bugs. | #UCB_CommandLine 
Line 1: Line 1:
{{Short description|PHP open-source web application framework}}
{{Infobox Software
{{Use mdy dates|date=August 2014}}
{{advert|date=March 2024}}
{{Infobox software
| title =
| name = Laravel | name = Laravel
| logo = LaravelLogo.png | logo = Laravel.svg
| screenshot = | logo upright = yes
| caption = Logo of Laravel framework | logo alt = Laravel logo
| screenshot =
| caption =
| developer = Taylor Otwell | developer = Taylor Otwell
| released = {{Start date and age|2011|06}}<ref name="maxoffsky">{{Cite web | url = http://maxoffsky.com/code-blog/history-of-laravel-php-framework-eloquence-emerging/ | title = History of the Laravel PHP framework, Eloquence emerging | date = July 27, 2013 | access-date = May 10, 2015 | author = Maks Surguy | website = maxoffsky.com | archive-date = November 27, 2020 | archive-url = https://web.archive.org/web/20201127083442/https://maxoffsky.com/code-blog/history-of-laravel-php-framework-eloquence-emerging/ | url-status = live }}</ref>
| released = {{release date|2011|06|11}}
| latest release version = 4.1 | latest release version = {{wikidata|property|reference|edit|P348}}
| latest release date = {{start date and age|2013|12|11|df=yes}} | latest release date = {{start date and age|{{wikidata|qualifier|single|P348|P577}}}}
| repo = {{URL|https://github.com/laravel/framework}}
| operating system = ]
| platform =
| language =
| status = Active
| programming language = ] | programming language = ]
| operating system =
| platform =
| language =
| genre = ]
| license = ] | license = ]
| genre = ] | website = {{Official URL}}
| website = http://laravel.com
}} }}


'''Laravel''' is a ] ]-based ] for building web applications.<ref>{{Cite web |title=Laravel Introduction: A PHP Framework for Building High-End Web Applications |url=https://www.w3schools.in/laravel/intro |access-date=2024-03-27 |website=www.w3schools.in}}</ref> It was created by Taylor Otwell and intended for the development of web applications following the ] (MVC) ] and based on ]. Some of the features of Laravel include modular ] with a dedicated dependency manager, different ways for accessing ]s, utilities that aid in ] and maintenance, and its orientation toward ].<ref name="sitepoint">{{Cite web | url = http://www.sitepoint.com/goodbye-codeigniter-hello-laravel/ | title = Goodbye CodeIgniter, Hello Laravel | date = June 6, 2013 | access-date = December 21, 2013 | author = Daniel Gafitescu | website = sitepoint.com | archive-date = November 30, 2020 | archive-url = https://web.archive.org/web/20201130120112/https://www.sitepoint.com/goodbye-codeigniter-hello-laravel/ | url-status = live }}</ref><ref name="packt-essentials">{{Cite book | url = https://books.google.com/books?id=BWO4CAAAQBAJ | title = Laravel 5 Essentials | date = April 2015 | access-date = September 2, 2015 | author = Martin Bean | publisher = ] | isbn = 978-1785283017 | archive-date = February 19, 2023 | archive-url = https://web.archive.org/web/20230219044610/https://books.google.com/books?id=BWO4CAAAQBAJ | url-status = live }}</ref>{{rp|2,5&ndash;9}}<ref name="docs-3.x">{{Cite web | url = http://three.laravel.com/docs | title = Laravel Documentation (versions 3.0&ndash;3.2.14) | access-date = August 30, 2014 | website = three.laravel.com | archive-url = https://web.archive.org/web/20140826200324/http://three.laravel.com/docs/ | archive-date = August 26, 2014 | url-status = dead }}</ref><ref name="docs-4.x">{{Cite web | url = http://laravel.com/docs | title = Laravel Documentation (version 4.2) | access-date = August 30, 2014 | website = laravel.com | archive-date = September 20, 2014 | archive-url = https://web.archive.org/web/20140920185225/http://laravel.com/docs | url-status = live }}</ref>
'''Laravel''' is a free, open-source ] ], intended for development of ] web applications. Laravel is released under the ], with its source code hosted on ].<ref name="utexas">{{cite web
| url = https://tower.la.utexas.edu/docs
| title = Laravel Documentation
| accessdate = 2013-12-17
| publisher = utexas.edu
}}</ref><ref name="sitepoint">{{cite web
| url = http://www.sitepoint.com/goodbye-codeigniter-hello-laravel/
| title = Goodbye CodeIgniter, Hello Laravel
| date = 2013-06-06 | accessdate = 2013-12-21
| author = Daniel Gafitescu | publisher = sitepoint.com
}}</ref>


The ] of Laravel is hosted on ] and licensed under the terms of ].<ref>{{Cite web | url = https://github.com/laravel/framework | title = laravel/framework: The Laravel Framework | access-date = January 17, 2023 | website = github.com | archive-date = January 16, 2023 | archive-url = https://web.archive.org/web/20230116175057/https://github.com/laravel/framework | url-status = live }}</ref>
== Features ==
The following features are serving as Laravel's key design points:<ref name="utexas" /><ref name="sitepoint" /><ref>{{cite web
| url = https://tutsplus.com/tutorial/why-laravel-is-taking-the-php-community-by-storm/
| title = Why Laravel is Taking the PHP Community by Storm
| date = 2012-11-29 | accessdate = 2013-12-21
| author = Jeffrey Way | publisher = tutsplus.com
}}</ref>


== History ==
* '''Bundles''' are providing Laravel with a modular packaging system, and a number of bundled features is already available for easy addition to developed applications.
Taylor Otwell created Laravel as an attempt to provide a more advanced alternative to the ] framework, which did not provide certain features such as built-in support for user ] and ]. Laravel's first ] was made available on June 9, 2011, followed by the Laravel 1 release later in the same month. Laravel 1 included built-in support for authentication, ], ], ], ], routing and other mechanisms, but lacked support for ] that prevented it from being a true ] framework.<ref name="maxoffsky" />
* '''Eloquent ]''' is an advanced PHP implementation of the ], 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 ] 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 ]s are automatically created by Laravel.
* '''Restful controllers''' are providing an optional way for separating the logic behind serving ] and ] requests.
* '''Class auto loading''' provides automated loading of PHP classes, without the need for manual maintenance of inclusion paths. On-demand loading prevents unnecessary components to be loaded when they actually are not used.
* '''View composers''' are logical code units that can be executed when a view is loaded.
* '''] container''' makes it possible for new objects to be generated by following the ] principle, with optional instantiating and referencing of new objects as ]s.
* '''Migrations''' are providing a ] system for ]s, making it possible to associate changes in the application's code base and required changes in the database layout, easing up deployment and updating of developed applications.
* ''']ing''' is playing an important role in Laravel, which itself has a large number of tests preventing ]. Unit tests can be run through the <code>artisan</code> command-line utility.
* '''Automatic pagination''' simplifies the task of implementing pagination, replacing the usual manual implementation approaches with automated methods integrated into Laravel.


Laravel 2 was released in September 2011, bringing various improvements from the author and community. Major new features included the support for controllers, which made Laravel 2 a fully MVC-compliant framework, built-in support for the ] (IoC) principle, and a ] called ''Blade''. As a downside, support for third-party ] was removed in Laravel 2.<ref name="maxoffsky" />
== Conferences ==

''Laracon'' is a conference centered around the Laravel framework. The first Laracon was held in ] on 22&ndash;23 February 2013, while the second Laracon was held in ] on 30&ndash;31 August 2013, as the first European Laracon. The third Laracon is planned to be held in ] on 15&ndash;16 May 2014. All of these conferences are largely organized by UserScape with additional help provided by various sponsors.<ref></ref><ref></ref><ref></ref>
Laravel 3 was released in February 2012 with a set of new features including the ] ] (CLI) named ''Artisan'', built-in support for more ]s, database migrations as a form of ] for database layouts, support for handling ], and a packaging system called ''Bundles''. An increase of Laravel's userbase and popularity lined up with the release of Laravel 3.<ref name="maxoffsky" />

Laravel 4, codenamed ''Illuminate'', was released in May 2013. It was made as a complete rewrite of the Laravel framework, migrating its layout into a set of separate packages distributed through ], which serves as an ]. Such a layout improved the extensibility of Laravel 4, which was paired with its official regular release schedule spanning six months between minor ]s. Other new features in the Laravel 4 release include ] for the initial population of databases, support for ]s, built-in support for sending different types of email, and support for delayed deletion of database records called ''soft deletion''.<ref name="maxoffsky" /><ref name="packt-getting-started">{{Cite book | title = Getting Started with Laravel 4 | date = January 2014 | author = Raphaël Saunier | publisher = ] | isbn = 978-1783287031 |oclc = 868960968}}</ref>{{rp|18&ndash;19}}

Laravel 5 was released in February 2015 as a result of internal changes that ended up in renumbering the then-future Laravel 4.3 release. New features in the Laravel 5 release include support for scheduling periodically executed tasks through a package called ''Scheduler'', an abstraction layer called ''Flysystem'' that allows remote storage to be used in the same way as local ]s, improved handling of package assets through ''Elixir'', and simplified externally handled authentication through the optional ''Socialite'' package. Laravel 5 also introduced a new internal ] structure for developed applications.<ref name="packt-essentials" />{{rp|13&ndash;14}}<ref>{{Cite web | url = http://laravel-news.com/2015/01/laravel-5/ | title = Laravel 5 | date = January 30, 2015 | access-date = May 10, 2015 | author = Eric Barnes | website = laravel-news.com | archive-date = November 11, 2016 | archive-url = https://web.archive.org/web/20161111191329/https://laravel-news.com/2015/01/laravel-5/ | url-status = live }}</ref>

Lumen 5.0 is the initial release of the Lumen framework, a light derivative of Laravel optimized for speed.<ref>{{Cite web |title=Introducing Lumen from Laravel |url=https://mattstauffer.com/blog/introducing-lumen-from-laravel/ |access-date=2022-07-25 |website=Matt Stauffer |language=en |archive-date=August 18, 2022 |archive-url=https://web.archive.org/web/20220818011033/https://mattstauffer.com/blog/introducing-lumen-from-laravel/ |url-status=live }}</ref> This initial release is based on the Laravel 5.x series of PHP components, and following versions reflect the Laravel versions with which it shares common infrastructure.<ref name="release-9.x" /> As of 2022, authors no longer recommend the use of Lumen for gaining these advantages, and promote Laravel Octane instead.<ref>{{Citation |last=Sorgner |first=Stefan Lorenz |title=The End as a New Beginning |date=2021-11-04 |url=http://dx.doi.org/10.1332/policypress/9781529219203.003.0005 |work=We Have Always Been Cyborgs |pages=185–187 |publisher=Policy Press |doi=10.1332/policypress/9781529219203.003.0005 |isbn=9781529219203 |access-date=2022-07-25 |archive-date=February 19, 2023 |archive-url=https://web.archive.org/web/20230219044611/https://apps.crossref.org/coaccess/coaccess.html?doi=10.1332%2Fpolicypress%2F9781529219203.003.0005 |url-status=live }}</ref>

Laravel 5.1, released in June 2015, was the first release of Laravel to receive ] (LTS). New LTS versions were planned for one every two years.<ref>{{Cite web | url = https://laravel-news.com/2015/06/laravel-5-1-released/ | title = Laravel 5.1 is released | date = June 9, 2015 | access-date = June 14, 2015 | author = Eric L. Barnes | website = laravel-news.com | archive-date = May 12, 2016 | archive-url = https://web.archive.org/web/20160512080724/https://laravel-news.com/2015/06/laravel-5-1-released/ | url-status = live }}</ref>

Laravel 5.3 was released on August 23, 2016. The new features in 5.3 are focused on improving developer speed by adding additional out of the box improvements for common tasks.<ref>{{Cite web | url = https://laravel-news.com/2016/08/laravel-5-3-is-now-released/ | title = Laravel 5.3 is now released | date = August 23, 2016 | access-date = August 23, 2016 | author = Eric L. Barnes | website = laravel-news.com | archive-date = August 28, 2016 | archive-url = https://web.archive.org/web/20160828094550/https://laravel-news.com/2016/08/laravel-5-3-is-now-released/ | url-status = live }}</ref>

Laravel 5.4 was released on January 24, 2017, with many new features like Laravel Dusk, Laravel Mix, Blade Components and Slots, Markdown Emails, Automatic Facades, Route Improvements, Higher Order Messaging for Collections, and many others.<ref>{{Cite news|url=https://laravel-news.com/laravel-5-4|title=Laravel 5.4 Is Now Released|date=2017-01-24|newspaper=Laravel News|access-date=2017-02-21|language=en-US|archive-date=November 25, 2020|archive-url=https://web.archive.org/web/20201125135057/https://laravel-news.com/laravel-5-4|url-status=live}}</ref>

Laravel 6 was released on September 3, 2019. It incorporated shift blueprint code generation, semantic versioning, compatibility with Laravel Vapor, improved authorization responses, improved job middleware, lazy collections, and sub-query improvements. The frontend scaffolding was removed from the main package and moved into the laravel/ui package.<ref>{{cite web |title=Laravel 6 release notes |url=https://laravel.com/docs/6.x/releases#laravel-6 |website=Laravel |access-date=November 1, 2019 |archive-date=January 30, 2021 |archive-url=https://web.archive.org/web/20210130213618/https://laravel.com/docs/6.x/releases#laravel-6 |url-status=live }}</ref>

Laravel 7 was released on March 3, 2020, with new features like Laravel Sanctum, Custom Eloquent Casts, Blade Component Tags, Fluent String Operations and Route Model Binding Improvements.<ref>{{Cite web|url=https://laravel.com/docs/7.x/releases|title=Release Notes - Laravel - The PHP Framework For Web Artisans|website=laravel.com|access-date=2020-03-09|archive-date=March 10, 2020|archive-url=https://web.archive.org/web/20200310000732/https://laravel.com/docs/7.x/releases|url-status=live}}</ref>

Laravel 8 was released on September 8, 2020, with new features like Laravel Jetstream, model factory classes, migration squashing, ] for pagination views and other usability improvements.<ref name="release-8.x">{{Cite web|url=https://laravel.com/docs/8.x/releases|title=Release Notes - Laravel - The PHP Framework For Web Artisans|website=laravel.com|access-date=2020-05-09|archive-date=July 21, 2021|archive-url=https://web.archive.org/web/20210721185137/https://laravel.com/docs/8.x/releases|url-status=live}}</ref>

Laravel 9 was released on February 8, 2022.<ref name="release-9.x">{{Cite web|url=https://laravel.com/docs/9.x/releases|title=Release Notes - Laravel - The PHP Framework For Web Artisans|website=laravel.com|access-date=2022-02-12|archive-date=February 10, 2022|archive-url=https://web.archive.org/web/20220210111851/https://laravel.com/docs/9.x/releases|url-status=live}}</ref>

Laravel 10 was released on February 14, 2023.<ref name="release-10.x">{{Cite web |title=Laravel 10 is released |url=https://laravel-news.com/laravel-10 |access-date=2023-02-13 |website=laravel-news.com |archive-date=February 14, 2023 |archive-url=https://web.archive.org/web/20230214195402/https://laravel-news.com/laravel-10 |url-status=live }}</ref>

Laravel 11 was released on March 12, 2024. It was announced on the Laravel blog and other social media, it was also discussed in detail at Laracon EU in Amsterdam on 5–6 February.<ref>{{Citation |title=LARACON EU 2024 // TAYLOR OTWELL :: LARAVEL UPDATE |url=https://www.youtube.com/watch?v=0g7HqfsCX4Y |access-date=2024-03-19 |language=en}}</ref> Along with Laravel 11, a first-party websocket server called Laravel Reverb was released.

Laravel 12 is the latest upcoming framework which is expected to be released in the Q1, 2025. As per the latest , Laravel 12 will be supported with the bug fixes until Q3, 2026 and security fixes will extend until Q1, 2027. This framework will be compatible with PHP versions 8.2 - 8.3 following the latest standard in the PHP ecosystem. There is also a major update for all the Laravel releases that the bug fixes are provided for 18 months and security fixes are provided for 2 years. <ref>{{Cite web |last=Rasonix |first=Amit |date=December 12, 2024 |title=Laravel Support Policy |url=https://laravel.com/docs/master/releases#laravel-12 |access-date=December 12, 2024 |website=Laravel.com}}</ref>

=== Release history ===
Starting with Laravel 5 and up to Laravel 8, versions designated LTS were supported with bug fixes for 2 years and security fixes for 3 years. Other releases were supported with bug fixes for 6 months and security fixes for 1 year.<ref>{{cite web |url=https://laravel.com/docs/5.4/releases/ |title=Laravel Documentation: Releases |publisher=Laravel |access-date=February 26, 2017 |archive-date=November 23, 2020 |archive-url=https://web.archive.org/web/20201123224715/https://laravel.com/docs/5.4/releases |url-status=live }}</ref> As of version 8, major versions are released yearly, and the support timeline was changed to provide every version with 18 months of bugfixes and 2 years of security fixes. For additional libraries, only the latest major release receives bug fixes.<ref name="release-8.x" />

{| class="wikitable"
! Version
! Release date<ref>{{cite web|url=https://github.com/laravel/laravel/releases|title=Github Repository Release Notes - Laravel|publisher=Laravel|access-date=November 2, 2019|archive-date=March 3, 2019|archive-url=https://web.archive.org/web/20190303022303/https://github.com/laravel/laravel/releases|url-status=live}}</ref>
! Bug Fixes Until
! Security Fixes Until
! PHP version
|-
! {{Version |o |1.0}}
| June 2011
|
|
|
|-
! {{Version |o |2.0}}
| September 2011
|
|
|
|-
! {{Version |o |3.0}}
| February 22, 2012
|
|
|
|-
! {{Version |o |3.1}}
| March 27, 2012
|
|
|
|-
! {{Version |o |3.2}}
| May 22, 2012
|
|
|
|-
! {{Version |o |4.0}}
| May 28, 2013
|
|
| style="text-align:right;" | ≥ 5.3.0
|-
! {{Version |o |4.1}}
| December 12, 2013
|
|
| style="text-align:right;" | ≥ 5.3.0
|-
! {{Version |o |4.2}}
| June 1, 2014
|
|
| style="text-align:right;" | ≥ 5.4.0
|-
! {{Version |o |5.0}}
| February 4, 2015
| August 4, 2015
| February 4, 2016
| style="text-align:right;" | ≥ 5.4.0
|-
! {{Version |o |5.1 LTS}}
| June 9, 2015
| June 9, 2017
| June 9, 2018
| style="text-align:right;" | ≥ 5.5.9
|-
! {{Version |o |5.2}}
| December 21, 2015
| June 21, 2016
| December 21, 2016
| style="text-align:right;" | ≥ 5.5.9
|-
! {{Version |o |5.3}}
| August 23, 2016
| February 23, 2017
| August 23, 2017
| style="text-align:right;" | ≥ 5.6.4
|-
! {{Version |o |5.4}}
| January 24, 2017
| July 24, 2017
| January 24, 2018
| style="text-align:right;" | ≥ 5.6.4
|-
! {{Version |o |5.5 LTS}}
| August 30, 2017
| August 30, 2019
| August 30, 2020
| style="text-align:right;" | ≥ 7.0.0
|-
! {{Version |o |5.6}}
| February 7, 2018
| August 7, 2018
| February 7, 2019
| style="text-align:right;" | ≥ 7.1.3
|-
! {{Version |o |5.7}}
| September 4, 2018
| March 4, 2019
| September 4, 2019
| style="text-align:right;" | ≥ 7.1.3
|-
! {{Version |o |5.8}}
| February 26, 2019
| August 26, 2019
| February 26, 2020
| style="text-align:right;" | ≥ 7.1.3
|-
! {{Version |o |6 LTS}}
| September 3, 2019
| January 25, 2022
| September 6, 2022
| style="text-align:right;" | 7.2 – 8.0<ref name="6-support">{{Cite web |url= https://laravel-news.com/laravel-9-released |title= Laravel 9 is Now Released |date= February 8, 2022 |access-date= February 9, 2022 |archive-date= February 17, 2022 |archive-url= https://web.archive.org/web/20220217042042/https://laravel-news.com/laravel-9-released |url-status= live }}</ref>
|-
! {{Version |o |7 }}
| March 3, 2020<ref>{{cite tweet|number=1227607366717321216|user=laravelphp|title=We are aiming to release Laravel 7.x...|date=February 12, 2020}}</ref>
| October 6, 2020
| March 3, 2021
| style="text-align:right;" | 7.2 – 8.0<ref name="release-8.x" />
|-
! {{Version |o |8 }}
| September 8, 2020
| July 26, 2022
| January 24, 2023
| style="text-align:right;" | 7.3 – 8.1<ref name=8-support>{{Cite web |url=https://blog.laravel.com/laravel-php-8-support |title=Laravel: PHP 8 Support |publisher=Laravel |date=November 26, 2020 |access-date=2021-08-06 |archive-date=July 23, 2021 |archive-url=https://web.archive.org/web/20210723054622/https://blog.laravel.com/laravel-php-8-support |url-status=live }}</ref>
|-
! {{Version|o|9}}
| February 8, 2022<ref name="6-support" />
| August 8, 2023
| February 6, 2024
| style="text-align:right;" | 8.0 – 8.2<ref name="6-support" />
|-
! {{Version|co|10}}
| February 14, 2023
| August 6, 2024
| February 4, 2025
| style="text-align:right;" | 8.1 – 8.3<ref name="release-10.x"/>
|-
! {{Version|c|11}}
| March 12, 2024
| September 3, 2025
| March 12, 2026
| style="text-align:right;" | ≥ 8.2<ref name="laravel.com">{{Cite web |title=Laravel - The PHP Framework For Web Artisans |url=https://laravel.com/ |access-date=2024-03-13 |website=laravel.com |language=en}}</ref>
|-
! {{Version|p|12}}
| Q1 2025
| Q3 2026
| Q1 2027
| style="text-align:right;" | ≥ 8.2<ref name="laravel.com"/>
|}
{{Version|t|show=11111}}

== Laracon ==
''Laracon'' is the official Laravel conference centered around the Laravel framework, covering its development, uses, and related general ] topics. Laracon has taken place in the ], ], ], ] and online in the past.<ref>{{Cite web|url=https://laracon.net/|title=Laracon Online {{!}} The official worldwide Laravel online conference|website=laracon.net|language=en|access-date=2017-03-24|archive-date=December 16, 2020|archive-url=https://web.archive.org/web/20201216154215/https://laracon.net/|url-status=live}}</ref><ref>{{Cite web|url=https://laravel-news.com/search?q=laracon|title=Search Results|website=laravel-news.com|language=en|access-date=2017-03-24|archive-date=May 29, 2020|archive-url=https://web.archive.org/web/20200529025340/https://laravel-news.com/search?q=laracon|url-status=live}}</ref> Typically, the conference happens in the ] and ] every year. 2017 was the first year a Laracon was held as an online event only. 2018 was the first year a Laracon was held in Australia. Each year the conference has a different variety of sponsors and organizers, but Laravel, Laravel News and UserScape are usually the primary organizers.

While the numerous Laracon conferences are officially run, a number of other conferences are run under the name of Laravel Live. Currently, there are yearly held Laravel Live UK, Laravel Live Denmark and Laravel Live India conferences.<ref>{{Cite web|title=Laravel Live UK {{!}} Home|url=https://laravellive.uk/|access-date=2020-08-05|website=laravellive.uk|archive-date=August 14, 2020|archive-url=https://web.archive.org/web/20200814042204/https://laravellive.uk/|url-status=live}}</ref><ref>{{Cite web|title=Laravel Live Denmark 2024|url=https://laravellive.dk/}}</ref><ref>{{Cite web|title=Laravel Live India Community|url=https://laravellive.in/|access-date=2020-08-05|website=Laravel Live India Community|language=en-US|archive-date=August 10, 2020|archive-url=https://web.archive.org/web/20200810151816/https://laravellive.in/|url-status=live}}</ref> While these are not officially run, they have the permission of Taylor Otwell to use the name Laravel.
{{clear}}


== See also == == See also ==
{{Portal|Computer programming|Free and open-source software}}
* ]

* ]
* ]
* ]
* ]
* ], a ] built upon Laravel
* ], a front-end framework that's shipped by default within Laravel


== References == == References ==
Line 62: Line 235:


== External links == == External links ==
{{Commons category|Laravel}}
* {{Official website|http://www.laravel.com/}}
* {{Official website}}
*
*
*
*



{{PHP}} {{Web frameworks}}
{{Application frameworks}}


] ]
] ]
] ]
]

Latest revision as of 04:34, 24 December 2024

PHP open-source web application framework

This article contains promotional content. Please help improve it by removing promotional language and inappropriate external links, and by adding encyclopedic text written from a neutral point of view. (March 2024) (Learn how and when to remove this message)
Laravel logo
Developer(s)Taylor Otwell
Initial releaseJune 2011; 13 years ago (2011-06)
Stable release11.5.0 Edit this on Wikidata / 17 December 2024; 27 days ago (17 December 2024)
Repositorygithub.com/laravel/framework
Written inPHP
TypeWeb framework
LicenseMIT License
Websitelaravel.com Edit this at Wikidata

Laravel is a free and open-source PHP-based web framework for building web applications. It was created by Taylor Otwell and intended for the development of web applications following the model–view–controller (MVC) architectural pattern and based on Symfony. Some of the features of Laravel include modular packaging system with a dedicated dependency manager, different ways for accessing relational databases, utilities that aid in application deployment and maintenance, and its orientation toward syntactic sugar.

The source code of Laravel is hosted on GitHub and licensed under the terms of MIT License.

History

Taylor Otwell created Laravel as an attempt to provide a more advanced alternative to the CodeIgniter framework, which did not provide certain features such as built-in support for user authentication and authorization. Laravel's first beta release was made available on June 9, 2011, followed by the Laravel 1 release later in the same month. Laravel 1 included built-in support for authentication, localisation, models, views, sessions, routing and other mechanisms, but lacked support for controllers that prevented it from being a true MVC framework.

Laravel 2 was released in September 2011, bringing various improvements from the author and community. Major new features included the support for controllers, which made Laravel 2 a fully MVC-compliant framework, built-in support for the inversion of control (IoC) principle, and a templating system called Blade. As a downside, support for third-party packages was removed in Laravel 2.

Laravel 3 was released in February 2012 with a set of new features including the cmd command-line interface (CLI) named Artisan, built-in support for more database management systems, database migrations as a form of version control for database layouts, support for handling events, and a packaging system called Bundles. An increase of Laravel's userbase and popularity lined up with the release of Laravel 3.

Laravel 4, codenamed Illuminate, was released in May 2013. It was made as a complete rewrite of the Laravel framework, migrating its layout into a set of separate packages distributed through Composer, which serves as an application-level package manager. Such a layout improved the extensibility of Laravel 4, which was paired with its official regular release schedule spanning six months between minor point releases. Other new features in the Laravel 4 release include database seeding for the initial population of databases, support for message queues, built-in support for sending different types of email, and support for delayed deletion of database records called soft deletion.

Laravel 5 was released in February 2015 as a result of internal changes that ended up in renumbering the then-future Laravel 4.3 release. New features in the Laravel 5 release include support for scheduling periodically executed tasks through a package called Scheduler, an abstraction layer called Flysystem that allows remote storage to be used in the same way as local file systems, improved handling of package assets through Elixir, and simplified externally handled authentication through the optional Socialite package. Laravel 5 also introduced a new internal directory tree structure for developed applications.

Lumen 5.0 is the initial release of the Lumen framework, a light derivative of Laravel optimized for speed. This initial release is based on the Laravel 5.x series of PHP components, and following versions reflect the Laravel versions with which it shares common infrastructure. As of 2022, authors no longer recommend the use of Lumen for gaining these advantages, and promote Laravel Octane instead.

Laravel 5.1, released in June 2015, was the first release of Laravel to receive long-term support (LTS). New LTS versions were planned for one every two years.

Laravel 5.3 was released on August 23, 2016. The new features in 5.3 are focused on improving developer speed by adding additional out of the box improvements for common tasks.

Laravel 5.4 was released on January 24, 2017, with many new features like Laravel Dusk, Laravel Mix, Blade Components and Slots, Markdown Emails, Automatic Facades, Route Improvements, Higher Order Messaging for Collections, and many others.

Laravel 6 was released on September 3, 2019. It incorporated shift blueprint code generation, semantic versioning, compatibility with Laravel Vapor, improved authorization responses, improved job middleware, lazy collections, and sub-query improvements. The frontend scaffolding was removed from the main package and moved into the laravel/ui package.

Laravel 7 was released on March 3, 2020, with new features like Laravel Sanctum, Custom Eloquent Casts, Blade Component Tags, Fluent String Operations and Route Model Binding Improvements.

Laravel 8 was released on September 8, 2020, with new features like Laravel Jetstream, model factory classes, migration squashing, Tailwind CSS for pagination views and other usability improvements.

Laravel 9 was released on February 8, 2022.

Laravel 10 was released on February 14, 2023.

Laravel 11 was released on March 12, 2024. It was announced on the Laravel blog and other social media, it was also discussed in detail at Laracon EU in Amsterdam on 5–6 February. Along with Laravel 11, a first-party websocket server called Laravel Reverb was released.

Laravel 12 is the latest upcoming framework which is expected to be released in the Q1, 2025. As per the latest laravel policy, Laravel 12 will be supported with the bug fixes until Q3, 2026 and security fixes will extend until Q1, 2027. This framework will be compatible with PHP versions 8.2 - 8.3 following the latest standard in the PHP ecosystem. There is also a major update for all the Laravel releases that the bug fixes are provided for 18 months and security fixes are provided for 2 years.

Release history

Starting with Laravel 5 and up to Laravel 8, versions designated LTS were supported with bug fixes for 2 years and security fixes for 3 years. Other releases were supported with bug fixes for 6 months and security fixes for 1 year. As of version 8, major versions are released yearly, and the support timeline was changed to provide every version with 18 months of bugfixes and 2 years of security fixes. For additional libraries, only the latest major release receives bug fixes.

Version Release date Bug Fixes Until Security Fixes Until PHP version
Old version, no longer maintained: 1.0 June 2011
Old version, no longer maintained: 2.0 September 2011
Old version, no longer maintained: 3.0 February 22, 2012
Old version, no longer maintained: 3.1 March 27, 2012
Old version, no longer maintained: 3.2 May 22, 2012
Old version, no longer maintained: 4.0 May 28, 2013 ≥ 5.3.0
Old version, no longer maintained: 4.1 December 12, 2013 ≥ 5.3.0
Old version, no longer maintained: 4.2 June 1, 2014 ≥ 5.4.0
Old version, no longer maintained: 5.0 February 4, 2015 August 4, 2015 February 4, 2016 ≥ 5.4.0
Old version, no longer maintained: 5.1 LTS June 9, 2015 June 9, 2017 June 9, 2018 ≥ 5.5.9
Old version, no longer maintained: 5.2 December 21, 2015 June 21, 2016 December 21, 2016 ≥ 5.5.9
Old version, no longer maintained: 5.3 August 23, 2016 February 23, 2017 August 23, 2017 ≥ 5.6.4
Old version, no longer maintained: 5.4 January 24, 2017 July 24, 2017 January 24, 2018 ≥ 5.6.4
Old version, no longer maintained: 5.5 LTS August 30, 2017 August 30, 2019 August 30, 2020 ≥ 7.0.0
Old version, no longer maintained: 5.6 February 7, 2018 August 7, 2018 February 7, 2019 ≥ 7.1.3
Old version, no longer maintained: 5.7 September 4, 2018 March 4, 2019 September 4, 2019 ≥ 7.1.3
Old version, no longer maintained: 5.8 February 26, 2019 August 26, 2019 February 26, 2020 ≥ 7.1.3
Old version, no longer maintained: 6 LTS September 3, 2019 January 25, 2022 September 6, 2022 7.2 – 8.0
Old version, no longer maintained: 7 March 3, 2020 October 6, 2020 March 3, 2021 7.2 – 8.0
Old version, no longer maintained: 8 September 8, 2020 July 26, 2022 January 24, 2023 7.3 – 8.1
Old version, no longer maintained: 9 February 8, 2022 August 8, 2023 February 6, 2024 8.0 – 8.2
Old version, still maintained: 10 February 14, 2023 August 6, 2024 February 4, 2025 8.1 – 8.3
Latest version: 11 March 12, 2024 September 3, 2025 March 12, 2026 ≥ 8.2
Future release: 12 Q1 2025 Q3 2026 Q1 2027 ≥ 8.2
Legend: Unsupported version Old version, still maintained Latest version Latest preview version Future release

Laracon

Laracon is the official Laravel conference centered around the Laravel framework, covering its development, uses, and related general software development topics. Laracon has taken place in the United States, Europe, India, Australia and online in the past. Typically, the conference happens in the United States and Europe every year. 2017 was the first year a Laracon was held as an online event only. 2018 was the first year a Laracon was held in Australia. Each year the conference has a different variety of sponsors and organizers, but Laravel, Laravel News and UserScape are usually the primary organizers.

While the numerous Laracon conferences are officially run, a number of other conferences are run under the name of Laravel Live. Currently, there are yearly held Laravel Live UK, Laravel Live Denmark and Laravel Live India conferences. While these are not officially run, they have the permission of Taylor Otwell to use the name Laravel.

See also

References

  1. ^ Maks Surguy (July 27, 2013). "History of the Laravel PHP framework, Eloquence emerging". maxoffsky.com. Archived from the original on November 27, 2020. Retrieved May 10, 2015.
  2. "Release 11.5.0". December 17, 2024. Retrieved December 26, 2024.
  3. "Laravel Introduction: A PHP Framework for Building High-End Web Applications". www.w3schools.in. Retrieved March 27, 2024.
  4. Daniel Gafitescu (June 6, 2013). "Goodbye CodeIgniter, Hello Laravel". sitepoint.com. Archived from the original on November 30, 2020. Retrieved December 21, 2013.
  5. ^ Martin Bean (April 2015). Laravel 5 Essentials. Packt. ISBN 978-1785283017. Archived from the original on February 19, 2023. Retrieved September 2, 2015.
  6. "Laravel Documentation (versions 3.0–3.2.14)". three.laravel.com. Archived from the original on August 26, 2014. Retrieved August 30, 2014.
  7. "Laravel Documentation (version 4.2)". laravel.com. Archived from the original on September 20, 2014. Retrieved August 30, 2014.
  8. "laravel/framework: The Laravel Framework". github.com. Archived from the original on January 16, 2023. Retrieved January 17, 2023.
  9. Raphaël Saunier (January 2014). Getting Started with Laravel 4. Packt. ISBN 978-1783287031. OCLC 868960968.
  10. Eric Barnes (January 30, 2015). "Laravel 5". laravel-news.com. Archived from the original on November 11, 2016. Retrieved May 10, 2015.
  11. "Introducing Lumen from Laravel". Matt Stauffer. Archived from the original on August 18, 2022. Retrieved July 25, 2022.
  12. ^ "Release Notes - Laravel - The PHP Framework For Web Artisans". laravel.com. Archived from the original on February 10, 2022. Retrieved February 12, 2022.
  13. Sorgner, Stefan Lorenz (November 4, 2021), "The End as a New Beginning", We Have Always Been Cyborgs, Policy Press, pp. 185–187, doi:10.1332/policypress/9781529219203.003.0005, ISBN 9781529219203, archived from the original on February 19, 2023, retrieved July 25, 2022
  14. Eric L. Barnes (June 9, 2015). "Laravel 5.1 is released". laravel-news.com. Archived from the original on May 12, 2016. Retrieved June 14, 2015.
  15. Eric L. Barnes (August 23, 2016). "Laravel 5.3 is now released". laravel-news.com. Archived from the original on August 28, 2016. Retrieved August 23, 2016.
  16. "Laravel 5.4 Is Now Released". Laravel News. January 24, 2017. Archived from the original on November 25, 2020. Retrieved February 21, 2017.
  17. "Laravel 6 release notes". Laravel. Archived from the original on January 30, 2021. Retrieved November 1, 2019.
  18. "Release Notes - Laravel - The PHP Framework For Web Artisans". laravel.com. Archived from the original on March 10, 2020. Retrieved March 9, 2020.
  19. ^ "Release Notes - Laravel - The PHP Framework For Web Artisans". laravel.com. Archived from the original on July 21, 2021. Retrieved May 9, 2020.
  20. ^ "Laravel 10 is released". laravel-news.com. Archived from the original on February 14, 2023. Retrieved February 13, 2023.
  21. LARACON EU 2024 // TAYLOR OTWELL :: LARAVEL UPDATE, retrieved March 19, 2024
  22. Rasonix, Amit (December 12, 2024). "Laravel Support Policy". Laravel.com. Retrieved December 12, 2024.
  23. "Laravel Documentation: Releases". Laravel. Archived from the original on November 23, 2020. Retrieved February 26, 2017.
  24. "Github Repository Release Notes - Laravel". Laravel. Archived from the original on March 3, 2019. Retrieved November 2, 2019.
  25. ^ "Laravel 9 is Now Released". February 8, 2022. Archived from the original on February 17, 2022. Retrieved February 9, 2022.
  26. @laravelphp (February 12, 2020). "We are aiming to release Laravel 7.x..." (Tweet) – via Twitter.
  27. "Laravel: PHP 8 Support". Laravel. November 26, 2020. Archived from the original on July 23, 2021. Retrieved August 6, 2021.
  28. ^ "Laravel - The PHP Framework For Web Artisans". laravel.com. Retrieved March 13, 2024.
  29. "Laracon Online | The official worldwide Laravel online conference". laracon.net. Archived from the original on December 16, 2020. Retrieved March 24, 2017.
  30. "Search Results". laravel-news.com. Archived from the original on May 29, 2020. Retrieved March 24, 2017.
  31. "Laravel Live UK | Home". laravellive.uk. Archived from the original on August 14, 2020. Retrieved August 5, 2020.
  32. "Laravel Live Denmark 2024".
  33. "Laravel Live India Community". Laravel Live India Community. Archived from the original on August 10, 2020. Retrieved August 5, 2020.

External links

Web frameworks
.NET
C++
ColdFusion
Common Lisp
Haskell
Java
JavaScript
Perl
PHP
Python
Ruby
Rust
Scala
Smalltalk
Other languages
Categories: