# Laravel

Published articles for Laravel.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## ★ Detecting suspicious logins in your Laravel app

DevFeed: [★ Detecting suspicious logins in your Laravel app](<https://devfeed.tech/articles/detecting-suspicious-logins-in-your-laravel-app-147122.md>)

Original publisher: [Read original article](<https://freek.dev/3230-detecting-suspicious-logins-in-your-laravel-app>)

Author: Freek Van der Herten (freek@spatie.be)

Published: 2026-11-20T10:01:17Z

Content type: article

Language: en

Sources: [Freek](<https://devfeed.tech/sources/freek-dev-all-blogposts.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [Laravel Boost](<https://devfeed.tech/topics/laravel-boost.md>), [codex](<https://devfeed.tech/topics/codex.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-coding-agent](<https://devfeed.tech/tags/ai-coding-agent.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [block](<https://devfeed.tech/tags/block.md>), [boost](<https://devfeed.tech/tags/boost.md>), [browser](<https://devfeed.tech/tags/browser.md>), [composer](<https://devfeed.tech/tags/composer.md>), [country](<https://devfeed.tech/tags/country.md>), [credential-stuffing](<https://devfeed.tech/tags/credential-stuffing.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [device](<https://devfeed.tech/tags/device.md>), [email](<https://devfeed.tech/tags/email.md>), [failed](<https://devfeed.tech/tags/failed.md>), [geolocation](<https://devfeed.tech/tags/geolocation.md>), [history](<https://devfeed.tech/tags/history.md>), [ip](<https://devfeed.tech/tags/ip.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [location](<https://devfeed.tech/tags/location.md>), [login](<https://devfeed.tech/tags/login.md>), [medium](<https://devfeed.tech/tags/medium.md>), [mobile-networks](<https://devfeed.tech/tags/mobile-networks.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [security](<https://devfeed.tech/tags/security.md>), [spatie](<https://devfeed.tech/tags/spatie.md>)

### AI overview

laravel-suspicious-login scores assessed logins by configurable signals, so several indicators can be weighed together instead of blocking on an unfamiliar IP alone. Its DefaultPreset checks signals including new devices, countries and IPs, impossible travel, repeated failures, credential stuffing and suspicious user agents; successful and failed attempts are logged, but failed attempts are not scored. Presets set risk thresholds and actions: in the example, a new country sends an email, while a new country plus a new device reaches high risk and emails then blocks the login. Blocking is session-based unless another authentication flow supplies its own action. Device and country checks rely on prior successful, unblocked logins, so they do not flag a first login; country checks require location data and can be triggered by travel or VPNs. The excerpt recommends monitoring before enabling blocking. Presets can also vary by user, and email handling can be customized through Laravel mailables, views and events.

### Source excerpt

Imagine someone logs in to your account from the other side of the world. If you're travelling, that might be perfectly normal. But if you're sitting at home in your hometown, it's suspicious. Someone might have gotten hold of your credentials. We've released laravel-suspicious-login to notify users about suspicious logins and let you decide what happens next. It looks at signals such as the browser, location and earlier failed attempts. You can email the user, block the login or run your own actions. You can install it with Composer, or let your AI coding agent do it. The package includes a Laravel Boost skill for installing and customizing it. Adding up the signals Let's take a look at how the package detects signals that might indicate a suspicious login. An unfamiliar IP address isn't much of a reason to reject a login. Mobile networks change addresses all the time. Several signals together can be more useful. Each check adds a configurable number of points when it flags a login. For example, with DefaultPreset, working geolocation and an existing login history, these checks could contribute: New device +25 New IP address +10 New country +30 --- Total 65 Assuming the other checks pass, that's medium risk. The default thresholds in config/suspicious-login.php are: 'risk_thresholds' => [ 'medium' => 40, 'high' => 70, ], The default preset also checks for impossible travel, repeated failed attempts, credential stuffing and suspicious user agents. The package also logs all login attempts, both successful and failed, so you can review a user's login history. Assessed logins include their score and the reasons behind it. Failed logins are recorded, but aren't scored. Choosing when to block A preset class combines the checks, thresholds and actions in one PHP class. Here's a small example for a session-based application. A new country should trigger an email. A new country together with a new device should also block the login. Let's look at this example preset impleme

## Laranon: Reversible PII Anonymization for Laravel and LLMs

DevFeed: [Laranon: Reversible PII Anonymization for Laravel and LLMs](<https://devfeed.tech/articles/laranon-reversible-pii-anonymization-for-laravel-and-llms-147031.md>)

Original publisher: [Read original article](<https://laravel-news.com/laranon-pii-anonymization>)

Author: Yannick Lyn Fatt

Published: 2026-11-20T01:44:50Z

Content type: article

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [pii](<https://devfeed.tech/topics/pii.md>), [Laravel](<https://devfeed.tech/topics/laravel.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>)

Tags: [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-packages](<https://devfeed.tech/tags/laravel-packages.md>), [llms](<https://devfeed.tech/tags/llms.md>), [packages](<https://devfeed.tech/tags/packages.md>), [personal-data](<https://devfeed.tech/tags/personal-data.md>), [pii](<https://devfeed.tech/tags/pii.md>), [tokens](<https://devfeed.tech/tags/tokens.md>)

### AI overview

Laranon detects personal data in Laravel text, replaces it with tokens before an LLM call, and restores values from a server-side map. Its excerpt describes in-memory sessions for one request and encrypted cache or database scopes for work spanning requests; scopes expire after six hours by default and can be deleted with `forget()`. It supports token, reversible Faker, and irreversible redaction strategies, plus English and Spanish detection packs, checksum validation for specified identifiers, streaming restoration, log and HTTP scrubbing, and a scan command that reports matches and confidence. Name detection tokenizes individual words and relies on title and name lists, so it does not identify people and may leave names unmatched. Nearby-word context is required for postal codes, ZIP codes, and passports. The package requires PHP 8.2+ and Laravel 12+.

### Source excerpt

Laranon finds personal data in Laravel apps and replaces it with tokens before it reaches an LLM, then puts the real values back in the model's reply. The post Laranon: Reversible PII Anonymization for Laravel and LLMs appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Laravel Warrant: Row-Level Permissions With Eloquent

DevFeed: [Laravel Warrant: Row-Level Permissions With Eloquent](<https://devfeed.tech/articles/laravel-warrant-row-level-permissions-with-eloquent-145240.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-warrant>)

Author: Yannick Lyn Fatt

Published: 2026-11-18T17:11:12Z

Content type: tutorial

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>)

Tags: [authorization](<https://devfeed.tech/tags/authorization.md>), [eloquent](<https://devfeed.tech/tags/eloquent.md>), [filter](<https://devfeed.tech/tags/filter.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-packages](<https://devfeed.tech/tags/laravel-packages.md>), [permissions](<https://devfeed.tech/tags/permissions.md>), [queries](<https://devfeed.tech/tags/queries.md>), [row-level-permissions](<https://devfeed.tech/tags/row-level-permissions.md>), [sql](<https://devfeed.tech/tags/sql.md>), [warrant](<https://devfeed.tech/tags/warrant.md>)

### AI overview

Laravel Warrant lets you define row-level authorization rules once and use them both to filter Eloquent queries and authorize individual records. In the timesheet example, ownership grants viewing and updating, while a lock condition denies updates; filtering in SQL before pagination avoids totals and pages that include inaccessible rows. The package can select per-row abilities for UI decisions, but the update endpoint still needs authorization. Its Gate hook handles abilities declared in a registered schema and leaves undeclared abilities to Laravel's normal authorization flow, including policies. Warrant requires learning its rule syntax, leaves role and rule storage to the application, and is in beta, so the excerpt recommends pinning a version and checking upgrade notes. Per-row ability selection adds a predicate per requested ability; supported databases are PostgreSQL, MySQL/MariaDB, and SQLite.

### Source excerpt

Laravel Warrant compiles authorization rules into SQL. Filter Eloquent queries, check individual records, and return per-row abilities from the same rules. The post Laravel Warrant: Row-Level Permissions With Eloquent appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## JSON Schema Validation Rules and a RetryFor Attribute in Laravel 13.43

DevFeed: [JSON Schema Validation Rules and a RetryFor Attribute in Laravel 13.43](<https://devfeed.tech/articles/json-schema-validation-rules-and-a-retryfor-attribute-in-laravel-13-43-142039.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-13-43-0>)

Author: Paul Redmond

Published: 2026-11-17T23:07:18Z

Content type: release

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [JSON Schema](<https://devfeed.tech/topics/json-schema.md>), [Data validation](<https://devfeed.tech/topics/data-validation.md>)

Tags: [ai-sdk](<https://devfeed.tech/tags/ai-sdk.md>), [json-schema](<https://devfeed.tech/tags/json-schema.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-releases](<https://devfeed.tech/tags/laravel-releases.md>), [news](<https://devfeed.tech/tags/news.md>), [queue](<https://devfeed.tech/tags/queue.md>), [rules](<https://devfeed.tech/tags/rules.md>), [security](<https://devfeed.tech/tags/security.md>), [security-fixes](<https://devfeed.tech/tags/security-fixes.md>), [validation](<https://devfeed.tech/tags/validation.md>)

### AI overview

Laravel 13.43.0 adds `JsonSchema::rules()` to derive Laravel validation rules from an object schema or raw schema array, including nested dot-notation keys, and adds queue controls for retry windows and self-releases. `#[RetryFor]` sets a job's retry window and is inherited, while `retryUntil()` or `$retryUntil` takes precedence. `releaseUsingBackoff()` uses the current attempt's backoff and repeats the final delay after the list ends; without backoff it adds no delay. Other changes include `RawTemplate` for explicit inline Blade templates, `withoutAffectingStickiness()` for writes that should not switch later reads to the write connection, and `isBlank()`/`isNotBlank()` on fluent strings. The release also fixes security issues involving signed URL expiration, XSS, mass assignment, file validation, and unbounded JSON Schema `$ref` chains; Laravel now conflicts with Horizon versions below 5.47.0.

### Source excerpt

Laravel 13.43 turns JSON schemas into validation rules, adds a #[RetryFor] queue attribute and releaseUsingBackoff(), and ships several security fixes. The post JSON Schema Validation Rules and a RetryFor Attribute in Laravel 13.43 appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Durable Workflow: Long-Running Workflows for Laravel

DevFeed: [Durable Workflow: Long-Running Workflows for Laravel](<https://devfeed.tech/articles/durable-workflow-long-running-workflows-for-laravel-139541.md>)

Original publisher: [Read original article](<https://laravel-news.com/durable-workflow-laravel>)

Author: Yannick Lyn Fatt

Published: 2026-11-16T03:04:17Z

Content type: article

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [workflow automation](<https://devfeed.tech/topics/workflow-automation.md>), [Persistence](<https://devfeed.tech/topics/persistence.md>)

Tags: [amazon-sqs](<https://devfeed.tech/tags/amazon-sqs.md>), [background](<https://devfeed.tech/tags/background.md>), [background-work](<https://devfeed.tech/tags/background-work.md>), [cache](<https://devfeed.tech/tags/cache.md>), [database](<https://devfeed.tech/tags/database.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-packages](<https://devfeed.tech/tags/laravel-packages.md>), [long-running](<https://devfeed.tech/tags/long-running.md>), [packages](<https://devfeed.tech/tags/packages.md>), [progress](<https://devfeed.tech/tags/progress.md>), [queues](<https://devfeed.tech/tags/queues.md>), [workflow](<https://devfeed.tech/tags/workflow.md>), [workflows](<https://devfeed.tech/tags/workflows.md>)

### AI overview

Durable Workflow is an open-source Laravel package for processes that need progress preserved across worker restarts. It records activity results in your database, runs work through Laravel queues, and uses cache locks; it requires an asynchronous queue driver and a lock-capable cache. Workflows coordinate PHP activities, and replay reuses recorded results, though an operation may run again if a worker stops before recording its result, so activities should be safe to repeat. In v2, retries are opt-in and activities default to one attempt; an unhandled final failure does not automatically reopen after a fix. Signals and durable timers support waiting for external input. The article recommends ordinary Laravel jobs for single background tasks and positions workflows for multi-step processes or those that wait. Version 2.28.1 requires Laravel 12.72+ or 13.41+ and PHP 8.2+ (PHP 8.3+ for Laravel 13).

### Source excerpt

Durable Workflow runs long-running Laravel workflows on your own database, queues, and cache. Learn how it records progress and coordinates background work. The post Durable Workflow: Long-Running Workflows for Laravel appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Session Replay for Laravel: Self-Hosted Browser Recordings

DevFeed: [Session Replay for Laravel: Self-Hosted Browser Recordings](<https://devfeed.tech/articles/session-replay-for-laravel-self-hosted-browser-recordings-136555.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-session-replay>)

Author: Paul Redmond

Published: 2026-11-12T23:41:11Z

Content type: article

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [recording](<https://devfeed.tech/topics/recording.md>), [Self-hosted](<https://devfeed.tech/topics/self-hosted.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Livewire](<https://devfeed.tech/topics/livewire.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-packages](<https://devfeed.tech/tags/laravel-packages.md>), [recordings](<https://devfeed.tech/tags/recordings.md>), [self-hosted](<https://devfeed.tech/tags/self-hosted.md>), [session-replay](<https://devfeed.tech/tags/session-replay.md>)

### AI overview

Packstub's Session Replay for Laravel records browser activity with rrweb and stores gzipped recording chunks on a Laravel disk, with an index in the database and a gated in-app viewer. Add the `@sessionReplay` directive to a layout; recordings include timeline markers for JavaScript and server errors, failed requests, navigation, web vitals, and rage clicks. In `on_error` mode, it buffers events in the browser and uploads them when a configured error or request trigger fires; users can be asked before upload. Defaults mask inputs, skip guests, omit IP addresses, strip Livewire snapshot state, and prune recordings after 30 days. Access requires defining the `viewSessionReplay` gate outside local environments. The package requires PHP 8.3 and Laravel 12 or 13. Its signed upload token is not encrypted, so custom properties must not contain secrets.

### Source excerpt

Session Replay records browser sessions in your Laravel app with rrweb, stores them on your own disk, and marks errors and failed Livewire requests. The post Session Replay for Laravel: Self-Hosted Browser Recordings appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Laravel AI SDK 1.4 Lets Agents Recover From Tool Failures

DevFeed: [Laravel AI SDK 1.4 Lets Agents Recover From Tool Failures](<https://devfeed.tech/articles/laravel-ai-sdk-1-4-lets-agents-recover-from-tool-failures-133561.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-ai-sdk-1-4>)

Author: Paul Redmond

Published: 2026-11-12T23:39:51Z

Content type: release

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [Multi-step AI processes](<https://devfeed.tech/topics/multi-step-ai-processes.md>), [Resilience](<https://devfeed.tech/topics/resilience.md>), [function calling](<https://devfeed.tech/topics/function-calling.md>), [human in the loop agent](<https://devfeed.tech/topics/human-in-the-loop-agent.md>)

Tags: [1-4](<https://devfeed.tech/tags/1-4.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-sdk](<https://devfeed.tech/tags/ai-sdk.md>), [articles](<https://devfeed.tech/tags/articles.md>), [cost](<https://devfeed.tech/tags/cost.md>), [exceptions](<https://devfeed.tech/tags/exceptions.md>), [failures](<https://devfeed.tech/tags/failures.md>), [first](<https://devfeed.tech/tags/first.md>), [join](<https://devfeed.tech/tags/join.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-ai](<https://devfeed.tech/tags/laravel-ai.md>), [laravel-ai-releases](<https://devfeed.tech/tags/laravel-ai-releases.md>), [like](<https://devfeed.tech/tags/like.md>), [model](<https://devfeed.tech/tags/model.md>), [news](<https://devfeed.tech/tags/news.md>), [resume](<https://devfeed.tech/tags/resume.md>), [run](<https://devfeed.tech/tags/run.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [tests](<https://devfeed.tech/tags/tests.md>), [tool](<https://devfeed.tech/tags/tool.md>)

### AI overview

Laravel AI SDK v1.4.0 lets agent runs recover from tool exceptions: the model receives the error as a failed tool result and can explain it or try another tool. The exception is still reported and `ToolFailed` fires; event-listener exceptions can still fail the run. Agent fakes now execute approved tools when resuming paused approvals and store their results. The release adds raw provider HTTP responses to classification, embedding, transcription, image, and reranking responses; these are null after serialization and for fully cached embeddings. OpenAI billing-related 429 errors now raise `InsufficientCreditsException` without retry, while other 429s remain rate-limit errors; both remain failoverable. Stream provider errors use the broadcast name `error`, retaining the provider code in the payload. Conversation title calls now emit agent events, but failures fall back to the prompt without failing the turn. The excerpt also lists provider tool-call fixes and upgrade behavior changes for approval tests, exception handling, billing errors, and stream listeners.

### Source excerpt

Laravel AI SDK 1.4 sends tool exceptions back to the model instead of ending the run, and lets agent fakes resume tool approvals in tests. The post Laravel AI SDK 1.4 Lets Agents Recover From Tool Failures appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Using Laravel Boost for package development with Orchestra Testbench

DevFeed: [Using Laravel Boost for package development with Orchestra Testbench](<https://devfeed.tech/articles/using-laravel-boost-for-package-development-with-orchestra-testbench-131292.md>)

Original publisher: [Read original article](<https://freek.dev/3219-using-laravel-boost-for-package-development-with-orchestra-testbench>)

Author: Freek Van der Herten (freek@spatie.be)

Published: 2026-11-12T12:30:29Z

Content type: article

Language: en

Sources: [Freek](<https://devfeed.tech/sources/freek-dev-all-blogposts.md>)

Topics: [Laravel Boost](<https://devfeed.tech/topics/laravel-boost.md>), [Developer experience](<https://devfeed.tech/topics/developer-experience.md>)

Tags: [best-practices](<https://devfeed.tech/tags/best-practices.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-boost](<https://devfeed.tech/tags/laravel-boost.md>), [package](<https://devfeed.tech/tags/package.md>), [php](<https://devfeed.tech/tags/php.md>), [spatie](<https://devfeed.tech/tags/spatie.md>), [testbench](<https://devfeed.tech/tags/testbench.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

The excerpt says Laravel Boost can be adapted for package development by pairing it with Orchestra Testbench. It highlights tweaks that direct Boost to read and write in the package root, let it run through a custom artisan file, and tailor its workflow to packages rather than full Laravel applications. The excerpt does not provide the specific configuration steps.

### Source excerpt

Rias Van der Veken shows how to make Laravel Boost work nicely in package development by pairing it with Orchestra Testbench. The article covers a few smart tweaks so Boost reads and writes in the package root, works through a custom artisan file, and stays tailored for package workflows instead of full Laravel apps. Read more

## Building an AI-Powered Household Manager With Laravel and the Laravel AI SDK

DevFeed: [Building an AI-Powered Household Manager With Laravel and the Laravel AI SDK](<https://devfeed.tech/articles/building-an-ai-powered-household-manager-with-laravel-and-the-laravel-ai-sdk-130185.md>)

Original publisher: [Read original article](<https://hackernoon.com/building-an-ai-powered-household-manager-with-laravel-and-the-laravel-ai-sdk?source=rss>)

Author: Yoram Kornatzky

Published: 2026-11-12T07:25:09Z

Content type: article

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [cursor](<https://devfeed.tech/topics/cursor.md>)

Tags: [ai-agent-development](<https://devfeed.tech/tags/ai-agent-development.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-development](<https://devfeed.tech/tags/ai-development.md>), [ai-sdk](<https://devfeed.tech/tags/ai-sdk.md>), [bounded](<https://devfeed.tech/tags/bounded.md>), [inventory-management](<https://devfeed.tech/tags/inventory-management.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [maintenance](<https://devfeed.tech/tags/maintenance.md>), [php](<https://devfeed.tech/tags/php.md>), [planning](<https://devfeed.tech/tags/planning.md>), [scheduling](<https://devfeed.tech/tags/scheduling.md>), [shopping](<https://devfeed.tech/tags/shopping.md>), [smart-home-management](<https://devfeed.tech/tags/smart-home-management.md>), [task-scheduling](<https://devfeed.tech/tags/task-scheduling.md>), [timezone](<https://devfeed.tech/tags/timezone.md>)

### AI overview

Household Manager uses Laravel AI SDK agents for cooking, shopping, maintenance, and cleaning, with a scheduler that checks every minute against each user's local time. Cooking produces structured meals and prep estimates; serving meals reduces pantry stock, while shopping subtracts inventory from weekly ingredients and tracks partial purchases as remaining quantities. Shopping preparation counts lead time back from Monday breakfast. A house inventory generates separate maintenance and cleaning schedules, with email notifications at 08:00 when tasks are due. Missed work runs late within bounded catch-up windows; existing meal, notification, list, and maintenance records track completion. The excerpt also describes Pest feature and architecture tests, browser testing, optional evals, and mutation testing; live-model eval cases currently skip because the model rejects a temperature setting.

### Source excerpt

Building reliable household AI agents with Laravel AI SDK: meal planning, shopping, maintenance, cleaning, and timezone-aware scheduling with bounded catch-up.

## Laravel Read Replicas: Check if a Replica Has Caught Up

DevFeed: [Laravel Read Replicas: Check if a Replica Has Caught Up](<https://devfeed.tech/articles/laravel-read-replicas-check-if-a-replica-has-caught-up-131217.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-read-replica-commit-ids>)

Author: Paul Redmond

Published: 2026-11-11T23:04:37Z

Content type: article

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [read-replica](<https://devfeed.tech/topics/read-replica.md>), [Laravel](<https://devfeed.tech/topics/laravel.md>), [consistency](<https://devfeed.tech/topics/consistency.md>), [MariaDB](<https://devfeed.tech/topics/mariadb.md>)

Tags: [commit](<https://devfeed.tech/tags/commit.md>), [database](<https://devfeed.tech/tags/database.md>), [ids](<https://devfeed.tech/tags/ids.md>), [job](<https://devfeed.tech/tags/job.md>), [lag](<https://devfeed.tech/tags/lag.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-tutorials](<https://devfeed.tech/tags/laravel-tutorials.md>), [mariadb](<https://devfeed.tech/tags/mariadb.md>), [middleware](<https://devfeed.tech/tags/middleware.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [read-replicas](<https://devfeed.tech/tags/read-replicas.md>), [replica](<https://devfeed.tech/tags/replica.md>), [write](<https://devfeed.tech/tags/write.md>)

### AI overview

Laravel 13.40 adds commit ID checks that let applications route reads based on whether a replica has applied a write, rather than relying only on a fixed lag window. `getLastCommitId()` reads the primary's position; `hasCommitId()` checks the server used for reads and can check once or wait up to a whole-number timeout; `mergeCommitIds()` combines positions across writes. The article gives two patterns: session middleware stores pending IDs and uses the primary until a replica catches up, while queued jobs receive an ID, wait briefly, then fall back to the primary. Capture the ID after a transaction commits. The middleware adds a replica query per pending request and a primary query per writing request; a job should receive an ID rather than a serialized model to avoid loading it from a lagging replica before the check. Requirements vary: MySQL needs binary logging and GTIDs, MariaDB needs binary logging, SQLite and SQL Server are unsupported, and PostgreSQL 18 and earlier cannot use the wait option. Replica checks follow Laravel's connection routing and must be repeated on each request.

### Source excerpt

Laravel 13.40 adds commit IDs to MySQL, MariaDB, and PostgreSQL connections, so you can check whether a read replica has a write before you read from it. The post Laravel Read Replicas: Check if a Replica Has Caught Up appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Your Laravel queue workers keep 8 copies of your app in memory

DevFeed: [Your Laravel queue workers keep 8 copies of your app in memory](<https://devfeed.tech/articles/your-laravel-queue-workers-keep-8-copies-of-your-app-in-memory-129375.md>)

Original publisher: [Read original article](<https://freek.dev/3218-your-laravel-queue-workers-keep-8-copies-of-your-app-in-memory>)

Author: Freek Van der Herten (freek@spatie.be)

Published: 2026-11-11T12:31:09Z

Content type: article

Language: en

Sources: [Freek](<https://devfeed.tech/sources/freek-dev-all-blogposts.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>)

Tags: [horizon](<https://devfeed.tech/tags/horizon.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [memory](<https://devfeed.tech/tags/memory.md>), [opcache](<https://devfeed.tech/tags/opcache.md>), [package](<https://devfeed.tech/tags/package.md>), [performance](<https://devfeed.tech/tags/performance.md>), [queue](<https://devfeed.tech/tags/queue.md>), [queues](<https://devfeed.tech/tags/queues.md>), [servers](<https://devfeed.tech/tags/servers.md>), [spatie](<https://devfeed.tech/tags/spatie.md>), [throughput](<https://devfeed.tech/tags/throughput.md>), [workers](<https://devfeed.tech/tags/workers.md>)

### AI overview

Laravel queue workers and Horizon supervisors each keep a compiled copy of the app in memory, so multiple processes can consume substantial memory on smaller servers. The post introduces queue-prefork, which shares opcache across forked workers and is described as reducing memory use without changing job throughput. The supplied text gives no measurements or implementation details.

### Source excerpt

This post explains why Laravel queue workers and Horizon supervisors each keep their own compiled copy of your app in memory, and how that adds up fast on smaller servers. It also introduces queue-prefork, a package that shares opcache across forked workers and dramatically cuts memory usage without changing job throughput. Read more

## UUID Request Input and Migration Failure Events in Laravel 13.42

DevFeed: [UUID Request Input and Migration Failure Events in Laravel 13.42](<https://devfeed.tech/articles/uuid-request-input-and-migration-failure-events-in-laravel-13-42-129796.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-13-42-0>)

Author: Paul Redmond

Published: 2026-11-11T00:02:52Z

Content type: release

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>)

Tags: [event](<https://devfeed.tech/tags/event.md>), [events](<https://devfeed.tech/tags/events.md>), [failure](<https://devfeed.tech/tags/failure.md>), [include](<https://devfeed.tech/tags/include.md>), [input](<https://devfeed.tech/tags/input.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-releases](<https://devfeed.tech/tags/laravel-releases.md>), [migration](<https://devfeed.tech/tags/migration.md>), [news](<https://devfeed.tech/tags/news.md>), [request](<https://devfeed.tech/tags/request.md>), [scheduled-tasks](<https://devfeed.tech/tags/scheduled-tasks.md>), [skip](<https://devfeed.tech/tags/skip.md>), [uuid](<https://devfeed.tech/tags/uuid.md>)

### AI overview

Laravel 13.42 adds typed `uuid()` and `ulid()` input helpers: missing or empty values return null, while invalid values throw; the helpers also work across classes using `InteractsWithData`. A new `MigrationFailed` event exposes migration details and its exception before that exception is rethrown. This can support alerts or taking an app offline; the excerpt notes MySQL schema changes may persist when a later migration statement fails. Scheduler skip events now include reasons, and `schedule:list --json` reports task-specific timezones unless `--timezone` requests conversion. Other additions include a callback for custom lost-connection detection, normalized `Uri::origin()` comparison (with `league/uri` 7.6+ required), macros on `PendingProcess`, and support for the renamed `ably/pubsub-server` package. The excerpt also lists fixes for lazy loading, token hashing, PostgreSQL reconnection, integer foreign keys, JSON:API duplication, and after-response exception reporting.

### Source excerpt

Laravel 13.42 adds uuid() and ulid() input helpers, a MigrationFailed event, skip reasons for scheduled tasks, and Uri::origin() for comparing URL origins. The post UUID Request Input and Migration Failure Events in Laravel 13.42 appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Laravel Rest Api 3.0: Typed Fields, Metrics, and OpenAPI Docs

DevFeed: [Laravel Rest Api 3.0: Typed Fields, Metrics, and OpenAPI Docs](<https://devfeed.tech/articles/laravel-rest-api-3-0-typed-fields-metrics-and-openapi-docs-126628.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-rest-api-3>)

Author: Eric L. Barnes

Published: 2026-11-10T13:33:18Z

Content type: release

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [REST API](<https://devfeed.tech/topics/rest-api.md>), [Laravel](<https://devfeed.tech/topics/laravel.md>), [OpenAPI Specification](<https://devfeed.tech/topics/openapi.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>)

Tags: [3](<https://devfeed.tech/tags/3.md>), [actions](<https://devfeed.tech/tags/actions.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-assistant](<https://devfeed.tech/tags/ai-assistant.md>), [algolia](<https://devfeed.tech/tags/algolia.md>), [api](<https://devfeed.tech/tags/api.md>), [count](<https://devfeed.tech/tags/count.md>), [counts](<https://devfeed.tech/tags/counts.md>), [docs](<https://devfeed.tech/tags/docs.md>), [eloquent](<https://devfeed.tech/tags/eloquent.md>), [fields](<https://devfeed.tech/tags/fields.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-packages](<https://devfeed.tech/tags/laravel-packages.md>), [metric](<https://devfeed.tech/tags/metric.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [openapi](<https://devfeed.tech/tags/openapi.md>), [package](<https://devfeed.tech/tags/package.md>), [rest](<https://devfeed.tech/tags/rest.md>), [rest-api](<https://devfeed.tech/tags/rest-api.md>), [scramble](<https://devfeed.tech/tags/scramble.md>)

### AI overview

Laravel Rest Api 3.0 rebuilds Eloquent-to-REST resources around typed fields: one field declaration governs type-compatible filters, write validation, response values and API documentation. It replaces built-in docs with Scramble's OpenAPI output and tests request examples against the generated document. Resource metrics gain dedicated endpoints for values, trends, partitions, progress and tables, with date ranges, time zones, prior-period comparisons, caching, and access limited to rows the user may see. Actions and writes can require confirmation: the API returns 428 with a message and signed token, then runs the same request when resubmitted with that token. Other changes include per-resource and per-row policy checks, tenant scoping, transactional nested writes, version conflict responses, and queued action batches. Version 3.0 requires PHP 8.3+ and Laravel 13.30+; Laravel 12 users should remain on 2.x. The excerpt notes breaking changes and refers to an upgrade guide.

### Source excerpt

Laravel Rest Api 3.0 rebuilds the package around typed fields, adds metric endpoints and write confirmations, and documents your API with Scramble. The post Laravel Rest Api 3.0: Typed Fields, Metrics, and OpenAPI Docs appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Replay Missed Laravel Scheduled Tasks With Schedule Catchup

DevFeed: [Replay Missed Laravel Scheduled Tasks With Schedule Catchup](<https://devfeed.tech/articles/replay-missed-laravel-scheduled-tasks-with-schedule-catchup-129797.md>)

Original publisher: [Read original article](<https://laravel-news.com/schedule-catchup>)

Author: Yannick Lyn Fatt

Published: 2026-11-09T22:32:39Z

Content type: tutorial

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [scheduling](<https://devfeed.tech/topics/scheduling.md>)

Tags: [downtime](<https://devfeed.tech/tags/downtime.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-packages](<https://devfeed.tech/tags/laravel-packages.md>), [recovery](<https://devfeed.tech/tags/recovery.md>), [scheduled-tasks](<https://devfeed.tech/tags/scheduled-tasks.md>)

### AI overview

Schedule Catchup replays missed Laravel scheduled events after downtime by recording scheduler activity in a database and checking for uncompleted past cron slots when scheduling resumes. Recovery is opt-in per event with `replayOnCatchup()`; occurrences are processed oldest first, and a first run establishes a baseline instead of recovering unknown history. The default cap is 50 slots per event walk; in v1.1.0 a cursor carries excess backlog to later passes. Failed and deferred runs are tracked separately, with retries stopping at the default three attempts. Use `ResolvesScheduledTime::scheduledFor()` in date-sensitive commands to get the missed occurrence's timestamp; existing `now()` calls remain current-time based. Dry-run and event filtering let operators inspect candidates, and filtered runs do not advance the global checkpoint. The package requires PHP 8.2+ and Laravel 11-13. Recovery still depends on the scheduler restarting, shared cache is needed for multi-server locks, and retries can duplicate side effects such as email unless commands handle already-completed work.

### Source excerpt

Schedule Catchup replays missed Laravel scheduled tasks after downtime, with opt-in recovery, bounded retries, and access to the original scheduled date. The post Replay Missed Laravel Scheduled Tasks With Schedule Catchup appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Search Polymorphic Relations and Filament Tables With Laravel Searchable

DevFeed: [Search Polymorphic Relations and Filament Tables With Laravel Searchable](<https://devfeed.tech/articles/search-polymorphic-relations-and-filament-tables-with-laravel-searchable-126629.md>)

Original publisher: [Read original article](<https://laravel-news.com/mozex-laravel-searchable>)

Author: Yannick Lyn Fatt

Published: 2026-11-09T22:31:59Z

Content type: article

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>), [Laravel](<https://devfeed.tech/topics/laravel.md>)

Tags: [eloquent](<https://devfeed.tech/tags/eloquent.md>), [filament](<https://devfeed.tech/tags/filament.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-packages](<https://devfeed.tech/tags/laravel-packages.md>), [ranking](<https://devfeed.tech/tags/ranking.md>), [relevance](<https://devfeed.tech/tags/relevance.md>), [search](<https://devfeed.tech/tags/search.md>), [tables](<https://devfeed.tech/tags/tables.md>)

### AI overview

Mozex's Laravel Searchable trait lets Eloquent queries search configured model columns, ordinary relations, typed polymorphic relations, and certain direct BelongsTo relations on separate connections while preserving query constraints, eager loading, and pagination. For Filament tables, its integration reuses those paths and ranks matches; explicit user sorting overrides relevance sorting. Separate-connection lookups are capped at 50 matching IDs per column per term by default, and version 1.3.0 does not honor custom owner keys or extra relationship constraints in those lookups. The package uses substring LIKE searches, which may be costly at scale; deeper relation paths and external lookups receive only matched-or-unmatched ranking. The excerpt contrasts this with Cross Eloquent Search, which supports combined results across model types and native full-text search, but whose documented relevance ordering does not support relationship searches. It states version 1.3.0 requires PHP 8.2+ and Laravel ^12.69 or ^13.30; optional Filament support covers versions 4 and 5.

### Source excerpt

Laravel Searchable adds Eloquent search across polymorphic relations and separate database connections, with relevance ranking for Filament tables. The post Search Polymorphic Relations and Filament Tables With Laravel Searchable appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Real-Time Inertia Props With Laravel Reverb

DevFeed: [Real-Time Inertia Props With Laravel Reverb](<https://devfeed.tech/articles/real-time-inertia-props-with-laravel-reverb-123628.md>)

Original publisher: [Read original article](<https://laravel-news.com/inertia-live-props-laravel-reverb>)

Author: Paul Redmond

Published: 2026-11-09T03:00:10Z

Content type: tutorial

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [real-time](<https://devfeed.tech/topics/real-time.md>)

Tags: [3](<https://devfeed.tech/tags/3.md>), [added](<https://devfeed.tech/tags/added.md>), [broadcast](<https://devfeed.tech/tags/broadcast.md>), [broadcasting](<https://devfeed.tech/tags/broadcasting.md>), [event](<https://devfeed.tech/tags/event.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [inertia-js](<https://devfeed.tech/tags/inertia-js.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-tutorials](<https://devfeed.tech/tags/laravel-tutorials.md>), [live](<https://devfeed.tech/tags/live.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [reverb](<https://devfeed.tech/tags/reverb.md>)

### AI overview

Inertia live props (Inertia.js 3.11+) let an order page refresh its `order` prop when Laravel Reverb broadcasts an `OrderUpdated` event. Mark the prop with `Inertia::live()`, provide the event and a closure that fetches fresh data, configure Echo on the client, and dispatch the event when the order changes. Private channels can restrict listeners to the order owner. `ShouldBroadcast` events require a queue worker; `ShouldBroadcastNow` broadcasts during the request. For many viewers, `broadcastProps()` can send the new value and avoid a server request per listener, but its shared payload is unsuitable for viewer-specific values. Live prop reloads are throttled to once per second by default, can use a longer throttle, and pause while a tab is hidden.

### Source excerpt

Update Inertia page props in real time with live props and Laravel Reverb. Broadcast an event, and every open page reloads the prop without polling. The post Real-Time Inertia Props With Laravel Reverb appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## PhpStorm 2026.3 Adds an Agent Workspace and PHP 8.6 Support

DevFeed: [PhpStorm 2026.3 Adds an Agent Workspace and PHP 8.6 Support](<https://devfeed.tech/articles/phpstorm-2026-3-adds-an-agent-workspace-and-php-8-6-support-122130.md>)

Original publisher: [Read original article](<https://laravel-news.com/phpstorm-2026-3>)

Author: Eric L. Barnes

Published: 2026-11-06T17:05:13Z

Content type: release

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [phpstorm](<https://devfeed.tech/topics/phpstorm.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [Livewire](<https://devfeed.tech/topics/livewire.md>), [Composer](<https://devfeed.tech/topics/composer.md>), [GitHub Copilot](<https://devfeed.tech/topics/github-copilot.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [2026-2](<https://devfeed.tech/tags/2026-2.md>), [2026-3](<https://devfeed.tech/tags/2026-3.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [air](<https://devfeed.tech/tags/air.md>), [articles](<https://devfeed.tech/tags/articles.md>), [coding](<https://devfeed.tech/tags/coding.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [news](<https://devfeed.tech/tags/news.md>), [newsletter](<https://devfeed.tech/tags/newsletter.md>), [php](<https://devfeed.tech/tags/php.md>), [php-8-6](<https://devfeed.tech/tags/php-8-6.md>), [phpstorm](<https://devfeed.tech/tags/phpstorm.md>), [processes](<https://devfeed.tech/tags/processes.md>), [queue](<https://devfeed.tech/tags/queue.md>), [support](<https://devfeed.tech/tags/support.md>), [workers](<https://devfeed.tech/tags/workers.md>), [workspace](<https://devfeed.tech/tags/workspace.md>)

### AI overview

PhpStorm 2026.3 combines PHP 8.6 migration support with Laravel checks and agent workflows. It flags PHP 8.6-only syntax or functions when a project targets an earlier language level, and offers migration quick-fixes; its Laravel inspections check unknown config keys, missing resource route methods, and unknown Livewire methods. Both inspection sets can run through the IDE's MCP server for agents to check changes. Air supports multiple listed coding agents and existing provider subscriptions, API keys, and custom base URLs without requiring a JetBrains AI subscription; it presents sessions, files, and diffs side by side and lets users return line-specific comments to agents. Other practical changes include a Laravel Processes tab to manage long-running commands, copying `.idea` settings into Git worktrees, improved type inference, and freeze fixes. The supplied excerpt also describes a libghostty-based terminal, WSL setup improvements, and SSH remote development.

### Source excerpt

PhpStorm 2026.3 adds PHP 8.6 support, new Laravel inspections, a Processes tab for queue workers, and Air, a workspace for coding agents. The post PhpStorm 2026.3 Adds an Agent Workspace and PHP 8.6 Support appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Insert Middleware Before or After Existing Laravel Middleware

DevFeed: [Insert Middleware Before or After Existing Laravel Middleware](<https://devfeed.tech/articles/insert-middleware-before-or-after-existing-laravel-middleware-122129.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-middleware-insert-before-after>)

Author: Paul Redmond

Published: 2026-11-06T05:19:34Z

Content type: tutorial

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [middleware](<https://devfeed.tech/topics/middleware.md>)

Tags: [array](<https://devfeed.tech/tags/array.md>), [client](<https://devfeed.tech/tags/client.md>), [insert](<https://devfeed.tech/tags/insert.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-tutorials](<https://devfeed.tech/tags/laravel-tutorials.md>), [locale](<https://devfeed.tech/tags/locale.md>), [middleware](<https://devfeed.tech/tags/middleware.md>)

### AI overview

Laravel 13.40 adds `insertBefore()` and `insertAfter()` for the global middleware stack, plus `insertBeforeInGroup()` and `insertAfterInGroup()` for named groups. Each places middleware beside a specified class while preserving the rest of the stack. This lets session-dependent locale middleware run after `StartSession` but before `SubstituteBindings`, and IP checks run after `TrustProxies` so `$request->ip()` reflects the client address. Previously, prepend/append could not meet those ordering needs; redefining a group could drift from framework changes or omit additions such as `auth.session`. The excerpt also says `replace()` and `replaceInGroup()` now accept arrays, including through `web()` and `api()` replacement arguments.

### Source excerpt

Laravel 13.40 adds insertBefore() and insertAfter() to place middleware next to built-in ones like TrustProxies and StartSession without redefining the stack. The post Insert Middleware Before or After Existing Laravel Middleware appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Laravel Herd 2: Coding Agents, Workspaces, and Cloud Deploys

DevFeed: [Laravel Herd 2: Coding Agents, Workspaces, and Cloud Deploys](<https://devfeed.tech/articles/laravel-herd-2-coding-agents-workspaces-and-cloud-deploys-121227.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-herd-2>)

Author: Eric L. Barnes

Published: 2026-11-05T14:05:05Z

Content type: release

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [agentic-coding](<https://devfeed.tech/topics/agentic-coding.md>), [parallel workspaces](<https://devfeed.tech/topics/parallel-workspaces.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [coding](<https://devfeed.tech/tags/coding.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [git](<https://devfeed.tech/tags/git.md>), [herd](<https://devfeed.tech/tags/herd.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [local](<https://devfeed.tech/tags/local.md>), [news](<https://devfeed.tech/tags/news.md>), [studio](<https://devfeed.tech/tags/studio.md>), [workspaces](<https://devfeed.tech/tags/workspaces.md>)

### AI overview

Laravel Herd 2.0 adds Herd Studio, which places coding-agent tools beside local sites, and isolated git workspaces that let agents work on separate branches and subdomains. Workspaces share the parent database by default; `--database=clone` copies it, while `--database=empty` starts fresh. Herd Studio uses opencode and a provider you connect, with free models available through opencode. When enabled, Herd starts `php artisan dev` for Laravel 13.25 or later, or a Vite `dev` script for other apps with Vite; the first request may wait up to 15 seconds for Vite. Herd also adds Laravel Cloud deploys. The post says existing PHP-serving setups need not change, and Herd 2.1 adds separate controls for Studio, MCP, runtime context, dev servers, and other AI features. Herd remains free, with Pro and Teams tiers adding services and support.

### Source excerpt

Laravel Herd 2.0 adds Herd Studio for running coding agents on local sites, git workspaces for parallel work, and Laravel Cloud deploys. The post Laravel Herd 2: Coding Agents, Workspaces, and Cloud Deploys appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Strict Request Input Casting in Laravel

DevFeed: [Strict Request Input Casting in Laravel](<https://devfeed.tech/articles/strict-request-input-casting-in-laravel-121229.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-strict-request-input>)

Author: Paul Redmond

Published: 2026-11-05T01:18:05Z

Content type: article

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [input](<https://devfeed.tech/topics/input.md>), [Error Handling](<https://devfeed.tech/topics/error-handling.md>), [Sanitization](<https://devfeed.tech/topics/sanitization.md>)

Tags: [array](<https://devfeed.tech/tags/array.md>), [arrays](<https://devfeed.tech/tags/arrays.md>), [boolean](<https://devfeed.tech/tags/boolean.md>), [cast](<https://devfeed.tech/tags/cast.md>), [error](<https://devfeed.tech/tags/error.md>), [flag](<https://devfeed.tech/tags/flag.md>), [form](<https://devfeed.tech/tags/form.md>), [handling](<https://devfeed.tech/tags/handling.md>), [input](<https://devfeed.tech/tags/input.md>), [json](<https://devfeed.tech/tags/json.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-tutorials](<https://devfeed.tech/tags/laravel-tutorials.md>), [name](<https://devfeed.tech/tags/name.md>), [request](<https://devfeed.tech/tags/request.md>), [string](<https://devfeed.tech/tags/string.md>)

### AI overview

Laravel 13.40 adds `strict: true` to request `integer()`, `boolean()`, `float()`, and `string()` helpers (and the `str()` alias). Strict mode validates values before casting and returns the supplied default for invalid input, avoiding cases where malformed input becomes `0` or an array-to-string error. Rules differ by type: integers reject decimals, leading zeros, and out-of-range values; floats accept whole numbers and exponent notation; booleans recognize true/false forms and otherwise use the default; strings reject arrays, booleans, and null, with empty input also falling back. Defaults may be closures or `null`, and are returned without casting. The flag is also available on other classes using `InteractsWithData`. Since strict mode silently falls back without reporting invalid input, the article recommends validation when bad or missing values should produce an error users can correct.

### Source excerpt

Laravel 13.40 adds a strict flag to the request integer(), boolean(), float(), and string() helpers, so bad input returns your default instead of 0 or an error. The post Strict Request Input Casting in Laravel appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Laravel October Product Updates

DevFeed: [Laravel October Product Updates](<https://devfeed.tech/articles/laravel-october-product-updates-119478.md>)

Original publisher: [Read original article](<https://laravel.com/blog/laravel-october-product-updates>)

Author: Laravel Team

Published: 2026-11-04T23:42:00Z

Content type: release

Language: en

Sources: [Laravel Blog](<https://devfeed.tech/sources/laravel-blog.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [read-replica](<https://devfeed.tech/topics/read-replica.md>), [email](<https://devfeed.tech/topics/email.md>), [observability](<https://devfeed.tech/topics/observability.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [account](<https://devfeed.tech/tags/account.md>), [added](<https://devfeed.tech/tags/added.md>), [alert](<https://devfeed.tech/tags/alert.md>), [also](<https://devfeed.tech/tags/also.md>), [api](<https://devfeed.tech/tags/api.md>), [api-key](<https://devfeed.tech/tags/api-key.md>), [apps](<https://devfeed.tech/tags/apps.md>), [array](<https://devfeed.tech/tags/array.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [email](<https://devfeed.tech/tags/email.md>), [forge](<https://devfeed.tech/tags/forge.md>), [framework](<https://devfeed.tech/tags/framework.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [october](<https://devfeed.tech/tags/october.md>), [php](<https://devfeed.tech/tags/php.md>), [php-security](<https://devfeed.tech/tags/php-security.md>), [query](<https://devfeed.tech/tags/query.md>), [security](<https://devfeed.tech/tags/security.md>), [security-advisories](<https://devfeed.tech/tags/security-advisories.md>)

### AI overview

October updates add safeguards and integrations across Laravel's framework, Cloud, and Forge. In the framework, QUERY routes can accept request bodies and remain subject to CSRF checks in the web middleware; opt-in PreventStaleDatabaseReads sends a user's reads to the write connection for a couple of seconds after a write, while usingWritePdo provides the same guarantee for individual reads. alwaysOnOneServer enables onOneServer for eligible scheduled tasks. Cloud's Resend integration imports sending domains, tracks verification, and injects mail settings and an API key into environments. Its scheduler runs supported-language commands without cron or a scheduling process, and hourly domain checks flag DNS or SSL renewal problems. Forge flags servers running PHP versions affected by the October 2026 security release, with patched-version guidance and a recheck control; failed provisioning now triggers an alert and guidance, with PHP and Nginx installation retries.

### Source excerpt

Resend email on Laravel Cloud, QUERY routes in the Laravel framework, and PHP security advisories in Forge. Here's everything that shipped in October.

## Post Mortem: Patching the PHP and Node.js Vulnerabilities

DevFeed: [Post Mortem: Patching the PHP and Node.js Vulnerabilities](<https://devfeed.tech/articles/post-mortem-patching-the-php-and-node-js-vulnerabilities-117685.md>)

Original publisher: [Read original article](<https://laravel.com/blog/php-nodejs-vulnerabilities-post-mortem>)

Author: Aaron Francis

Published: 2026-11-04T19:15:00Z

Content type: article

Language: en

Sources: [Laravel Blog](<https://devfeed.tech/sources/laravel-blog.md>)

Topics: [Post Mortem](<https://devfeed.tech/topics/post-mortem.md>), [cve remediation](<https://devfeed.tech/topics/cve-remediation.md>), [Deployment Strategies](<https://devfeed.tech/topics/deployment-strategies.md>), [PHP](<https://devfeed.tech/topics/php.md>), [container images](<https://devfeed.tech/topics/container-images.md>)

Tags: [cloud](<https://devfeed.tech/tags/cloud.md>), [disclosures](<https://devfeed.tech/tags/disclosures.md>), [forge](<https://devfeed.tech/tags/forge.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [node](<https://devfeed.tech/tags/node.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [patching](<https://devfeed.tech/tags/patching.md>), [php](<https://devfeed.tech/tags/php.md>), [post-mortem](<https://devfeed.tech/tags/post-mortem.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

### AI overview

Laravel Cloud patched every running application in place within about five hours of the PHP release, with no customer action or downtime reported. Its Kubernetes operator installed patched PHP binaries and restarted workloads in paced waves; the team accelerated the restart pacing fivefold, used canaries, and temporarily paused new Cloud deployments. A Cloudflare managed firewall ruleset added protection while the patch was prepared, but the article says it could not replace patching. Building its own PHP image let Laravel ship before Docker Hub's patched images were available. Other products required different responses: Forge customers had to upgrade PHP, and a surge of jobs starved deployments, leading to about 4,800 cancellations; Envoyer went offline for server upgrades; Vapor customers needed to redeploy for new runtimes and images. The team says it is adding recovery soak periods and recorded war rooms, separating Forge's deployment queue, modernizing Envoyer, and reviewing Vapor's redeployment policy.

### Source excerpt

How we patched every Laravel Cloud app in place within about 27 hours of the PHP and Node.js disclosures, what broke on Forge, Envoyer, and Vapor, and what we are changing.

## Prevent Duplicate File Uploads With Laravel Storage Dedupler

DevFeed: [Prevent Duplicate File Uploads With Laravel Storage Dedupler](<https://devfeed.tech/articles/prevent-duplicate-file-uploads-with-laravel-storage-dedupler-121228.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-storage-dedupler>)

Author: Yannick Lyn Fatt

Published: 2026-11-03T23:56:25Z

Content type: article

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>)

Tags: [composer](<https://devfeed.tech/tags/composer.md>), [database](<https://devfeed.tech/tags/database.md>), [deduplication](<https://devfeed.tech/tags/deduplication.md>), [directory](<https://devfeed.tech/tags/directory.md>), [eloquent](<https://devfeed.tech/tags/eloquent.md>), [files](<https://devfeed.tech/tags/files.md>), [github-repository](<https://devfeed.tech/tags/github-repository.md>), [hash](<https://devfeed.tech/tags/hash.md>), [installation](<https://devfeed.tech/tags/installation.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-packages](<https://devfeed.tech/tags/laravel-packages.md>), [migrations](<https://devfeed.tech/tags/migrations.md>), [mit](<https://devfeed.tech/tags/mit.md>), [models](<https://devfeed.tech/tags/models.md>), [null](<https://devfeed.tech/tags/null.md>), [package](<https://devfeed.tech/tags/package.md>), [storage](<https://devfeed.tech/tags/storage.md>), [uploads](<https://devfeed.tech/tags/uploads.md>)

### AI overview

Laravel Storage Dedupler uses SHA-1 hashes to reuse stored files with matching content, even when filenames differ; the hash is also the `UniqueFile` record's primary key. Its storage methods accept uploads, local paths, or raw content and may return `null` for invalid sources or storage errors. With the `Deduplable` trait, saved Eloquent models can attach a shared file; detaching preserves it while other attachments exist, but deleting the final attachment removes the file and record by default. Installation does not alter existing Laravel storage calls or clean up existing duplicates. The legacy analysis command scans a local directory tree, reports duplicate counts and estimated space savings, and does not migrate or delete files.

### Source excerpt

Laravel Storage Dedupler uses SHA-1 hashes to prevent duplicate file storage, attach files to Eloquent models, and analyse existing directories. The post Prevent Duplicate File Uploads With Laravel Storage Dedupler appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Flock: A Free, Native Herd Alternative for Laravel

DevFeed: [Flock: A Free, Native Herd Alternative for Laravel](<https://devfeed.tech/articles/flock-a-free-native-herd-alternative-for-laravel-119075.md>)

Original publisher: [Read original article](<https://laravel-news.com/flock-laravel-local-development>)

Author: Yannick Lyn Fatt

Published: 2026-11-03T23:55:18Z

Content type: release

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [Laravel Boost](<https://devfeed.tech/topics/laravel-boost.md>), [OpenTelemetry](<https://devfeed.tech/topics/opentelemetry.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [Git](<https://devfeed.tech/topics/git.md>)

Tags: [app](<https://devfeed.tech/tags/app.md>), [databases](<https://devfeed.tech/tags/databases.md>), [developer-tools](<https://devfeed.tech/tags/developer-tools.md>), [flock](<https://devfeed.tech/tags/flock.md>), [free](<https://devfeed.tech/tags/free.md>), [herd](<https://devfeed.tech/tags/herd.md>), [https](<https://devfeed.tech/tags/https.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [linux](<https://devfeed.tech/tags/linux.md>), [local](<https://devfeed.tech/tags/local.md>), [local-development](<https://devfeed.tech/tags/local-development.md>), [macos](<https://devfeed.tech/tags/macos.md>), [mail](<https://devfeed.tech/tags/mail.md>), [native](<https://devfeed.tech/tags/native.md>), [news](<https://devfeed.tech/tags/news.md>), [node](<https://devfeed.tech/tags/node.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [php](<https://devfeed.tech/tags/php.md>)

### AI overview

Flock 1.0.0 is a free, AGPL-3.0 local development app that runs PHP, Node.js, databases, and web servers as native processes on macOS, Windows, and Linux, without Docker or a virtual machine. It offers `.test` domains with trusted HTTPS, per-project PHP versions, a mail catcher, and request-grouped dumps; unlike Laravel Herd, Flock includes databases, mail, and dump viewing for free and supports Linux. The excerpt's quick start shows creating a Laravel project, enabling HTTPS, pinning PHP, and installing PostgreSQL. Flock also supports multiple database and service versions, git worktrees with selectable databases, temporary Cloudflare tunnel sharing, and an MCP server for agents to inspect sites, mail, dumps, and errors. Limitations include PHP 8.1 as its minimum (Herd supports older PHP), platform-specific service availability, and requirements for particular OS versions and ports 80 and 443.

### Source excerpt

Flock is a free, open source local dev app for Laravel that runs PHP, Node, databases, mail, and HTTPS natively on macOS, Windows, and Linux. The post Flock: A Free, Native Herd Alternative for Laravel appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

[Next page](<https://devfeed.tech/tags/laravel.md?cursor=WyIyMDI2LTExLTAzVDIzOjU1OjE4KzAwOjAwIiwgImY0YjI4YmI5LTY5ZWQtNGU5Ny05NThmLTFhYTgyZjEwYTY3OCJd>)