laravel.com Open in urlscan Pro
104.22.0.126  Public Scan

Submitted URL: http://1708047820823.caulaai2.com/87dd0b15-3d6a-4cd7-ab08-017905490de2?n=2&t=1708047820197&l_next=ahr0chm6ly93d3cubw9uyxn0c2tpbmx1...
Effective URL: https://laravel.com/
Submission: On February 16 via api from US — Scanned from US

Form analysis 0 forms found in the DOM

Text Content

Servers with PHP 8.3 are now available for provisioning via Laravel Forge.
 * 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.
    * Herd
      The fastest Laravel local development experience - exclusively for macOS.
    * Horizon
      Beautiful UI for monitoring your Redis driven Laravel queues.
    * Inertia
      Create modern single-page React and Vue apps using classic server-side
      routing.
    * Jetstream
      Robust starter kit including authentication and team management.
    * Livewire
      Build reactive, dynamic applications using Laravel and Blade.
    * Nova
      Thoughtfully designed administration panel for your Laravel applications.
    * Octane
      Supercharge your application's performance by keeping it in memory.
    * Pennant
      A simple, lightweight library for managing feature flags.
    * Pint
      Opinionated PHP code style fixer for minimalists.
    * Prompts
      Beautiful and user-friendly forms for command-line applications.
    * Pulse
      At-a-glance insights into your application's performance and usage.
    * 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.
    * Vapor
      Laravel Vapor is a serverless deployment platform for Laravel, powered by
      AWS.

 * News
 * Partners

SearchK Documentation
 * Forge
 * Vapor
 * News
 * Partners
 * Documentation


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


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


ONE FRAMEWORK, MANY FLAVORS

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.

Empower Your Frontend


EVERYTHING YOU NEED TO BE AMAZING.

Out of the box, Laravel has elegant solutions for the common features needed by
all modern web applications. It's time to start building amazing applications
and stop wasting time searching for packages and reinventing the wheel.

 * Authentication
 * Authorization
 * Eloquent ORM
 * Database Migrations
 * Validation
 * Notifications & Mail
 * File Storage
 * Job Queues
 * Task Scheduling
 * Testing
 * Events & WebSockets


AUTHENTICATION

Authenticating users is as simple as adding an authentication middleware to your
Laravel route definition:

Route::get('/profile', ProfileController::class)
    ->middleware('auth');

Once the user is authenticated, you can access the authenticated user via the
Auth facade:

use Illuminate\Support\Facades\Auth;
 
// Get the currently authenticated user...
$user = Auth::user();

Of course, you may define your own authentication middleware, allowing you to
customize the authentication process.

For more information on Laravel's authentication features, check out the
authentication documentation.




AUTHORIZATION

You'll often need to check whether an authenticated user is authorized to
perform a specific action. Laravel's model policies make it a breeze:

php artisan make:policy UserPolicy

Once you've defined your authorization rules in the generated policy class, you
can authorize the user's request in your controller methods:

public function update(Request $request, Invoice $invoice)
{
    Gate::authorize('update', $invoice);
 
    $invoice->update(/* ... */);
}

Learn more




ELOQUENT ORM

Scared of databases? Don't be. Laravel’s Eloquent ORM makes it painless to
interact with your application's data, and models, migrations, and relationships
can be quickly scaffolded:

php artisan make:model Invoice --migration

Once you've defined your model structure and relationships, you can interact
with your database using Eloquent's powerful, expressive syntax:

// Create a related model...
$user->invoices()->create(['amount' => 100]);
 
// Update a model...
$invoice->update(['amount' => 200]);
 
// Retrieve models...
$invoices = Invoice::unpaid()->where('amount', '>=', 100)->get();
 
// Rich API for model interactions...
$invoices->each->pay();

Learn more




DATABASE MIGRATIONS

Migrations are like version control for your database, allowing your team to
define and share your application's database schema definition:

public function up(): void
{
    Schema::create('flights', function (Blueprint $table) {
        $table->uuid()->primary();
        $table->foreignUuid('airline_id')->constrained();
        $table->string('name');
        $table->timestamps();
    });
}

Learn more




VALIDATION

Laravel has over 90 powerful, built-in validation rules and, using Laravel
Precognition, can provide live validation on your frontend:

public function update(Request $request)
{
    $validated = $request->validate([
        'email' => 'required|email|unique:users',
        'password' => Password::required()->min(8)->uncompromised(),
    ]);
 
    $request->user()->update($validated);
}

Learn more




NOTIFICATIONS & MAIL

Use Laravel to quickly send beautifully styled notifications to your users via
email, Slack, SMS, in-app, and more:

php artisan make:notification InvoicePaid

Once you have generated a notification, you can easily send the message to one
of your application's users:

$user->notify(new InvoicePaid($invoice));

Learn more




FILE STORAGE

Laravel provides a robust filesystem abstraction layer, providing a single,
unified API for interacting with local filesystems and cloud based filesystems
like Amazon S3:

$path = $request->file('avatar')->store('s3');

Regardless of where your files are stored, interact with them using Laravel's
simple, elegant syntax:

$content = Storage::get('photo.jpg');
 
Storage::put('photo.jpg', $content);

Learn more




JOB QUEUES

Laravel lets you to offload slow jobs to a background queue, keeping your web
requests snappy:

$podcast = Podcast::create(/* ... */);
 
ProcessPodcast::dispatch($podcast)->onQueue('podcasts');

You can run as many queue workers as you need to handle your workload:

php artisan queue:work redis --queue=podcasts

For more visibility and control over your queues, Laravel Horizon provides a
beautiful dashboard and code-driven configuration for your Laravel-powered Redis
queues.

Learn more

 * Job Queues
 * Laravel Horizon




TASK SCHEDULING

Schedule recurring jobs and commands with an expressive syntax and say goodbye
to complicated configuration files:

$schedule->job(NotifySubscribers::class)->hourly();

Laravel's scheduler can even handle multiple servers and offers built-in overlap
prevention:

$schedule->job(NotifySubscribers::class)
    ->dailyAt('9:00')
    ->onOneServer()
    ->withoutOverlapping();

Learn more




TESTING

Laravel is built for testing. From unit tests to browser tests, you’ll feel more
confident in deploying your application:

$user = User::factory()->create();
 
$this->browse(fn (Browser $browser) => $browser
    ->visit('/login')
    ->type('email', $user->email)
    ->type('password', 'password')
    ->press('Login')
    ->assertPathIs('/home')
    ->assertSee("Welcome {$user->name}")
);

Learn more




EVENTS & WEBSOCKETS

Laravel's events allow you to send and listen for events across your
application, and listeners can easily be dispatched to a background queue:

OrderShipped::dispatch($order);

class SendShipmentNotification implements ShouldQueue
{
    public function handle(OrderShipped $event): void
    {
        // ...
    }
}

Your frontend application can even subscribe to your Laravel events using
Laravel Echo and WebSockets, allowing you to build real-time, dynamic
applications:

Echo.private(`orders.${orderId}`)
    .listen('OrderShipped', (e) => {
        console.log(e.order);
    });

Learn more



We've just scratched the surface. Laravel has you covered for everything you
will need to build a web application, including email verification, rate
limiting, and custom console commands. Check out the Laravel documentation to
keep learning.


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.
 * Herd
   The fastest Laravel local development experience - exclusively for macOS.
 * Horizon
   Beautiful UI for monitoring your Redis driven Laravel queues.
 * Inertia
   Create modern single-page React and Vue apps using classic server-side
   routing.
 * Jetstream
   Robust starter kit including authentication and team management.
 * Livewire
   Build reactive, dynamic applications using Laravel and Blade.
 * Nova
   Thoughtfully designed administration panel for your Laravel applications.
 * Octane
   Supercharge your application's performance by keeping it in memory.
 * Pennant
   A simple, lightweight library for managing feature flags.
 * Pint
   Opinionated PHP code style fixer for minimalists.
 * Prompts
   Beautiful and user-friendly forms for command-line applications.
 * Pulse
   At-a-glance insights into your application's performance and usage.
 * 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.


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 Design to Tailwind


> “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 Anystack


> “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


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
 * Release Notes
 * Getting Started
 * Routing
 * Blade Templates
 * Authentication
 * Authorization
 * Artisan Console
 * Database
 * Eloquent ORM
 * Testing

Resources
 * Laravel Bootcamp
 * Laracasts
 * Laravel News
 * Laracon
 * Laracon AU
 * Laracon EU
 * Laracon India
 * Larabelles
 * Jobs
 * Forums
 * Trademark

Partners
 * Vehikl
 * WebReinvent
 * Tighten
 * Bacancy
 * 64 Robots
 * Active Logic
 * Black Airplane
 * Byte 5
 * Curotec
 * Cyber-Duck
 * DevSquad
 * Jump24
 * Kirschbaum

Ecosystem
 * Breeze
 * Cashier
 * Dusk
 * Echo
 * Envoyer
 * Forge
 * Herd
 * Horizon
 * Inertia
 * Jetstream
 * Livewire
 * Nova
 * Octane
 * Pennant
 * Pint
 * Prompts
 * Pulse
 * Sail
 * Sanctum
 * Scout
 * Socialite
 * Spark
 * Telescope
 * Vapor

Laravel is a Trademark of Laravel Holdings Inc.
Copyright © 2011-2024 Laravel Holdings Inc.

Code highlighting provided by Torchlight