# Posts tagged PHP · Laravel & VueJs

> Laravel and Vue tutorials, guides and notes tagged PHP on Laravel & VueJs: 28 articles, newest first.

- URL: https://laravel-vuejs.space/tag/php

Tag

# #PHP

28 articles tagged PHP.

[All](https://laravel-vuejs.space/posts)[Laravel](https://laravel-vuejs.space/category/laravel)[VueJs](https://laravel-vuejs.space/category/vuejs)[Jobs](https://laravel-vuejs.space/category/jobs)[eBooks](https://laravel-vuejs.space/category/ebooks)

- [Laravel debounced jobs: only the last dispatch runs](https://laravel-vuejs.space/laravel-debounced-jobs-debouncefor): Dispatch a job 10 times in 30 seconds and only the last one runs. #[DebounceFor] for queued jobs and listeners, with maxWait. Laravel 13.6+. 20 Pest tests.
- [Cache::rememberWithWarmth(): did remember() hit the cache?](https://laravel-vuejs.space/laravel-cache-rememberwithwarmth): Cache::rememberWithWarmth() returns the value and a warm flag, so you can send an X-Cache header or count misses. Laravel 13.15+. 15 Pest tests.
- [Cache::memo(): one Redis hit per request, not per call](https://laravel-vuejs.space/laravel-cache-memo): Cache::memo() reads a key once and serves it from memory for the rest of the request or job. Tags work since Laravel 13.33. 15 Pest tests.
- [Laravel Number::forHumans(): 1.23 million, not 1,230,000](https://laravel-vuejs.space/laravel-number-forhumans-abbreviate): Format 1,230,000 as 1.23 million or 1.23M in PHP, before Vue ever sees the raw count. Default precision rounds 1,500 to 2 thousand. 23 Pest tests.
- [Laravel Rule::anyOf(): one field, several shapes](https://laravel-vuejs.space/laravel-rule-anyof): A username can be an email or a handle. Rule::anyOf() passes if any one ruleset fully matches, and rejects everything else. 22 Pest tests.
- [Laravel Cache::withoutOverlapping() and Cache::funnel()](https://laravel-vuejs.space/laravel-cache-withoutoverlapping-funnel): One call runs a closure once at a time across workers, another allows at most N, on any lock store. 25 Pest tests and 6 real processes.
- [Laravel withPivotValue(): approved members stay approved](https://laravel-vuejs.space/laravel-withpivotvalue-wherepivot): wherePivot() filters approved members, but attach() leaves approved at 0. withPivotValue() stamps the pivot on attach, create and sync. 18 Pest tests.
- [Laravel latestOfMany(): each customer's latest order, no N+1](https://laravel-vuejs.space/laravel-latestofmany-has-one-of-many): Hidden gem: hasOne()->latestOfMany() eager loads one order per customer instead of every order. Plus ofMany() closures, whereRelation, and the id trap. 17 Pest tests.
- [Laravel withAttributes(): scoped relations that create the right rows](https://laravel-vuejs.space/laravel-withattributes-scoped-relationships): Hidden gem: a drafts() relation built with withAttributes() filters reads and sets status on create, make, save and factories. 15 Pest tests inside.
- [Laravel queue jobs and HTTP 429: release(), Backoff, MaxExceptions and retryUntil](https://laravel-vuejs.space/laravel-queue-429-rate-limited-api): A rate-limited API returns 429. What happens to your queued job? We ran a real database queue worker to see how release(), Tries, MaxExceptions, Backoff and retryUntil interact. 6 tests.
- [Laravel MCP server: let AI agents use your Laravel + Vue app, safely](https://laravel-vuejs.space/laravel-mcp-server-vue): Build a Laravel MCP server with laravel/mcp: tools with schemas and validation, Sanctum tokens, per-user tools, a Vue page that issues the token, and tests. 11 tests.
- [Laravel Scout database engine: full-text search for a Vue page, no Meilisearch](https://laravel-vuejs.space/laravel-scout-database-engine-vue): Add search to a Laravel + Vue app with Scout's database engine: LIKE, prefix and Postgres full-text columns, relevance ranking and an Inertia search page. 10 tests on PostgreSQL 18.
- [Laravel Sleep::fake(): test 7 seconds of backoff in under 1 ms](https://laravel-vuejs.space/laravel-sleep-fake-test-retries): Hidden gem: swap sleep() for Laravel's Sleep class and your retry, backoff and polling tests run in milliseconds and assert every wait. 19 Pest tests inside.
- [Laravel Http::pool(): call three APIs in the time of one](https://laravel-vuejs.space/laravel-http-pool-concurrent-requests): Hidden gem: Http::pool() sends outgoing API calls at the same time, so three 500 ms calls take 0.5 s, not 1.5 s. Plus Http::batch() and 6 gotchas we tested.
- [Laravel once(): memoize anything per request in one line](https://laravel-vuejs.space/laravel-once-helper-memoization): Hidden gem: once() runs a closure one time per object and returns the cached result after that. One line replaces private cache properties, plus 5 gotchas we tested.
- [Laravel whereAny, whereAll, whereNone: multi-column search without the orWhere trap](https://laravel-vuejs.space/laravel-whereany-whereall-wherenone): Hidden gem: whereAny() searches many columns in one grouped call, so a chained orWhere can't leak other teams' rows. Plus whereAll, whereNone and 4 gotchas.
- [Laravel chaperone(): stop child models re-querying their parent](https://laravel-vuejs.space/laravel-eloquent-chaperone): Hidden gem: add chaperone() to a hasMany and every child gets its parent for free. 22 queries became 2 in our Laravel 13.38 lab.
- [Laravel Model::shouldBeStrict(): make silent Eloquent bugs loud](https://laravel-vuejs.space/laravel-model-should-be-strict): Hidden gem: one line turns dropped fields, typo'd attributes and N+1 queries into loud errors in development. Tested on Laravel 13.38.
- [PHP critical security release: two 9.2 RCEs, update to 8.5.12, 8.4.27, 8.3.36 or 8.2.35 now](https://laravel-vuejs.space/php-critical-security-release-october-2026): PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix two critical unauthenticated remote code execution bugs (CVSS 9.2). What happened, who is exposed, and how to patch Laravel servers on Docker, Forge, Vapor, Cloud and Coolify.
- [Laravel Concurrency::run(): load three slow dashboard queries in parallel](https://laravel-vuejs.space/laravel-concurrency-run-parallel-dashboard): Hidden gem: Concurrency::run() runs closures in child PHP processes and returns all results together. Measured gains, the ~200 ms overhead, and the one-closure-per-line trap. Tested on Laravel 13.37.
- [Laravel Context: one request id on every log line and in every queued job](https://laravel-vuejs.space/laravel-context-request-id-logs-queued-jobs): Hidden gem: the Context facade stamps a request id, user and route on every log line and carries them into queued jobs. Hidden values stay out of logs. Tested on Laravel 13.37.
- [Laravel automatic eager loading: kill N+1 with one line](https://laravel-vuejs.space/laravel-automatic-eager-loading): Hidden gem: one line in AppServiceProvider turns every forgotten with() into one batched query. 51 queries became 2 in our Laravel 13.37 test.
- [Cache::flexible: serve stale cache while it refreshes](https://laravel-vuejs.space/laravel-cache-flexible-swr): Hidden gem: Cache::flexible serves slightly stale data instantly and refreshes after the response. No user waits on a cache miss. Tested on Laravel 13.35.
- [Laravel defer(): run code after the response, no queue worker](https://laravel-vuejs.space/laravel-defer-helper-after-response): Hidden gem: Laravel's defer() runs CRM syncs, webhooks and analytics after the user gets their page. No queue worker, one line. Tested on Laravel 13.35.
- [Export CSV from Laravel to a Vue button: stream it, chunk it, or queue it](https://laravel-vuejs.space/laravel-csv-export-vue): Three ways to export a CSV from a Laravel + Vue app: stream it with lazyById, write it in a queued job, and avoid the chunk() bug and formula injection. 7 tests.
- [Laravel signed URLs with Vue: email links, invites and private downloads](https://laravel-vuejs.space/laravel-signed-email-link-vue): Use Laravel signed URLs for email links, teammate invites and expiring downloads in a Laravel + Vue app, plus the proxy bug that turns valid links into 403s. 7 tests.
- [Laravel validation for Inertia forms: form requests, unique, confirmed, enums and custom rules](https://laravel-vuejs.space/laravel-form-request-inertia): Move Inertia form rules into a Laravel form request, then handle the rules every app needs: unique on update, password confirmation, PHP enums and a custom rule.
- [What you need to build with Laravel 13 and Vue 3 in 2026](https://laravel-vuejs.space/requirements): PHP versions, extensions, Node.js, databases and the packages worth knowing: a practical checklist for a modern Laravel + Vue stack, and how it compares with the stack this site started on.

Newsletter

## Get the best of Laravel & Vue, once a month.

One short email with new guides, release notes worth reading and hand-picked community links. No spam, unsubscribe any time.

[RSS feed](https://laravel-vuejs.space/feed.xml) [Telegram channel](https://t.me/LaravelVueJs)

## Key links

- [Home](https://laravel-vuejs.space/)
- [All articles](https://laravel-vuejs.space/posts)
- [Developer tools](https://laravel-vuejs.space/tools)
- [Cheat sheets](https://laravel-vuejs.space/cheatsheets)
- [About](https://laravel-vuejs.space/page/about-us)
- [Articles for language models (llms.txt)](https://laravel-vuejs.space/llms.txt)
- [RSS feed](https://laravel-vuejs.space/feed.xml)
- [Sitemap](https://laravel-vuejs.space/sitemap.xml)
