Zum Inhalt springen

Laravel Release Notes

Einträge
733
Quellen
4
Zuletzt aktualisiert

Folge Laravel, um die Release Notes in deinen Feed zu holen.

Laravel

Boost: Neuer Befehl boost:skill-list

Der neue Artisan-Befehl php artisan boost:skill-list zeigt die verfügbaren Skills samt Quelle in einer Tabelle an, hebt eigene Skills hervor und bietet mit --json eine maschinenlesbare Ausgabe.

Pull request by @me-shaon

Wondering what skills are actually available in your project? A new Artisan command shows you:

php artisan boost:skill-list

You get a clean table of skill names alongside their source (the package they came from, or local if it's yours), with custom skills called out so they're easy to spot. Pass --json for machine-readable output if you're scripting around it:

[
    {
        "name": "livewire-development",
        "description": "Build dynamic interfaces using Livewire",
        "package": "livewire/livewire",
        "custom": false
    },
    {
        "name": "my-custom-skill",
        "description": "A custom skill for my project",
        "package": "user",
        "custom": true
    }
]

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Boost unterstützt Kiro IDE als Agent

Boost erkennt Kiro, die KI-IDE von Amazon, automatisch und schreibt Guidelines, Skills und MCP-Konfiguration nach .kiro/steering/boost.md, .kiro/skills/ und .kiro/settings/mcp.json.

Pull request by @oniice

Kiro, Amazon's AI-powered IDE, is now a first-class agent target alongside Cursor, Claude Code, and Copilot. Boost detects Kiro automatically and writes guidelines, skills, and MCP config to the right places (.kiro/steering/boost.md, .kiro/skills/, and .kiro/settings/mcp.json). Whatever editor you live in, your Laravel context comes with you.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Dusk: clickOnceEnabled() und clickOnceVisible()

Die neuen Dusk-Browsermethoden clickOnceEnabled() und clickOnceVisible() warten, bis ein Element bereit ist, und klicken es genau einmal an, was Tests stabiler macht.

Pull request by @weshooper

Two small additions, big quality-of-life win. The new clickOnceEnabled() and clickOnceVisible() browser methods wait for an element to be ready before clicking it exactly once, no pause() calls, no flaky retries:

$browser->clickOnceVisible('@save-button');
$browser->clickOnceEnabled('@submit-button');

A clean way to keep your test suite stable on slower pages.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Laravel Echo: Svelte-5-Adapter mit useEcho

Für Svelte 5 gibt es jetzt einen Laravel-Echo-Adapter mit der useEcho-Rune, um Channels zu abonnieren und auf Events reaktiv zu reagieren.

Pull request by @joetannenbaum

Svelte 5 developers can now use Laravel Echo with the same ergonomics React and Vue have enjoyed. The new useEcho rune lets you subscribe to channels and react to events with full reactivity:

<script>
    import { useEcho } from '@laravel/echo-svelte';

    const { channel } = useEcho('orders', 'OrderShipped', (e) => {
        console.log(e.order);
    });
</script>

Real-time features in Svelte are now a single import away.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Horizon: Redis-Cluster-Unterstützung

Horizon läuft jetzt auch auf Redis-Cluster-Deployments wie AWS ElastiCache Serverless, indem das Prefix automatisch in einen Hash-Tag gepackt wird und Horizon::use() Cluster-Verbindungen korrekt registriert.

Pull request by @timmylindh

A companion to the framework's queue cluster work, Horizon now runs cleanly on AWS ElastiCache Serverless and other Redis Cluster deployments. The Horizon prefix is automatically wrapped in a hash tag so all keys land on the same slot, and Horizon::use() registers cluster connections properly instead of extracting a single node. Standalone setups behave exactly as before, so no migration is needed if you're not on a cluster. Full setup guide in the Horizon documentation.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Laravel Installer: Knappere Ausgabe mit task()

Bei laravel new erscheint jede Phase dank der task()-Funktion von Laravel Prompts als eigener Task mit Erfolgs- oder Fehleranzeige, und mit -v erhält man weiterhin die vollständige Ausgabe.

Pull request by @joetannenbaum

laravel new is a much calmer experience now. Instead of a wall of composer, npm, and artisan output, each phase (project create, key generate, migrations, frontend install, Pest, Boost, git init, GitHub push) renders as its own task with clear pass or fail indicators thanks to Laravel Prompts' task() helper. Want the full firehose? Pass -v and the original streaming output is right there.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Starter Kits liefern PAO standardmäßig mit

PAO ist nun in allen Starter Kits enthalten, sodass neue Apps ohne zusätzliche Einrichtung für KI-freundliche Tooling-Ausgaben bereit sind.

Pull request by @nunomaduro

PAO ships out of the box with every starter kit (Inertia, Livewire, blank, WorkOS variants and all). New apps come ready for AI-friendly tooling output with no extra setup.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Starter Kits: Toast-Benachrichtigungen statt „Saved“

Alle 21 Starter-Kit-Varianten zeigen statt generischer Meldungen nun spezifische, übersetzbare Toast-Benachrichtigungen, in Livewire über Flux::toast und in Inertia über Sonner mit Inertia::flash.

Pull request by @WendellAdriel

Generic "Saved" messages are out, proper toast notifications are in. All 21 starter kit variants now use specific, translatable messages like "Profile updated." or "Team created." Livewire kits use Flux's native Flux::toast, while Inertia kits use Sonner with a tidy Inertia::flash pattern that's identical across React, Svelte, and Vue. Polished feedback, consistent everywhere.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

MCP: Unterstützung für UI-Apps in Tools

MCP-Tools können nun mit MCP UI App Support eine eigenständige HTML-App in einem Sandbox-iframe des Hosts darstellen, erzeugbar mit php artisan make:mcp-app-resource und per #[RendersApp] mit einem Tool verknüpfbar.

Pull request by @pushpak1300

MCP tools were text-only until now. With MCP UI App support, a tool can render a self-contained HTML app inside a sandboxed iframe in the host. Scaffold one with a single command:

php artisan make:mcp-app-resource DashboardApp

The default handle() auto-infers the Blade view from the class name, so the PHP side stays minimal:

class DashboardApp extends AppResource
{
    public function handle(Request $request): Response
    {
        return Response::view('mcp.dashboard-app', [
            'title' => $this->title(),
        ]);
    }
}

The view is the entire app, HTML, JS, and CSS in one file with the bundled SDK already inlined:

<x-mcp::app title="Dashboard">
    <x-slot:head>
        <script type="module">
            createMcpApp(async (app) => {
                const result = await app.callTool('get-data');
                document.getElementById('output').textContent = result.content[0]?.text;
            });
        </script>
    </x-slot>
    <div id="output"></div>
</x-mcp::app>

Link a tool to the app with the #[RendersApp] attribute, optionally hiding helper tools from the model so only the UI can call them. No npm, no Vite, just Blade.

Laravel now ships a full passkey story instead of asking you to assemble WebAuthn by hand.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Passkeys: Server-Paket laravel/passkeys

Das Server-Paket laravel/passkeys ist auf Packagist veröffentlicht und bringt Migrationen, Routen für Login, Bestätigung und Credential-Verwaltung sowie WebAuthn-Actions und Events mit.

laravel/passkeys-server is published on Packagist as laravel/passkeys. It brings migrations, routes for login, confirmation, and credential management, plus WebAuthn actions, events, and escape hatches when you need custom authorization, responses, or your own route definitions.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Passkeys: Client-Paket @laravel/passkeys

Das npm-Paket @laravel/passkeys übernimmt Registrierung und Verifizierung im Browser und bietet Helfer für React, Vue und Svelte inklusive SSR-sicherer Hooks.

@laravel/passkeys (source) handles browser ceremonies—registration and verification—with a small core API and first-class helpers for React, Vue, and Svelte, including SSR-safe hooks so client-only APIs do not fight your framework.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Fortify: Integration von Passkeys

Laravel Fortify bindet Passkeys über Features::passkeys() und einen passkeys-Abschnitt in config/fortify.php ein und stellt dieselben Endpunkte und Contracts wie PasskeyUser und PasskeyAuthenticatable bereit.

Laravel Fortify integrates the stack behind Features::passkeys() and a passkeys section in config/fortify.php, so Fortify apps get the same endpoints and contracts (PasskeyUser, PasskeyAuthenticatable) without reimplementing glue.

Together: server package, npm client, and Fortify line up on routes and contracts so passwordless auth stays boring to wire up and portable across stacks.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Pint: Agent-Reporter an PAO-Format angepasst

Der Agent-Reporter von Pint folgt jetzt dem PAO-Format, indem er einen tool-Schlüssel ergänzt und „passed“ statt „pass“ verwendet.

Pull request by @nunomaduro

When agents run Pint alongside other tooling, consistent output matters. Pint's agent reporter now mirrors the PAO format, adding a tool key and using passed instead of pass:

{"tool":"pint","result":"passed"}
{"tool":"phpstan","result":"passed","errors":0}
{"tool":"pest","result":"passed","tests":52,"passed":52,"assertions":90,"duration_ms":534}

Small change, much easier to parse in agent workflows.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

VS Code Extension: Neue Laravel-13-Attribute

Die VS-Code-Extension bietet nun Autovervollständigung, Hover-Infos, Navigation und Diagnose für Laravel-13-Attribute wie Authorize, Middleware, RedirectToRoute, Fillable, Guarded, Hidden, Visible und Appends.

Pull request by @N1ebieski

The VS Code extension now understands Laravel 13's new attributes. You get autocompletion, hover tooltips, navigation, and diagnostics for routing attributes like Authorize, Middleware, and RedirectToRoute, plus model attributes like Fillable, Guarded, Hidden, Visible, and Appends. Writing controllers and Eloquent models with attributes feels just as smooth as the array syntax did.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

VS Code Extension: Gängige Artisan-Befehle im Terminal

Dreißig gängige Artisan-Befehle wie migrate, tinker und route:list lassen sich nun über die VS-Code-Befehlspalette in einem eigenen Terminal „Laravel Artisan“ ausführen.

Pull request by @TitasGailius

Thirty common Artisan commands are now a keystroke away in the VS Code command palette, including migrate, migrate:fresh, tinker, db, route:list, pail, queue:retry, schedule:list, cache:clear, and more. Each runs in a dedicated Laravel Artisan terminal so you can read the output directly. Less context switching, more shipping.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

VS Code Extension: Pest-IntelliSense

Die Extension liest die Pest-Konfiguration und erzeugt Helfer-Docblocks mit korrektem $this-Typ, Autovervollständigung für pest()->extend() und pest()->use() sowie benutzerdefinierte Expectations, abgelegt in storage/framework/testing/_pest.php.

Pull request by @TitasGailius

Pest test files get a real intellisense upgrade. The extension now reads your Pest config to generate helper docblocks that preserve the right $this type inside hooks and tests, surface pest()->extend(...) and pest()->use(...) setups for autocomplete and navigation, and expose any custom expectations you have defined. Generated docblocks live in storage/framework/testing/_pest.php, which is gitignored. Writing Pest tests in VS Code feels noticeably better.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

VS Code Extension: Befehl „Go to route“

Der neue Befehl „Laravel: Go to route“ öffnet eine Fuzzy-Suche über alle registrierten Routen nach Pfad oder Name und springt direkt zum jeweiligen Handler.

Pull request by @TitasGailius

A new Laravel: Go to route command opens a fuzzy picker of every registered route, by path or name, and jumps straight to the handler. No more grepping for a controller method or scanning route:list. One of those small commands you wonder how you lived without after a week.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel Framework von Laravel

Laravel Framework 13.x: JsonFormatter eingeführt

Der neue Illuminate\Log\Formatters\JsonFormatter nimmt context()-Daten von Exceptions, auch aus verketteten vorherigen Exceptions, in strukturierte Logs auf.

Pull request by @cosmastech

Exception context is one of those things you only realize you needed after staring at production logs for hours. The new Illuminate\Log\Formatters\JsonFormatter ensures context() data on your custom exceptions actually shows up in structured logs, including context from previous exceptions in a chain. Wire it up in config/logging.php:

'formatter' => Illuminate\Log\Formatters\JsonFormatter::class,

Now an exception like this carries its enriched context all the way through to the log entry:

class MyException extends \RuntimeException
{
    public function context(): array
    {
        return [
            'luke' => 'cosmastech',
            'taylor' => 'taylorotwell',
        ];
    }
}

Whether the exception is sent through report() or written via Log::error() with an exception key, the structured payload now includes everything you put on the exception itself.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel Framework von Laravel

Laravel Framework 13.x: prefersJsonResponses() im Application Builder

Mit dem optionalen prefersJsonResponses() im Application Builder werden breite Accept-Header als JSON behandelt, während explizite text/html-Anfragen unverändert bleiben und der ursprüngliche Wert in X-Original-Accept erhalten bleibt.

Pull request by @WendellAdriel

Building an API and tired of curl requests coming back as HTML? One line in bootstrap/app.php now treats broad Accept headers as JSON, so auth redirects, validation errors, and exception pages all serialize properly for clients that didn't ask for HTML:

return Application::configure(basePath: dirname(__DIR__))
    ->withRouting(
        web: __DIR__.'/../routes/web.php',
        commands: __DIR__.'/../routes/console.php',
    )
    ->prefersJsonResponses()
    ->create();

Clients that explicitly request text/html are left alone, and the original Accept value is preserved on X-Original-Accept if you need it for logging. Default behavior is unchanged unless you opt in.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Agent Skills: useHttp erhält onHttpException, onNetworkError und Response in onSuccess

Der useHttp-Hook bietet nun die Fehler-Callbacks onHttpException und onNetworkError sowie die rohe HttpResponse als zweites Argument von onSuccess, verfügbar für React, Vue und Svelte.

Pull request by @pascalbaljet

The useHttp hook gets the same error callbacks Inertia visits already have. No more wrapping calls in try/catch just to handle a 500 or a dropped connection. There's also a second argument on onSuccess that hands you the raw HttpResponse, so telling a 200 apart from a 204 is now trivial. Available across the React, Vue, and Svelte adapters.

Originalquelle(öffnet in neuem Tab)Problem melden