Expressive, beautiful syntax.
Value elegance, simplicity, and readability? You’ll fit right in. Laravel is designed for people just like you. If you need help getting started, check out Laracasts and our great documentation.
为 Web 艺术家创造的 PHP 框架
<?php
class Idea extends Eloquent
{
/**
* Dreaming of something more?
*
* @with Laravel
*/
public function create()
{
// Have a fresh start...
}
}
<?php
class Idea extends Eloquent
{
/**
* Dreaming of something more?
*
* @with Laravel
*/
public function create()
{
// Have a fresh start...
}
}
Driver based full-text search for Eloquent, complete with pagination and automatic indexing.
Event broadcasting, evolved. Bring the power of WebSockets to your application without the complexity.
API authentication without the headache. Passport is an OAuth2 server that's ready in minutes.
Elegant applications delivered at warp speed.
Value elegance, simplicity, and readability? You’ll fit right in. Laravel is designed for people just like you. If you need help getting started, check out Laracasts and our great documentation.
class Purchase implements ShouldQueue
{
/**
* Purchase a new podcast.
*/
public function handle(Repository $repo)
{
foreach ($this->purchases as $purchase)
{
//
}
}
Whether you're a solo developer or a 20 person team, Laravel is a breath of fresh air. Keep everyone in sync using Laravel's database agnostic migrations and schema builder.
~/Apps $ php artisan make:migration create_users_table
Migration created successfully!
~/Apps $ php artisan migrate --seed
Migrated: 2015_01_12_000000_create_users_table
Migrated: 2015_01_12_100000_create_password_resets_table
Migrated: 2015_01_13_162500_create_projects_table
Migrated: 2015_01_13_162508_create_servers_table
An amazing ORM, painless routing, powerful queue library, and simple authentication give you the tools you need for modern, maintainable PHP. We sweat the small stuff to help you deliver amazing applications.
Route::resource('photos', 'PhotoController');
/**
* Retrieve A User...
*/
Route::get('/user/{user}', function(App\User $user)
{
return $user;
})
Revolutionize how you build the web.
Instant PHP Platforms On Linode, DigitalOcean, and more. Push to deploy, PHP 7.0, HHVM, queues, and everything you need to launch and deploy amazing Laravel applications.
Launch your application in minutes!
The official Laravel development environment. Powered by Vagrant, Homestead gets your entire team on the same page with the latest PHP, MySQL, Postgres, Redis, and more.
Hundreds (yes, hundreds) of Laravel and PHP video tutorials with new videos added every week. Skim the basics or start your journey to Laravel mastery. All for the price of lunch.
Make subscription billing painless with built-in Stripe and Braintree integrations. Coupons, swapping subscriptions, cancellations, and even PDF invoices are ready out of the box.
A Laravel development environment for Mac minimalists. No Vagrant, no Apache, no fuss.
StyleCI is the PHP coding style continuous integration service for Laravel.