Laravel - The PHP Framework For Web Artisans


本站和网页 https://laravel.com/ 的作者无关,不对其内容负责。快照谨为网络故障时之索引,不代表被搜索网站的即时页面。

Laravel - The PHP Framework For Web Artisans
Forge
Vapor
Ecosystem
Breeze
Lightweight starter kit scaffolding for new applications with Blade or Inertia.
Cashier
Take the pain out of managing subscriptions on Stripe or Paddle.
Dusk
Automated browser testing to ship your application with confidence.
Echo
Listen for WebSocket events broadcast by your Laravel application.
Envoyer
Deploy your Laravel applications to customers with zero downtime.
Forge
Server management doesn't have to be a nightmare.
Horizon
Beautiful UI for monitoring your Redis driven Laravel queues.
Jetstream
Robust starter kit including authentication and team management.
Nova
Thoughtfully designed administration panel for your Laravel applications.
Octane
Supercharge your application's performance by keeping it in memory.
Pint
Opinionated PHP code style fixer for minimalists.
Sail
Hand-crafted Laravel local development experience using Docker.
Sanctum
API and mobile application authentication without wanting to pull your hair out.
Scout
Lightning fast full-text search for your application's Eloquent models.
Socialite
Social authentication via Facebook, Twitter, GitHub, LinkedIn, and more.
Spark
Launch your next business with our fully-featured, drop-in billing portal.
Telescope
Debug your application using our debugging and insight UI.
Valet
The fastest Laravel local development experience - exclusively for macOS.
Vapor
Laravel Vapor is a serverless deployment platform for Laravel, powered by AWS.
News
Partners
Documentation
Forge
Vapor
News
Partners
Documentation
this.initializeAnimation = true;
}, 0);
},
}"
:class="initializeAnimation ? 'animate-cube' : ''"
class="text-red-600"
width="46"
height="53"
viewBox="0 0 46 53"
fill="none"
xmlns="http://www.w3.org/2000/svg"
this.initializeAnimation = true;
}, 2000);
},
}"
:class="initializeAnimation ? 'animate-cube' : ''"
class="text-red-600"
width="46"
height="53"
viewBox="0 0 46 53"
fill="none"
xmlns="http://www.w3.org/2000/svg"
this.initializeAnimation = true;
}, 1000);
},
}"
:class="initializeAnimation ? 'animate-cube' : ''"
class="text-red-600"
width="46"
height="53"
viewBox="0 0 46 53"
fill="none"
xmlns="http://www.w3.org/2000/svg"
The PHP Framework for Web Artisans
Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
Get Started
Watch Laracasts
this.initializeAnimation = true;
}, 2000);
},
}"
:class="initializeAnimation ? 'animate-cube' : ''"
class="text-red-600"
width="46"
height="53"
viewBox="0 0 46 53"
fill="none"
xmlns="http://www.w3.org/2000/svg"
this.initializeAnimation = true;
}, 3000);
},
}"
:class="initializeAnimation ? 'animate-cube' : ''"
class="text-red-600"
width="46"
height="53"
viewBox="0 0 46 53"
fill="none"
xmlns="http://www.w3.org/2000/svg"
this.initializeAnimation = true;
}, 500);
},
}"
:class="initializeAnimation ? 'animate-cube' : ''"
class="text-red-600"
width="46"
height="53"
viewBox="0 0 46 53"
fill="none"
xmlns="http://www.w3.org/2000/svg"
Write code for the joy of it.
Laravel values beauty. We love clean code just as much as you do. Simple, elegant syntax puts amazing functionality at your fingertips. Every feature has been thoughtfully considered to provide a wonderful developer experience.
Start Learning
Monolith or API — the choice is yours.
Build robust, full-stack applications in PHP using Laravel and Livewire. Love JavaScript? Build a monolithic React or Vue driven frontend by pairing Laravel with Inertia.
Or, let Laravel serve as a robust backend API for your Next.js application, mobile application, or other frontend. Either way, our starter kits will have you productive in minutes.
Starter Kits
Everything you need to be amazing.
Database
Laravel's "Eloquent" ORM provides best-in-class database abstraction without the headaches. Query and update your data without breaking a sweat. Eloquent pairs perfectly with MySQL, Postgres, SQLite, and SQL Server.
Queues
Dispatch background jobs to perform slow tasks like sending emails and generating reports while maintaining blazing fast response times. Laravel's robust queue system can process jobs using Redis, Amazon SQS, or even MySQL and Postgres.
WebSockets
Laravel Echo and event broadcasting make it a cinch to build modern, realtime user experiences. Create amazing realtime applications while powering your WebSockets with pure PHP, Node.js, or serverless solutions like Pusher and Ably.
Authentication
Stop sweating authentication. Laravel provides scaffolding for secure, session based authentication, while Laravel Sanctum provides painless authentication for APIs and mobile applications.
this.initializeAnimation = true;
}, 2000);
},
}"
:class="initializeAnimation ? 'animate-cube' : ''"
class="text-red-600"
width="46"
height="53"
viewBox="0 0 46 53"
fill="none"
xmlns="http://www.w3.org/2000/svg"
this.initializeAnimation = true;
}, 0);
},
}"
:class="initializeAnimation ? 'animate-cube' : ''"
class="text-red-600"
width="46"
height="53"
viewBox="0 0 46 53"
fill="none"
xmlns="http://www.w3.org/2000/svg"
this.initializeAnimation = true;
}, 1000);
},
}"
:class="initializeAnimation ? 'animate-cube' : ''"
class="text-red-600"
width="46"
height="53"
viewBox="0 0 46 53"
fill="none"
xmlns="http://www.w3.org/2000/svg"
Move fast...with confidence.
Laravel is committed to delivering the best testing experience you can imagine. No more brittle tests that are a nightmare to maintain. Beautiful testing APIs, database seeding, and painless browser testing let you ship with confidence.
Learn More
Enterprise scale without the enterprise complexity.
Our vast library of meticulously maintained packages means you're ready for anything. Let Laravel Octane supercharge your application's performance, and experience infinite scale on Laravel Vapor, our serverless deployment platform powered by AWS Lambda.
Forge
Server management doesn't have to be a nightmare. Provision and deploy unlimited PHP applications on DigitalOcean, Linode, Vultr, Amazon, Hetzner and more.
Vapor
Laravel Vapor is a serverless deployment platform for Laravel, powered by AWS. Launch your Laravel infrastructure on Vapor and fall in love with the scalable simplicity of serverless.
Breeze
Lightweight starter kit scaffolding for new applications with Blade or Inertia.
Cashier
Take the pain out of managing subscriptions on Stripe or Paddle.
Dusk
Automated browser testing to ship your application with confidence.
Echo
Listen for WebSocket events broadcast by your Laravel application.
Envoyer
Deploy your Laravel applications to customers with zero downtime.
Horizon
Beautiful UI for monitoring your Redis driven Laravel queues.
Jetstream
Robust starter kit including authentication and team management.
Nova
Thoughtfully designed administration panel for your Laravel applications.
Octane
Supercharge your application's performance by keeping it in memory.
Pint
Opinionated PHP code style fixer for minimalists.
Sail
Hand-crafted Laravel local development experience using Docker.
Sanctum
API and mobile application authentication without wanting to pull your hair out.
Scout
Lightning fast full-text search for your application's Eloquent models.
Socialite
Social authentication via Facebook, Twitter, GitHub, LinkedIn, and more.
Spark
Launch your next business with our fully-featured, drop-in billing portal.
Telescope
Debug your application using our debugging and insight UI.
Valet
The fastest Laravel local development experience - exclusively for macOS.
this.initializeAnimation = true;
}, 0);
},
}"
:class="initializeAnimation ? 'animate-cube' : ''"
class="text-red-600"
width="46"
height="53"
viewBox="0 0 46 53"
fill="none"
xmlns="http://www.w3.org/2000/svg"
this.initializeAnimation = true;
}, 0);
},
}"
:class="initializeAnimation ? 'animate-cube' : ''"
class="text-red-600"
width="46"
height="53"
viewBox="0 0 46 53"
fill="none"
xmlns="http://www.w3.org/2000/svg"
this.initializeAnimation = true;
}, 1500);
},
}"
:class="initializeAnimation ? 'animate-cube' : ''"
class="text-red-600"
width="46"
height="53"
viewBox="0 0 46 53"
fill="none"
xmlns="http://www.w3.org/2000/svg"
Loved by thousands of developers around the world.
“I’ve been using Laravel for nearly a decade and never been tempted to switch to anything else.“
Adam Wathan
Creator of Tailwind CSS
“Laravel takes the pain out of building modern, scalable web apps.“
Aaron Francis
Creator of Torchlight and Sidecar
“Laravel grew out to be an amazing innovative and active community. Laravel is so much more than just a PHP framework.“
Bobby Bouwmann
Elite Developer at Enrise
“As an old school PHP developer, I have tried many frameworks; none has given me the development speed and enjoyment of use that I found with Laravel. It is a breath of fresh air in the PHP ecosystem, with a brilliant community around it.“
Erika Heidi
Creator of Minicli
“Laravel is nothing short of a delight. It allows me to build any web-y thing I want in record speed with joy.“
Caleb Porzio
Creator of Livewire and Alpine.js
“I found Laravel by chance, but I knew right away that I found my thing. The framework, the ecosystem and the community - it’s the perfect package. I’ve worked on amazing projects and met incredible people; it’s safe to say that Laravel changed my life.“
Zuzana Kunckova
Full-Stack Developer
“Laravel’s best-in-class testing tools give me the peace of mind to ship robust apps quickly.“
Michael Dyrynda
Laravel Artisan + Laracon AU Organizer
“Laravel has been like rocket fuel for my career and business.“
Chris Arter
Developer at Bankrate
“I've been using Laravel for over 10 years and I can't imagine using PHP without it.“
Eric L. Barnes
Founder of Laravel News
“I've been enjoying Laravel's focus on pushing developer experience to the next level for many years. All pieces of the ecosystem are powerful, well designed, fun to work with, and have stellar documentation. The surrounding friendly and helpful community is a joy to be a part of.“
Freek Van der Herten
Owner of Spatie
“Laravel and its ecosystem of tools help me build client projects faster, more secure, and higher quality than any other tools out there.“
Jason Beggs
Owner of roasted.dev
“I didn't fully appreciate Laravel's one-stop-shop, all-encompassing solution, until I tried (many) different ecosystems. Laravel is in a class of its own!“
Joseph Silber
Creator of Bouncer
“Laravel has helped me launch products quicker than any other solution, allowing me to get to market faster and faster as the community has evolved.“
Steve McDougall
Creator of Laravel Transporter
“I've been using Laravel for every project over the past ten years in a time where a new framework launches every day. To this date, there's just nothing like it.“
Philo Hermans
Founder of Unlock
“Laravel is for developers who write code because they can rather than because they have to.“
Luke Downing
Maker + Developer
“Laravel makes building web apps exciting! It has also helped me to become a better developer 🤙“
Tony Lea
Founder of DevDojo
“The Laravel ecosystem has been integral to the success of our business. The framework allows us to move fast and ship regularly, and Laravel Vapor has allowed us to operate at an incredible scale with ease.“
Jack Ellis
Co-founder of Fathom Analytics
A community built for people like you.
Laravel is for everyone — whether you have been programming for 20 years or 20 minutes. It's for architecture astronauts and weekend hackers. For those with degrees and for those who dropped out to chase their dreams. Together, we create amazing things.
Blog
Forums
Jobs
Laravel News
Laracasts
Watch us on Laracasts
Tune In
Laracasts includes free videos and tutorials covering the entire Laravel ecosystem. Stay up to date by watching our latest videos.
Start Watching
this.initializeAnimation = true;
}, 1500);
},
}"
:class="initializeAnimation ? 'animate-cube' : ''"
class="text-red-600"
width="46"
height="53"
viewBox="0 0 46 53"
fill="none"
xmlns="http://www.w3.org/2000/svg"
this.initializeAnimation = true;
}, 0);
},
}"
:class="initializeAnimation ? 'animate-cube' : ''"
class="text-red-600"
width="46"
height="53"
viewBox="0 0 46 53"
fill="none"
xmlns="http://www.w3.org/2000/svg"
Hire a partner for your next project
Laravel Partners are elite shops providing top-notch Laravel development and consulting. Each of our partners can help you craft a beautiful, well-architected project.
Browse Partners
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in most web projects.
Highlights
Our Team
Release Notes
Getting Started
Routing
Blade Templates
Authentication
Authorization
Artisan Console
Database
Eloquent ORM
Testing
Resources
Laravel Bootcamp
Laracasts
Laravel News
Laracon
Laracon EU
Jobs
Forums
Partners
Vehikl
Tighten
64 Robots
Kirschbaum
Curotec
Jump24
A2 Design
ABOUT YOU
Byte 5
Cubet
Cyber-Duck
DevSquad
Ideil
Romega Software
Worksome
WebReinvent
Ecosystem
Cashier
Dusk
Echo
Envoyer
Forge
Homestead
Horizon
Nova
Passport
Scout
Socialite
Spark
Telescope
Valet
Vapor
Laravel is a Trademark of Taylor Otwell. Copyright 2011-2022 Laravel LLC.
Code highlighting provided by Torchlight
if (! window.URLSearchParams) {
return
const searchQuery = new URLSearchParams(document.location.search).get('q')
if (searchQuery) {
search = searchQuery
open = true
})"
x-show="open"
x-cloak
x-trap.noscroll.inert="open"
role="dialog"
aria-modal="true"
x-id="['search-modal']"
:aria-labelledby="$id('search-modal')"
class="fixed inset-0 z-50 text-gray-400 overflow-y-auto"
Searching...
Enter a search term to find results in the documentation.
Close search