Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Laravel

From Wikipedia, the free encyclopedia
(Redirected from Laravel (framework))

Developer(s)Taylor Otwell
Initial releaseJune 2011; 13 years ago (2011-06)[1]
Stable release
11.3.1[2] Edit this on Wikidata / 15 October 2024; 30 days ago (15 October 2024)
Repositorygithub.com/laravel/framework
Written inPHP
TypeWeb framework
LicenseMIT License
Websitelaravel.com

Laravel is a free and open-source PHP-based web framework for building web applications.[3] 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.[4][5]: 2, 5–9 [6][7]

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

History

[edit]

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.[1]

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.[1]

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.[1]

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.[1][9]: 18–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 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.[5]: 13–14 [10]

Lumen 5.0 is the initial release of the Lumen framework, a light derivative of Laravel optimized for speed.[11] 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.[12] As of 2022, authors no longer recommend the use of Lumen for gaining these advantages, and promote Laravel Octane instead.[13]

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.[14]

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.[15]

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.[16]

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.[17]

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.[18]

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.[19]

Laravel 9 was released on February 8, 2022.[12]

Laravel 10 was released on February 14, 2023.[20]

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.[21] Along with Laravel 11, a first-party websocket server called Laravel Reverb was released.

Release history

[edit]

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.[22] 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.[19]

Version Release date[23] 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[24]
Old version, no longer maintained: 7 March 3, 2020[25] October 6, 2020 March 3, 2021 7.2 – 8.0[19]
Old version, no longer maintained: 8 September 8, 2020 July 26, 2022 January 24, 2023 7.3 – 8.1[26]
Old version, no longer maintained: 9 February 8, 2022[24] August 8, 2023 February 6, 2024 8.0 – 8.2[24]
Old version, yet still maintained: 10 February 14, 2023 August 6, 2024 February 4, 2025 8.1 – 8.3[20]
Current stable version: 11 March 12, 2024 September 3, 2025 March 12, 2026 ≥ 8.2[27]
Future release: 12 Q1 2025 Q3 2026 Q1 2027 ≥ 8.2[27]
Legend: Old version, not maintained Old version, still maintained Current stable version Latest preview version Future release

Laracon

[edit]

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 and online in the past.[28][29] 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.[30][31][32] While these are not officially run, they have the permission of Taylor Otwell to use the name Laravel.

See also

[edit]

References

[edit]
  1. ^ a b c d e 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.3.1". October 15, 2024. Retrieved October 21, 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. ^ a b 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. ^ a b "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. ^ a b c "Release Notes - Laravel - The PHP Framework For Web Artisans". laravel.com. Archived from the original on July 21, 2021. Retrieved May 9, 2020.
  20. ^ a b "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. ^ "Laravel Documentation: Releases". Laravel. Archived from the original on November 23, 2020. Retrieved February 26, 2017.
  23. ^ "Github Repository Release Notes - Laravel". Laravel. Archived from the original on March 3, 2019. Retrieved November 2, 2019.
  24. ^ a b c "Laravel 9 is Now Released". February 8, 2022. Archived from the original on February 17, 2022. Retrieved February 9, 2022.
  25. ^ @laravelphp (February 12, 2020). "We are aiming to release Laravel 7.x..." (Tweet) – via Twitter.
  26. ^ "Laravel: PHP 8 Support". Laravel. November 26, 2020. Archived from the original on July 23, 2021. Retrieved August 6, 2021.
  27. ^ a b "Laravel - The PHP Framework For Web Artisans". laravel.com. Retrieved March 13, 2024.
  28. ^ "Laracon Online | The official worldwide Laravel online conference". laracon.net. Archived from the original on December 16, 2020. Retrieved March 24, 2017.
  29. ^ "Search Results". laravel-news.com. Archived from the original on May 29, 2020. Retrieved March 24, 2017.
  30. ^ "Laravel Live UK | Home". laravellive.uk. Archived from the original on August 14, 2020. Retrieved August 5, 2020.
  31. ^ "Laravel Live Denmark 2024".
  32. ^ "Laravel Live India Community". Laravel Live India Community. Archived from the original on August 10, 2020. Retrieved August 5, 2020.
[edit]