Best of LaravelApril 2026

  1. 1
    Article
    Avatar of lnLaravel News·6w

    Manage Software Licenses in Laravel with Laravel Licensing

    Laravel Licensing is a package that brings enterprise-grade software license management to Laravel applications. It supports offline verification using PASETO v4 tokens signed with Ed25519, seat-based license enforcement, multi-product isolation via License Scopes with separate signing keys, grace periods, renewals, expiration, and full audit logging. The package provides artisan commands for generating root certificates and signing keys, and a fluent API for creating licenses, registering devices, and issuing offline verification tokens. Two companion packages extend the ecosystem: a client-side validator and a Filament admin panel for managing licenses and monitoring seat usage.

  2. 2
    Article
    Avatar of newstackThe New Stack·4w

    Who will maintain the web when PHP’s veterans retire?

    A Perforce 2026 PHP Landscape Report surveying over 700 developers reveals a growing skills gap in the PHP ecosystem: more than half of PHP developers have 15+ years of experience, while only 15% have five years or less. Hiring has become the top challenge for PHP team managers, with 24% citing lack of skilled personnel as a leading operational concern. Analysts warn this isn't just a PHP problem but an open source problem, compounded by AI-generated code creating silent technical debt without enough junior developers to manage it. Despite the talent crunch, PHP remains foundational — tied with JavaScript at 72% usage — powering millions of e-commerce sites, WordPress installations, and APIs, mostly at companies with fewer than 500 employees. Symfony and Laravel lead the framework landscape.

  3. 3
    Article
    Avatar of phpdevPHP Dev·5w

    DebugPHP — Framework Support is here. Laravel logs, zero config.

    DebugPHP has added Laravel framework support, allowing developers to stream Laravel log output (Log::info, Log::warning, Log::error) directly to the DebugPHP dashboard with just two lines of code and zero configuration. No middleware, facades, or boilerplate required.

  4. 4
    Article
    Avatar of laravelLaravel·5w

    How I Built an AI-Powered CRM with Laravel in a Week

    A senior freelance PHP developer shares how he built an AI-powered CRM MVP for an emergency response center in under a week using Laravel. The stack included Laravel Herd for local development, Laravel Cloud for CI/CD and deployment, Tailwind CSS and Alpine.js for the frontend, and the Laravel AI SDK with OpenAI Whisper for voice transcription. Push notifications via Laravel WebPush enabled a PWA experience indistinguishable from a native app. The project's success has the developer considering turning it into a multi-tenant micro-SaaS.

  5. 5
    Article
    Avatar of vigetViget·3w

    Craft 6 and Laravel: What You Need To Know

    Craft CMS is migrating from Yii 2 to Laravel in its upcoming version 6, announced at Dot All 2025. The transition is designed to be low-friction thanks to a first-party Yii 2 adapter package (`craftcms/yii2-adapter`) that bridges Yii 2 API calls to Laravel equivalents at runtime, allowing most plugins to work without code changes. The core Craft architecture — Elements, Fields, Sections, Matrix, Twig templating — remains unchanged; only the underlying framework plumbing is swapped. Craft 6 also brings new content authoring features including content releases, scheduled drafts, approval workflows, and a redesigned UI with dark mode and WCAG 2.2 compliance. Craft 5 has been designated an LTS release with support through 2031, removing any urgency to migrate immediately. Craft 6 stable release is targeted for Q4 2026.

  6. 6
    Article
    Avatar of lnLaravel News·3w

    Laravel Mobile Pass: Generate Apple Wallet and Google Wallet Passes

    Laravel Mobile Pass is a new Spatie package that lets you generate Apple Wallet and Google Wallet passes directly from a Laravel application. It supports boarding passes, event tickets, coupons, store cards, membership cards, and gift cards. The package provides a unified builder API for both platforms, returning a MobilePass Eloquent model that implements Laravel's Responsable interface to serve the correct format per platform. It also supports live pass updates pushed to already-installed passes via a PushPassUpdateJob, with optional queue support. A live demo is available to test all pass types and the push update mechanism.

  7. 7
    Article
    Avatar of lnLaravel News·5w

    PestPHP Intellisense in Laravel VS Code Extension v1.7.0

    Laravel VS Code Extension v1.7.0 introduces PestPHP intellisense with autocomplete for custom expectations and test configurations, generating helper docblocks stored in storage/framework/testing/_pest.php. The release also adds a 'Go to Route' command palette action for navigating directly to route handlers, a curated set of common Artisan commands with terminal execution inside VS Code, and autocompletion/diagnostics support for new Laravel 13 attributes including routing and Eloquent model attributes.

  8. 8
    Article
    Avatar of lnLaravel News·6w

    Log User Activity in Your Laravel App with Activity Log v5

    Laravel Activitylog v5 by Spatie has been released with PHP 8.4 and Laravel 12 as minimum requirements. Key additions include a unified HasActivity trait replacing the separate LogsActivity and CausesActivity traits, an activity buffering feature for bulk inserts (enabled via env or config), and a new defaultCauser() API. Model change tracking now uses a dedicated attribute_changes column instead of the properties JSON column. Several methods and config keys were renamed for consistency, and the batch/pipe systems were removed entirely.

  9. 9
    Article
    Avatar of lnLaravel News·3w

    Interruptible Jobs in Laravel 13.7.0

    Laravel v13.7.0 ships several new features: the Interruptible interface lets queued jobs respond to worker signals like SIGTERM for graceful cleanup, a new WorkerInterrupted event enables observability when workers receive signals, the @fonts Blade directive and Vite::fonts() method add font preload and inline style rendering from Vite font manifests, bulk JSON path assertions (assertJsonPaths/assertJsonMissingPaths) simplify testing multiple response values at once, and SortDirection enum support improves type safety in collection sorting. Additional improvements include LazyCollection keyBy() accepting BackedEnum, an isLocked() method on the Lock class, and enum support across several manager classes.

  10. 10
    Article
    Avatar of laravelLaravel·5w

    From Laravel Forge to Cloud: How Filament 3xed Performance

    Filament, one of the most popular open source Laravel packages with 23 million installs, migrated from Laravel Forge to Laravel Cloud and achieved 3x faster request speeds. The migration took just three hours and unlocked autoscaling, one-click Laravel Octane via FrankenPHP, Serverless Postgres, and managed Valkey caching. Day-to-day infrastructure shrank from an 8GB/8CPU server to 2GB replicas that scale up to 10 during traffic spikes and back down automatically. The serverless database also resolved a recurring issue where hourly demo data resets degraded live user experience. While Cloud costs are comparable or slightly higher, the capabilities gained — autoscaling, managed database, Octane, worker clusters — would have required managing at least 4x more servers on Forge.

  11. 11
    Article
    Avatar of laravelLaravel·6w

    Meet Maestro: How We Manage 21 Laravel Starter Kit Variants

    Maestro is an internal orchestration tool built by the Laravel team to manage 21 starter kit variants across 8 repositories. Instead of manually propagating changes across every repo, Maestro uses a layered build system where shared, framework-specific, auth-specific, and feature-specific layers are composed into final runnable kits. Contributors work on a built variant in a single directory, and a watcher syncs changes back to the correct source layer using priority-based ownership logic. Placeholder restoration ensures framework-specific values don't leak into shared source files. The tool also provides CLI commands for linting, validation, and browser testing across the full matrix or a targeted subset, significantly reducing the cognitive overhead for contributors.

  12. 12
    Article
    Avatar of lnLaravel News·5w

    Redis Cluster Support for Queues in Laravel 13.5.0

    Laravel 13.5.0 ships first-class Redis Cluster support for the queue driver and ConcurrencyLimiter, resolving CROSSSLOT errors on AWS ElastiCache Serverless and other cluster deployments by automatically wrapping queue names in Redis hash tags. The release also completes #[Delay] attribute support for queued mailables, enables Controller Middleware attribute inheritance in child controllers, expands UnitEnum support across CacheManager, MailManager, and AuthManager, adds Closure support to updateOrCreate and firstOrNew, and introduces a Cache::handleUnserializableClassUsing() hook for detecting broken cache values. Several bug fixes are included for queue lock handling, auth redirect callbacks, and phpredis SSL options.

  13. 13
    Article
    Avatar of lnLaravel News·4w

    Debounceable Queued Jobs in Laravel 13.6.0

    Laravel 13.6.0 ships several notable features. The headline addition is debounceable queued jobs via the #[DebounceFor] attribute — when the same job is dispatched multiple times within a time window, only the last dispatch executes. A maxWait parameter prevents indefinite deferral. The release also adds JSON response support for the built-in /up health route (useful for API-only apps and load balancers), a new JsonFormatter for structured logging compatible with ELK/Datadog, and Cloudflare Email Service integration. Testing improvements include multi-record assertions for assertDatabaseHas/assertDatabaseMissing, and the hasAttached factory method now accepts arrays of pivot arrays. Additional fixes cover validation rules, enum support in BroadcastManager, PasswordBrokerManager, and NotificationChannelManager, plus SQS named credential providers.

  14. 14
    Article
    Avatar of lnLaravel News·5w

    Laravel Starter Kits Now Include Toast Notifications

    All four official Laravel starter kits (React, Vue, Svelte, and Livewire) now ship with built-in toast notifications, replacing the previous inline action messages. For Inertia-based stacks, a new `Inertia::flash()` server-side call passes toast data to the frontend, where a `useFlashToast` hook triggers Sonner toasts. The Livewire kit uses Flux's built-in `Flux::toast()` method with a persisted toast group. Toasts are pre-wired for profile updates, password changes, and email verification, and developers can extend them to custom actions using the existing plumbing.

  15. 15
    Article
    Avatar of lnLaravel News·3w

    Polyscope for Windows is Now Available

    Polyscope, an AI agent workspace manager for Laravel developers, is now available on Windows. It brings the same features as the macOS version, including parallel branch workspaces with separate .test domains, built-in checkpoints for reviewing and rolling back agent changes, a process runner for auto-starting services like queue workers and npm scripts, and a mobile UI for remote monitoring. Laravel Herd integration is included, and Linux support is planned next.

  16. 16
    Article
    Avatar of lnLaravel News·6w

    ArtisanFlow: A Flowchart Engine for Laravel and Alpine.js

    ArtisanFlow is an alpha-stage open source package that brings node-based flowchart UIs to Laravel applications. It consists of two packages: AlpineFlow (the core frontend engine built on Alpine.js) and WireFlow (a Laravel/Livewire companion using Blade components). Key features include directive-driven node building with x-flow-* Alpine directives, a built-in animation engine with particles and path motion, smart edge routing, deep node nesting with parent/child hierarchies, and zero-JS Livewire integration. WireFlow supports two-way data sync via Livewire entangle(), server-driven canvas updates, custom node types via Blade views, and event handling routed to Livewire component methods. It also ships with a real-time collaboration add-on using Laravel Reverb and AI-optimized documentation compatible with tools like Claude Code and Cursor.

  17. 17
    Article
    Avatar of collectionsCollections·2w

    PHPverse 2026: free online PHP conference on June 9

    JetBrains is hosting PHPverse 2026, a free one-day online PHP conference on June 9, streaming live on YouTube from 11:00 am to 3:50 pm UTC. Hosted by Brent Roose and Nuno Maduro, the event features talks from Jeffrey Way on AI's impact on developers, Fabien Potencier on running large open-source projects, Nils Adermann on Packagist internals, Elizabeth Barron on the PHP RFC process, plus sessions on WordPress modernization and AI-assisted PHP development. Last year's event attracted over 55,000 developers. Registration is free and open to all.

  18. 18
    Article
    Avatar of wendelladrielW endell Adriel·4w

    RBAC in Laravel: A Practical Deep Dive

    A comprehensive guide to implementing Role-Based Access Control (RBAC) in Laravel without external packages. Covers the theory behind RBAC (core, hierarchical, and constrained models), then builds a team-scoped implementation including: a Permission enum and RoleDefinition value objects, a database schema with a team_user_roles pivot table, effective permission resolution with caching, separation-of-duty constraints, role escalation prevention, integration with Laravel Gates and Policies, cache invalidation strategies, and Pest tests covering permission unions, constraint violations, and policy behavior. Also discusses common pitfalls like role explosion, business logic in controllers, and missing audit trails.

  19. 19
    Article
    Avatar of lnLaravel News·4w

    AI Generative Engine Optimization for Laravel

    laravel-aigeo is a Laravel package that brings Generative Engine Optimization (GEO) tooling into Laravel apps. It provides a HasGeoProfile trait for Eloquent models to define structured metadata, a Blade component for injecting JSON-LD into page heads, Artisan commands to generate llms.txt and ai-product-feed.json files for AI crawlers, and a scoring dashboard at /geo that rates models on AI-signal completeness. The goal is to improve how your content surfaces in AI-generated answers from tools like ChatGPT, Gemini, and Perplexity.