# Knowledge of Laravel: English

## English

- [English / My Packages (142 pages)](https://kawax.biz/_llms/en/my-packages.md): Documentation for English / My Packages.

### Tutorial

#### Getting Started

- [What is Laravel](https://kawax.biz/en/introduction.md): An overview of Laravel, its features, and why you should choose Laravel.
- [Knowledge required before starting Laravel](https://kawax.biz/en/true-tutorial.md): This page outlines the four areas you should master before diving into Laravel and guides you through the prerequisite knowledge.
- [Installation](https://kawax.biz/en/installation.md): Learn how to install Laravel and set up your PHP environment.
- [Directory structure](https://kawax.biz/en/directory-structure.md): Learn what each major directory and file in a Laravel project is for.
- [Configuration](https://kawax.biz/en/configuration.md): Learn about Laravel configuration files, environment variables (.env), how to access configuration values, caching, debug mode, and maintenance mode.

#### Basics

- [Routing](https://kawax.biz/en/routing.md): Learn the basics of defining routes, route parameters, and named routes in Laravel.
- [Views](https://kawax.biz/en/views.md): Learn how to create Laravel views, return them from routes and controllers, and pass data to them.
- [Blade templates](https://kawax.biz/en/blade.md): An introduction to Laravel's Blade templating engine: directives, layouts, components, and practical examples.
- [URL generation](https://kawax.biz/en/urls.md): Learn how to generate URLs in Laravel using the url() helper, named routes, signed URLs, and controller action URLs.

#### Request Handling

- [Controllers](https://kawax.biz/en/controllers.md): Learn how to create Laravel controllers and how they integrate with routing.
- [Middleware](https://kawax.biz/en/middleware.md): Learn how to filter and preprocess HTTP requests using Laravel middleware.
- [HTTP requests](https://kawax.biz/en/requests.md): Access form data, query strings, files, and more using Laravel's Illuminate\Http\Request object.
- [Validation](https://kawax.biz/en/validation.md): How to validate incoming request data in Laravel using the validate method and form request classes.
- [Responses](https://kawax.biz/en/responses.md): Return views, redirects, JSON, and more from Laravel controllers and routes.
- [Session](https://kawax.biz/en/session.md): How to persist data across requests using Laravel's HTTP session

#### Database

- [Database migrations](https://kawax.biz/en/migrations.md): Learn how to version-control your database schema using Laravel's migration feature.
- [Database seeding](https://kawax.biz/en/seeding.md): Learn how to populate your database with sample data for development and testing using Laravel's seeding feature.
- [Getting started with Eloquent](https://kawax.biz/en/eloquent.md): Learn how to work with database data through Eloquent, Laravel's ORM.
- [Eloquent relationships](https://kawax.biz/en/eloquent-relationships.md): Define and query one-to-one, one-to-many, and many-to-many relationships between Eloquent models.
- [Eloquent Factories](https://kawax.biz/en/eloquent-factories.md): Generate realistic fake data for tests and database seeding using Eloquent model factories.

#### Authentication

- [Authentication introduction](https://kawax.biz/en/authentication.md): Learn the basics of Laravel's authentication features—from setting up an authentication system with a starter kit to retrieving the authenticated user.
- [Starter kits](https://kawax.biz/en/starter-kits.md): How to quickly set up authentication and UI with Laravel starter kits
- [Laravel Socialite (Social Authentication)](https://kawax.biz/en/socialite.md): Implement social login with OAuth 2.0 (GitHub, Google, Facebook, and more) using Laravel Socialite. This guide covers installation, configuration, the authentication flow, and database integration.

#### Helpers and External Communication

- [Helper functions](https://kawax.biz/en/helpers.md): Learn about Laravel's global helper functions and the Arr and Number classes with practical examples.
- [String Manipulation](https://kawax.biz/en/strings.md): Work with strings in Laravel using the Str class and Fluent Strings (Str::of()) — with practical examples for slugs, masking, case conversion, and more.
- [Collections](https://kawax.biz/en/collections.md): Work with arrays of data using Laravel's Collection class — a fluent, chainable wrapper with over 100 methods for transforming, filtering, and aggregating data.
- [HTTP client](https://kawax.biz/en/http-client.md): Use Laravel's HTTP client to send requests to external APIs with a clean, fluent interface that supports authentication, retries, testing, and concurrent requests.

#### Testing and Deployment

- [Testing](https://kawax.biz/en/testing.md): Write automated tests for your Laravel application using Pest or PHPUnit.
- [HTTP Tests](https://kawax.biz/en/http-tests.md): Simulate HTTP requests, assert responses, test authentication, and validate file uploads in Laravel.
- [Database Testing](https://kawax.biz/en/database-testing.md): Test database-driven Laravel applications with RefreshDatabase, seeders, factories, and database assertions.
- [Mocking](https://kawax.biz/en/mocking.md): How to run tests as isolated units using Laravel's mocking and test double capabilities
- [Console tests](https://kawax.biz/en/console-tests.md): Learn how to test Artisan commands in Laravel, including expectations for input and output, exit code verification, and console event verification.
- [Deployment](https://kawax.biz/en/deployment.md): A guide to configuration, optimization, and operations for deploying Laravel applications to production.

#### AI Development Support

- [Laravel and AI development](https://kawax.biz/en/ai.md): Laravel is the ideal framework for AI-assisted development. Leverage Laravel Boost's MCP server integration, AI guidelines, and documentation search API to unlock the full potential of your AI coding agents.

### Guide

#### Architecture

- [Request lifecycle](https://kawax.biz/en/lifecycle.md): Learn how HTTP requests and console commands are handled in a Laravel application.
- [Service container](https://kawax.biz/en/service-container.md): Learn how Laravel's service container performs dependency injection and the basics of container bindings.
- [Service providers](https://kawax.biz/en/service-providers.md): Learn how to register and boot your application's services using Laravel service providers.
- [Facades](https://kawax.biz/en/facades.md): Learn how Laravel facades work, how to use them, real-time facades, how to test them, and when to prefer facades over dependency injection.
- [Contracts](https://kawax.biz/en/contracts.md): Learn about the role of Laravel Contracts, how they differ from facades, how to inject them via type hints, and how to create custom Contracts.

#### Database

- [Database configuration](https://kawax.biz/en/database.md): Learn the basics of Laravel database connections, read/write separation, multiple connections, SQL execution, query listening, and transactions.
- [Query builder](https://kawax.biz/en/query-builder.md): Build and execute database queries using Laravel's fluent DB facade — without writing raw SQL. Covers retrieval, filtering, joins, aggregates, and mutations.
- [Pagination](https://kawax.biz/en/pagination.md): Learn about Laravel's pagination feature. Covers the differences between paginate(), simplePaginate(), and cursorPaginate(); Blade rendering; API responses; and URL customization.
- [MongoDB](https://kawax.biz/en/mongodb.md): Using MongoDB with Laravel applications. Learn how to install and configure the MongoDB driver, use Eloquent models, query builders, and MongoDB as a cache or queue driver.
- [Search](https://kawax.biz/en/search.md): An overview of Laravel's search capabilities — full-text search, vector search, reranking, and Laravel Scout. Choose the right tool for each use case.

#### Eloquent

- [Eloquent API resources](https://kawax.biz/en/eloquent-resources.md): Transform Eloquent models into consistent JSON API responses. Covers creating resource classes, conditional fields, nested resources, pagination, and metadata.
- [Eloquent accessors, mutators, and casting](https://kawax.biz/en/eloquent-mutators.md): Transform Eloquent model attribute values when retrieving or setting them. Covers defining accessors and mutators with the Attribute class, and using built-in casts for common type conversions.
- [Laravel Scout](https://kawax.biz/en/scout.md): Add full-text and semantic search to Eloquent models with the official Scout package. Supports Meilisearch, Algolia, Typesense, Turbopuffer, and a built-in database engine, with automatic index syncing via model observers.
- [Eloquent serialization](https://kawax.biz/en/eloquent-serialization.md): How to convert Eloquent models to JSON and arrays, control which attributes are shown or hidden, define appended attributes, and customize date formatting.
- [Eloquent collections](https://kawax.biz/en/eloquent-collections.md): Learn the dedicated methods of Illuminate\Database\Eloquent\Collection and how to build custom collections.

#### Security

- [Authorization (gates and policies)](https://kawax.biz/en/authorization.md): Learn how to manage user action permissions with Laravel's gates and policies.
- [Email verification](https://kawax.biz/en/verification.md): Learn the steps to implement Laravel's email verification feature. Covers model preparation, three route definitions, the verified middleware, customization, and events.
- [CSRF protection](https://kawax.biz/en/csrf.md): Understand how CSRF attacks work and how Laravel 13 defends against them with Origin verification and token verification.
- [Laravel Sanctum (API Token Authentication)](https://kawax.biz/en/sanctum.md): Learn how to implement API token authentication and SPA authentication with Laravel Sanctum — a simple, lightweight authentication package.
- [Password reset](https://kawax.biz/en/passwords.md): How to implement a password reset feature in Laravel
- [Hashing](https://kawax.biz/en/hashing.md): Learn how to securely hash and verify passwords using Laravel's Hash facade. Covers configuration and use of the bcrypt and Argon2 algorithms.
- [Encryption](https://kawax.biz/en/encryption.md): Learn how to encrypt and decrypt values using Laravel's Crypt facade and AES-256-CBC. Covers generating APP_KEY, model casts, and safely storing personal data.
- [Precognition](https://kawax.biz/en/precognition.md): A Laravel feature that runs server-side validation in real time before a form is submitted.
- [Laravel Passport (OAuth2 server implementation)](https://kawax.biz/en/passport.md): Learn how to implement an OAuth2 server with Laravel Passport. Covers when to choose Passport versus Sanctum, installation, client management, and scope and token management.

#### Events

- [Events & Listeners](https://kawax.biz/en/events.md): Decouple your application with Laravel's event system—define events, attach multiple listeners, and run slow listeners in the background via queues.

#### Mail and Notifications

- [Mail](https://kawax.biz/en/mail.md): Send beautifully formatted emails from your Laravel application using mailable classes, Blade templates, Markdown components, and popular mail services.
- [Notifications](https://kawax.biz/en/notifications.md): Send notifications across multiple channels—email, SMS, Slack, and database—from a single notification class using Laravel's unified notification system.

#### Payments

- [Laravel Cashier (Stripe)](https://kawax.biz/en/cashier.md): Use Laravel Cashier (Stripe) to implement subscription billing, one-time charges, invoice downloads, and Stripe webhook handling.

#### Asynchronous Processing

- [Queues](https://kawax.biz/en/queues.md): Run time-consuming tasks in the background with Laravel queues—covering setup, job creation, chaining, batches, and failed job handling.
- [Laravel Horizon](https://kawax.biz/en/horizon.md): How to visually manage and monitor Redis queues with Laravel Horizon. Covers the dashboard, balance strategies, Supervisor configuration, and notifications.
- [Concurrency](https://kawax.biz/en/concurrency.md): Learn how to run multiple operations concurrently using Laravel 13's Concurrency facade to improve application performance.

#### Real-time Communication

- [Broadcasting](https://kawax.biz/en/broadcasting.md): Push real-time events from your Laravel server to browser clients using WebSockets. Covers Laravel Reverb, broadcast events, channel authorization, and Laravel Echo.
- [Laravel Reverb](https://kawax.biz/en/reverb.md): The official self-hosted WebSocket server for Laravel applications, enabling real-time communication at scale

#### Scheduling

- [Task scheduling](https://kawax.biz/en/scheduling.md): Define recurring tasks in code with Laravel's scheduler and manage them from a single cron entry instead of managing cron jobs manually.

#### Cache and Optimization

- [Cache](https://kawax.biz/en/cache.md): Speed up your Laravel application by caching expensive queries and computations using a unified API across database, Redis, Memcached, and more.
- [Redis](https://kawax.biz/en/redis.md): Configure and interact with Redis in Laravel for caching, sessions, queues, and Pub/Sub messaging.

#### Internationalization

- [Localization](https://kawax.biz/en/localization.md): Manage translation strings in PHP files or JSON files, retrieve them with the __() helper, and handle placeholders and pluralization for multilingual Laravel apps.

#### Files and Storage

- [File Storage](https://kawax.biz/en/filesystem.md): Read, write, and manage files across local disks and cloud storage like Amazon S3 using Laravel's unified filesystem API.
- [Image manipulation](https://kawax.biz/en/images.md): Learn how to resize, crop, convert, and store images using Laravel's Image facade.

#### Debugging and Monitoring

- [Context](https://kawax.biz/en/context.md): Learn how to use Laravel's Context feature to share information across requests, jobs, and commands, and automatically attach it to your logs.
- [Error Handling](https://kawax.biz/en/error-handling.md): Learn how to report, render, and customize exception handling in Laravel, including custom error pages and HTTP error responses.
- [Logging](https://kawax.biz/en/logging.md): Record application events to files, Slack, and external services using Laravel's channel-based logging system built on Monolog.
- [Laravel Pulse](https://kawax.biz/en/pulse.md): Learn how to install and configure Laravel Pulse for real-time application monitoring. Covers recorders, sampling, dashboard customization, and custom cards.
- [Laravel Pennant](https://kawax.biz/en/pennant.md): Learn how to manage feature flags with Laravel Pennant. Covers defining features, checking them, scoping, rich values, and testing.
- [Laravel Telescope](https://kawax.biz/en/telescope.md): Learn how to install Laravel Telescope, from a local-only installation to configuring watchers.

#### Console and CLI

- [Artisan console](https://kawax.biz/en/artisan.md): Learn how to build custom CLI commands with Laravel's Artisan console.
- [Laravel Prompts](https://kawax.biz/en/prompts.md): Add beautiful, interactive CLI forms to your Artisan commands using the laravel/prompts package. Covers text input, selection, search, autocomplete, task logging, streaming output, and more.
- [Processes](https://kawax.biz/en/processes.md): Run external shell commands from your Laravel application using the Process facade, with support for synchronous, asynchronous, concurrent, and pipeline execution.
- [Laravel Pint](https://kawax.biz/en/pint.md): A code style fixer built on top of PHP CS Fixer. Learn how to maintain consistent coding style across your team.
- [Browser tests (Dusk)](https://kawax.biz/en/dusk.md): How to run ChromeDriver-based browser E2E tests with Laravel Dusk

#### Performance

- [Laravel Octane](https://kawax.biz/en/octane.md): Speed up your Laravel application with FrankenPHP, Swoole, or RoadRunner

#### Frontend

- [Frontend](https://kawax.biz/en/frontend.md): An introductory guide to help you decide how to combine Blade, Livewire, Inertia, React, Vue, Svelte, SPAs, and Vite in Laravel 13.
- [Vite and Asset Bundling](https://kawax.biz/en/vite.md): Bundle JavaScript and CSS in your Laravel application using Vite, with hot module replacement for a fast development experience.
- [Laravel Folio](https://kawax.biz/en/folio.md): Learn how to implement file-based routing with Laravel Folio, from installation to route model binding.
- [Laravel Head](https://kawax.biz/en/head.md): Learn how to use Laravel Head to manage the document <head> across Blade, Livewire, and Inertia, including titles, meta tags, Open Graph, canonical URLs, robots directives, performance hints, and structured data.

#### AI Development

- [Laravel Boost](https://kawax.biz/en/boost.md): Laravel Boost accelerates AI-assisted development by providing MCP servers, coding guidelines, and Agent Skills that help AI coding agents write high-quality Laravel code.
- [Laravel MCP](https://kawax.biz/en/mcp.md): Learn how to embed Model Context Protocol (MCP) servers in your Laravel application. Define the tools, resources, and prompts that AI coding agents can use to interact with your app.
- [Laravel AI SDK](https://kawax.biz/en/ai-sdk.md): A unified, expressive API for interacting with AI providers — build agents with tools and structured output, generate images, synthesise and transcribe audio, create vector embeddings, and more, all with a consistent Laravel-friendly interface.

#### Development Environment

- [Laravel Sail](https://kawax.biz/en/sail.md): Build a zero-config Docker-based local development environment with Laravel Sail.
- [Envoy](https://kawax.biz/en/envoy.md): Learn how to use Laravel Envoy to define and run deployment tasks and Artisan commands on remote servers using Blade-style syntax.

### Advanced Topics

#### AI Development

- [Building an MCP Server with Laravel](https://kawax.biz/en/advanced/mcp-server.md): Build a production-ready MCP server using the laravel/mcp package. A practical guide covering tools, resources, prompts, authentication, testing, and deployment.
- [Creating a Custom Agent for Boost](https://kawax.biz/en/advanced/boost-custom-agent.md): A deep dive into Laravel Boost's extension architecture, explaining how to create custom agents that implement the SupportsGuidelines, SupportsMcp, and SupportsSkills contracts.
- [Creating a Custom Provider for AI SDK](https://kawax.biz/en/advanced/ai-sdk-custom-provider.md): Understand the Laravel AI SDK source code and implement custom providers for AI services not supported out of the box.

#### Design Patterns

- [The Pipeline Pattern](https://kawax.biz/en/advanced/pipeline.md): How Illuminate ipeline ipeline works, and how to compose multi-step processing chains using the pipeline pattern.
- [Fluent Class](https://kawax.biz/en/advanced/fluent.md): Learn how to use the Illuminate\Support\Fluent class to work with array data as objects. A hidden gem in Laravel since its early versions.
- [The Macroable Trait](https://kawax.biz/en/advanced/macroable.md): How to use Illuminate\Support\Traits\Macroable to add custom methods to existing Laravel classes without touching core code.
- [The Conditionable Trait](https://kawax.biz/en/advanced/conditionable.md): How when() and unless() work internally, and patterns for keeping method chains clean with conditional logic.
- [The InteractsWithTime Trait](https://kawax.biz/en/advanced/interacts-with-time.md): A utility trait for time and delay calculations used across caches, queues, and console components in Laravel.
- [The ForwardsCalls trait](https://kawax.biz/en/advanced/forwards-calls.md): Use Illuminate\Support\Traits\ForwardsCalls to build safe proxy/decorator APIs with method forwarding and fluent chains.
- [tap() Helper and the Tappable Trait](https://kawax.biz/en/advanced/tap.md): Learn how to use Laravel's tap() helper and Illuminate\Support\Traits\Tappable trait, including practical implementation patterns.
- [The once() helper internals — Once, Onceable, and PreventsCircularRecursion](https://kawax.biz/en/advanced/once-helper.md): A deep dive into the once() global helper, powered by Illuminate\Support\Once and Onceable, and how the same pattern powers Eloquent's PreventsCircularRecursion trait.
- [The Dumpable Trait](https://kawax.biz/en/advanced/dumpable.md): Use Illuminate\Support\Traits\Dumpable to add dump() / dd() to your own classes and debug fluent chains without breaking flow.
- [Support Contracts (Arrayable / Jsonable / Htmlable / Responsable)](https://kawax.biz/en/advanced/support-contracts.md): A practical guide to Laravel 13 support contracts in Illuminate\Contracts\Support, based on official framework source code.
- [The Lottery class](https://kawax.biz/en/advanced/lottery.md): Use Illuminate\Support\Lottery to implement probabilistic operations with an elegant fluent API. Covers real-world use cases, Laravel internals, and deterministic testing.
- [Higher Order Messages](https://kawax.biz/en/advanced/higher-order-messages.md): How the HigherOrderCollectionProxy enables the $collection->map->method() syntax, and practical patterns for working with Eloquent collections.
- [Collection Deep Dive](https://kawax.biz/en/advanced/collection-deep-dive.md): Learn Laravel Collection internals through its historical evolution, class structure, PHPDoc generics, and a practical source-reading path.
- [Illuminate\Support\Manager — anatomy of the driver system](https://kawax.biz/en/advanced/manager.md): The abstract base class behind Laravel's driver system since version 4.0. Learn how to register custom drivers, extend built-in managers, and use MultipleInstanceManager.
- [PHP Reflection API](https://kawax.biz/en/advanced/php-reflection.md): How the PHP Reflection API works and how Laravel's IoC container and package development use it.
- [PHP FFI](https://kawax.biz/en/advanced/ffi.md): An overview of PHP FFI (Foreign Function Interface), supported environments, and practical wrapping patterns using VOICEVOX Core for PHP.
- [PHP AST](https://kawax.biz/en/advanced/php-ast.md): An overview of PHP AST (Abstract Syntax Tree), its role in the PHP runtime, and practical code parsing and transformation patterns using nikic/PHP-Parser.

#### Package Development

- [Laravel Package Development](https://kawax.biz/en/advanced/package-development.md): A comprehensive guide to developing Laravel packages centered on service providers, covering everything from publishing config, views, and migrations to facades, auto-discovery, and deferred loading.
- [Package auto-discovery internals](https://kawax.biz/en/advanced/package-discovery.md): Read through the internal implementation of the PackageManifest class and learn how composer.json extra.laravel data is cached and loaded as bootstrap/cache/packages.php.
- [The InteractsWithData trait](https://kawax.biz/en/advanced/interacts-with-data.md): Understand the design of `Illuminate\Support\Traits\InteractsWithData` and how to add Laravel-style data access APIs to your package classes.
- [Deferred Service Providers](https://kawax.biz/en/advanced/deferred-provider.md): Learn how to implement the DeferrableProvider interface for lazy-loading services. A subtle but impactful feature for optimizing package performance.
- [Package Version Compatibility Management](https://kawax.biz/en/advanced/package-versioning.md): A practical guide to maintaining Laravel package compatibility through major Laravel and PHP version upgrades, covering composer.json updates, GitHub Actions test matrices, and end-of-life strategies.
- [GitHub Actions Pinning and Security](https://kawax.biz/en/advanced/github-actions-pinning.md): Secure your package's supply chain by pinning GitHub Actions dependencies to commit SHAs instead of version tags. Learn Dependabot configuration and automated update strategies used by official Laravel projects.
- [Package CHANGELOG and Release Management](https://kawax.biz/en/advanced/package-changelog.md): From managing changelogs to automating GitHub Releases, learn the release management practices needed for long-term Laravel package maintenance.
- [Testing Laravel packages with Orchestra Testbench](https://kawax.biz/en/advanced/package-testing.md): Set up Orchestra Testbench for Laravel package testing and verify service providers, facades, configuration, and database behavior.
- [Develop Laravel packages with Testbench Workbench](https://kawax.biz/en/advanced/package-workbench.md): Use Orchestra Testbench Workbench to build a realistic package development environment with routes, migrations, and a local app runtime.
- [GeneratorCommand — Implementing custom make: commands](https://kawax.biz/en/advanced/generator-command.md): Learn how to extend Illuminate\Console\GeneratorCommand to provide your own make: commands in a Laravel package. Covers stub files, namespace control, stub publishing, and testing.
- [Creating a Laravel Starter Kit](https://kawax.biz/en/advanced/starter-kit-creation.md): Learn how to create, publish, and maintain a Laravel starter kit on Packagist with continuous version support.
- [Package Static Analysis (PHPStan / Larastan)](https://kawax.biz/en/advanced/package-static-analysis.md): A guide to setting up PHPStan and Larastan for Laravel packages, covering configuration, type annotations, and CI automation to improve type safety and long-term maintainability.

#### Application Structure

- [Application Structure in Laravel 11 and Later](https://kawax.biz/en/advanced/app-structure.md): A deep dive into the Slim Application Skeleton introduced in Laravel 11, covering everything from Application::configure() to ApplicationBuilder internals.
- [Migration Guide: Old Structure to Slim Application Skeleton](https://kawax.biz/en/advanced/app-structure-migration.md): Step-by-step guide to migrating a Laravel 10 application from the legacy structure to the Slim Application Skeleton introduced in Laravel 11.
- [Laravel 11+ New Application Structure FAQ](https://kawax.biz/en/advanced/app-structure-faq.md): Common questions and answers when working with the Slim Application Skeleton introduced in Laravel 11. Aimed at developers joining a project mid-way or learning from older books and tutorials.

#### Laravel 13 New Features

- [PHP Attributes](https://kawax.biz/en/advanced/php-attributes.md): Learn how to use the PHP attributes introduced and enhanced in Laravel 13 to declare job and model configuration in a more expressive way.
- [Controller PHP Attributes](https://kawax.biz/en/advanced/controller-attributes.md): Use #[Middleware], #[WithoutMiddleware], and #[Authorize] attributes added in Laravel 13 to declaratively configure middleware and authorization on controllers.

#### Eloquent Deep Dive

- [Eloquent Observers and Model Events](https://kawax.biz/en/advanced/eloquent-observers.md): How Eloquent model events work, and how to use Observer classes to handle them in one place. Includes the #[ObservedBy] attribute introduced in Laravel 10 and used throughout Laravel 13.
- [Eloquent Scopes](https://kawax.biz/en/advanced/eloquent-scopes.md): How local and global scopes work in Eloquent, with a look at SoftDeletingScope from the framework internals, plus practical patterns for multi-tenancy and publish/draft filtering.
- [Eloquent Custom Casts](https://kawax.biz/en/advanced/eloquent-casts.md): How to implement the CastsAttributes interface to build custom casts. Covers Value Object casts, inbound-only casts, cast parameters, and the Castable pattern.
- [Eloquent Bootable Traits](https://kawax.biz/en/advanced/eloquent-bootable-traits.md): A deep dive into Eloquent's trait auto-boot mechanism. Learn the bootXxx() and initializeXxx() naming conventions and how to use PHP Attributes for explicit registration — an essential pattern for package development.
- [Custom pivot models and chaperone](https://kawax.biz/en/advanced/eloquent-custom-pivot.md): How to treat belongsToMany pivot tables as custom Pivot models, plus the chaperone method added in Laravel 13 for automatic eager loading.

#### Validation Extensions

- [Custom Validation Rules](https://kawax.biz/en/advanced/custom-validation-rules.md): Extend Laravel's validation system with rule objects and closures, from basic implementations to advanced data-aware and validator-aware rules.

#### Authentication Extensions

- [Custom Authentication Guards](https://kawax.biz/en/advanced/custom-auth-guard.md): Understand Laravel's authentication internals and implement custom guards using the Guard and StatefulGuard interfaces, from API token authentication to multi-guard applications.
- [Laravel Fortify and Starter Kits](https://kawax.biz/en/advanced/fortify.md): Explore the internals of Laravel Fortify, the frontend-agnostic authentication backend. Covers why modern starter kits use Fortify, FortifyServiceProvider configuration, 2FA, and passkeys.

#### Security

- [Rate Limiting](https://kawax.biz/en/advanced/rate-limiting.md): Configure custom rate limiters with the RateLimiter facade, apply them to API routes with the throttle middleware, and handle high-traffic scenarios with Redis-backed limiting.

#### Queues

- [Queue Job Execution Control](https://kawax.biz/en/advanced/queue-job-control.md): How to use ShouldBeUnique, ShouldBeUniqueUntilProcessing, and DebounceFor to control duplicate execution and burst dispatches of queued jobs.

#### Testing

- [Advanced Testing with Pest](https://kawax.biz/en/advanced/testing-pest.md): Master Pest in Laravel projects: the Expectation API, datasets, mocking, HTTP fakes, and architecture tests for well-structured codebases.

#### Realtime

- [Inside the Mercure broadcast driver](https://kawax.biz/en/advanced/mercure-broadcasting.md): A source-level walkthrough of the Mercure broadcast driver added to the Laravel framework: its HTTP/SSE architecture, dual publish/subscribe JWTs, single-cookie channel authorization, and end-to-end encrypted channels.

### Blog

#### Changelog

- [August 2026 Laravel updates](https://kawax.biz/en/blog/changelog/202608.md): The August 2026 official Laravel 13, Laravel Cloud, and Laravel Forge updates. Covers the read-through filesystem, Scout's Turbopuffer and semantic search, the Cloud facade, and MariaDB vector search support.
- [July 2026 Laravel updates](https://kawax.biz/en/blog/changelog/202607.md): The July 2026 official Laravel 13 and Laravel Cloud updates. Image processing, conditional container binding, queue management, monthly logs, and the announcements from Laracon US 2026.
- [June 2026 Laravel updates](https://kawax.biz/en/blog/changelog/202606.md): The June 2026 Laravel ecosystem update. Bus::bulk(), Postgres transaction pooler support, MCP client/server, the artisan dev command, route metadata, and more.
- [May 2026 Laravel updates](https://kawax.biz/en/blog/changelog/202605.md): The May 2026 Laravel ecosystem update. @fonts Blade directive, Interruptible jobs, subagent support, Cloud Scale-to-Zero, and more.
- [April 2026 Laravel updates](https://kawax.biz/en/blog/changelog/202604.md): The April 2026 Laravel ecosystem update. Passkeys (passwordless authentication), Debounceable Jobs, MCP UI App, Redis Cluster support, and more.
- [March 2026 Laravel updates](https://kawax.biz/en/blog/changelog/202603.md): The March 2026 Laravel ecosystem update. A summary of major updates including the Laravel 13 release, the AI SDK, JSON:API, and Inertia v3.

#### Laravel 13

- [Laravel 13 new features overview](https://kawax.biz/en/blog/laravel-13-new-features.md): A rundown of the major new features and improvements in Laravel 13, released in March 2026.

#### Products

- [Laravel Cloud — a full look at the Laravel-native PaaS](https://kawax.biz/en/blog/laravel-cloud.md): Laravel Cloud, launched in 2025. Learn how it differs from Forge, what it's good and bad at, and the benefits of using it in practice.
- [Laravel Cloud Hibernation (auto-sleep)](https://kawax.biz/en/blog/laravel-cloud-hibernation.md): How Laravel Cloud's auto-hibernation feature works, how to enable it, its limitations, and how Path Blocking prevents unwanted wake-ups.
- [Getting started with Laravel Nightwatch](https://kawax.biz/en/blog/nightwatch-introduction.md): An overview of Laravel Nightwatch, the hosted SaaS application monitoring platform, its differences from Telescope and Pulse, installation, and settings that make the free plan practical.
- [Laravel Cloud CLI — operate Laravel Cloud from your terminal](https://kawax.biz/en/blog/laravel-cloud-cli.md): How to use laravel/cloud-cli to manage Laravel Cloud apps, environments, databases, domains, and more from the terminal.
- [From Correct Code to Idiomatic Laravel: What's Next for Boost Benchmarks](https://kawax.biz/en/blog/boost-benchmarks-idiomatic-laravel.md): Based on the official Laravel blog post "AI agents pass tests. Can they write idiomatic Laravel?", this article explains how Boost Benchmarks is shifting from measuring test passes to measuring cost-per-token correctness and idiomatic Laravel style.
- [Laravel AI agents now support MCP servers](https://kawax.biz/en/blog/ai-sdk-mcp-client.md): A walkthrough of the MCP client feature added to Laravel AI SDK and Laravel MCP. You can now plug MCP server tools straight into your agent's tools().

#### Package Introductions

- [⚡ Getting started with Livewire 4 — reactive UIs without JavaScript](https://kawax.biz/en/blog/livewire-introduction.md): Learn how to build interactive UIs without writing JavaScript using Laravel's first-party Livewire 4 package, from installation to practical code examples.
- [Build SPAs with Inertia.js](https://kawax.biz/en/blog/inertia-introduction.md): An introduction to Inertia.js v3, which connects a Laravel backend to Vue, React, or Svelte frontends. From the mechanics of building SPAs without an API to page components, shared data, and form handling—explained practically.
- [Getting started with Laravel testing using Pest PHP](https://kawax.biz/en/blog/pest-introduction.md): An introduction to Pest PHP—the default from Laravel 11—from a senior engineer's perspective. Covers differences from PHPUnit, migration costs, and using `arch()` tests, with real project adoption in mind.
- [Laravel Pennant real-world use cases](https://kawax.biz/en/blog/laravel-pennant.md): Practical patterns for Laravel Pennant beyond the basics. Team-scoped flags, emergency kill switches, dark launches, admin commands, and know-how not covered in the official docs.
- [Laravel Telescope hands-on techniques](https://kawax.biz/en/blog/telescope-introduction.md): Practical patterns for getting the most out of Telescope in local development. N+1 detection, tag-based tracking, custom watchers, using the Dump watcher, and know-how not covered in the official docs.
- [Introducing Laravel Wayfinder](https://kawax.biz/en/blog/wayfinder-introduction.md): Learn about Laravel Wayfinder, adopted in the Inertia starter kits as the Ziggy replacement. Covers how it type-safely connects a Laravel backend and a TypeScript frontend, differences from Ziggy, installation and basic usage, and next-generation features evolving on the next branch.
- [Introducing the Blaze package](https://kawax.biz/en/blog/blaze-introduction.md): Learn how to use Livewire's official Blaze package to speed up Blade component rendering. Covers how to choose between compile / memo / fold, installation, limitations, and how it works internally.

#### New Repository Research

- [Laravel Multiplex — a TUI that manages your local development processes](https://kawax.biz/en/blog/multiplex-introduction.md): An initial look at laravel/multiplex. The terminal UI used by Laravel 13's php artisan dev command that puts multiple processes into tabs, supports search, and restarts crashed processes automatically.
- [Laravel Maestro — the starter kit orchestrator](https://kawax.biz/en/blog/maestro-introduction.md): A look at Laravel's new official repository, Maestro. Learn how the orchestrator manages multiple starter kit variants in a single monorepo and streamlines contributions.
- [laravel/agent-skills — Laravel's official AI agent skills](https://kawax.biz/en/blog/agent-skills-introduction.md): An introduction to Laravel's officially managed AI agent skills repository, laravel/agent-skills. An overview of skills provided as plugins for Claude Code and Cursor, including installation and details on each skill.
- [Laravel's new code analysis ecosystem — surveyor / ranger / roster](https://kawax.biz/en/blog/laravel-ecosystem-analysis.md): An introduction to the three packages that make up Laravel's newly published static analysis ecosystem: surveyor, ranger, and roster. A guide to the new tools that package developers and tool authors should know about—from PHP code analysis to package detection.
- [Laravel Sentinel — route protection middleware research](https://kawax.biz/en/blog/sentinel-introduction.md): A source-code walkthrough of the laravel/sentinel package. Learn how this driver-based route protection middleware guards administrative tools like Telescope, Horizon, and Pulse.
- [Laravel Passkeys initial research (passkeys-server + @laravel/passkeys)](https://kawax.biz/en/blog/passkeys-introduction.md): Initial research into laravel/passkeys-server (PHP) and @laravel/passkeys (npm). Covers installation, User model integration, routes, configuration, events, the frontend API, typed errors, and SSR support.
- [Laravel Agent Detector — AI agent detection package](https://kawax.biz/en/blog/agent-detector-introduction.md): How to use laravel/agent-detector. An overview of the official Laravel package that detects execution environments for major AI agents such as Claude, Copilot, and Cursor.
- [Laravel PAO — output optimization for AI agents](https://kawax.biz/en/blog/pao-introduction.md): An introduction to laravel/pao. The official Laravel package that compresses PHPUnit, Pest, PHPStan, and Artisan output into JSON in AI agent environments, reducing token consumption by up to 99.8%.
- [Laravel Chisel — a post-install script library for starter kits](https://kawax.biz/en/blog/chisel-introduction.md): An introduction to laravel/chisel, a package that provides post-install script primitives for removing unwanted features from starter kits. Released as v0.1 in May 2026.
- [Laravel LSP — extending IDE features via the Language Server Protocol](https://kawax.biz/en/blog/laravel-lsp-introduction.md): Laravel's official Language Server Protocol implementation. Adds framework-aware completion and hover features to your editor.
- [laravel/symfony-on-cloud — run Symfony apps on Laravel Cloud](https://kawax.biz/en/blog/symfony-on-cloud-introduction.md): A look at a new official Laravel repository. Learn about the official Symfony bundle that lets Symfony apps use Laravel Cloud's managed queues via Symfony Messenger.
- [Laravel Package Skeleton — the official starter template for packages](https://kawax.biz/en/blog/package-skeleton-introduction.md): Initial research into laravel/package-skeleton. An official starter template that collects Laravel package development best practices. Includes Pest, Larastan, Pint, Workbench, and GitHub Actions CI in a batteries-included setup.
- [Laravel Doctor — application diagnostics tool](https://kawax.biz/en/blog/laravel-doctor-introduction.md): An introduction to laravel/doctor, the official Laravel package that diagnoses common configuration, environment, and infrastructure issues and automatically fixes the safe ones. Run it with php artisan doctor. Released July 28, 2026.
- [cpx 2.0 — Composer Package Executor gets a full rewrite](https://kawax.biz/en/blog/cpx-introduction.md): Introducing laravel/cpx, a tool that runs Composer package binaries without installing them, like npx. v2.0 is a full rewrite as a self-contained PHAR with local binary preference, Gist execution, aliases, and more.

#### Upgrade Guides

- [Upgrade guide: Laravel 12 to 13](https://kawax.biz/en/blog/upgrade-12-to-13.md): Upgrade steps, breaking changes, deprecations, and new feature highlights when moving from Laravel 12 to 13.
- [Upgrade guide: Laravel 11 to 12](https://kawax.biz/en/blog/upgrade-11-to-12.md): Upgrade steps and major changes when moving from Laravel 11 to 12.
- [Upgrading from Laravel 10 to 11](https://kawax.biz/en/blog/upgrade-10-to-11.md): Upgrade steps and major changes for moving from Laravel 10 to 11.
- [Upgrading from Laravel 9 to 10](https://kawax.biz/en/blog/upgrade-9-to-10.md): Upgrade steps and major changes for moving from Laravel 9.x to 10.x.
- [Upgrading from Laravel 8 to 9](https://kawax.biz/en/blog/upgrade-8-to-9.md): Upgrade steps and major changes for moving from Laravel 8.x to 9.x.

#### Authentication

- [Migration guide from laravel/ui to Fortify](https://kawax.biz/en/blog/ui-to-fortify.md): For existing projects using the laravel/ui auth scaffold: a walkthrough of migrating just the authentication backend to Fortify.

#### Frontend

- [Getting started with Vue.js — the essentials for using it with Inertia × Laravel](https://kawax.biz/en/blog/vue-introduction.md): An introduction to Vue.js, the JS framework most familiar to Laravel users. From an overview of Options API and Composition API to page components, useForm, and shared data with Inertia v3 × Vue 3.
- [Getting started with React — the essentials for using it with Inertia × Laravel](https://kawax.biz/en/blog/react-introduction.md): An introductory guide to using React with Laravel + Inertia.js. Covers the history from laravel/ui to the current starter kits, plus practical usage of Inertia React hooks like useForm and usePage.
- [Getting started with Svelte — the essentials for using it with Inertia × Laravel](https://kawax.biz/en/blog/svelte-introduction.md): An introductory guide to using Svelte with Laravel + Inertia.js. Covers the compiler-based approach and Svelte 5 runes syntax, plus practical usage of Inertia Svelte hooks like useForm and usePage.

#### Environment Setup

- [Installing PHP, Composer, and Node.js with Homebrew (macOS)](https://kawax.biz/en/blog/mac-setup.md): A step-by-step guide to setting up a Laravel development environment on macOS by installing PHP, Composer, and Node.js via Homebrew.
- [Installing PHP, Composer, and Node.js on WSL (Windows)](https://kawax.biz/en/blog/windows-setup.md): A step-by-step guide to setting up a Laravel development environment on Windows 10/11 by installing PHP, Composer, and Node.js on WSL 2.

## OpenAPI Specs

- [laravel-openapi](https://raw.githubusercontent.com/invokable/laravel-voicevox/refs/heads/main/docs/en/laravel-openapi.json)
