Best of LaravelApril 2025

  1. 1
    Article
    Avatar of lnLaravel News·1y

    NativePHP v1 is finally here!

    NativePHP v1.0.0 has been released, enabling Laravel developers to build distributable desktop apps across major platforms. This milestone allows for faster realization of internal tools, consumer-facing apps, and hobby projects. The release drops support for Laravel 10 and PHP 8.1/8.2, highlighting the need for compatible tooling and dependencies. Upgrading is straightforward, with instructions provided for both existing and new users.

  2. 2
    Article
    Avatar of communityCommunity Picks·1y

    Laravel Wayfinder

    Laravel has introduced Wayfinder, a new package that enables the generation of fully-typed, importable TypeScript functions for controllers and named routes, streamlining integration between Laravel backends and TypeScript frontends. This tutorial demonstrates setting up Wayfinder in a Laravel project, creating necessary models, controllers, routes, and generating TypeScript definitions. Wayfinder simplifies maintaining type-safe routes, improving the developer experience in full-stack Laravel applications.

  3. 3
    Article
    Avatar of lnLaravel News·51w

    Laravel Toaster Magic

    Laravel Toaster Magic is a versatile notification library developed by Muhammad Rabiul for Laravel applications. It provides easy-to-use, customizable toast notifications, with support for right-to-left languages and dark mode. After installing via Composer, publishers can quickly integrate it into their projects by adding necessary styles and scripts in Blade templates, and trigger notifications through controller methods or JavaScript.

  4. 4
    Article
    Avatar of lnLaravel News·51w

    NativePHP for Mobile v1 — Launching May 2

    NativePHP for Mobile v1 launches on May 2, allowing developers to use Laravel to build native iOS and Android apps without needing to learn Swift, Kotlin, Flutter, or React Native. The release provides access to device APIs such as camera, biometric scanning, and push notifications while using familiar Laravel tools. Early access pricing ends on May 31.

  5. 5
    Article
    Avatar of collectionsCollections·1y

    Build a Full Stack Instagram Clone with Laravel and MongoDB

    Learn to build a full stack Instagram clone using Laravel and MongoDB. The tutorial covers user authentication, database management with MongoDB, core social media features, MVC patterns, front-end integration with Bootstrap, and cloud deployment using MongoDB Atlas.

  6. 6
    Video
    Avatar of bytegradByteGrad·1y

    Next.js + Laravel Might Be The Ultimate Combination

    Learn how to combine Next.js with Laravel for a powerful web development setup. The guide walks you through using Laravel as a backend to expose API endpoints and Next.js for frontend UI, including deploying the Laravel app on Cloudways. It covers creating API routes, fetching data from Laravel into a Next.js application, and generating static pages for optimized performance.

  7. 7
    Article
    Avatar of lnLaravel News·1y

    Laravel Unique

    Laravel Unique is a package that provides a trait for Laravel Eloquent models to maintain field uniqueness within specified constraints. It supports custom suffix formats and value generators, and can be configured via a config file or model properties. The package enforces application-level uniqueness before saving, making it suitable for use cases like unique names, slugs, or identifiers.

  8. 8
    Article
    Avatar of lnLaravel News·1y

    PHP DevTools Console

    PHP DevTools Console is a new Chrome extension designed specifically for PHP developers, especially those working with Laravel. Created by Tony Lea, the extension integrates Spatie's Laravel Web Tinker package into the browser's dev tools. This allows developers to access PHP and Laravel Artisan Tinker console capabilities seamlessly within the browser. The extension is recommended for development use only and should not be used in production environments.

  9. 9
    Article
    Avatar of collectionsCollections·52w

    Laravel Solves the N+1 Problem Efficiently

    Laravel version 12.8 offers a new feature to efficiently handle the N+1 problem by automatically eagerly loading related data. This enhancement reduces the number of queries required, minimizes performance bottlenecks, and simplifies the development process.

  10. 10
    Article
    Avatar of freekFREEK.DEV·1y

    Goodbye reCAPTCHA, hello Turnstile

    Explore reasons behind the transition from reCAPTCHA to Turnstile, highlighting the benefits of Turnstile for modern web applications and its integration with the Laravel framework. The post also mentions resources for PHP developers, including a newsletter containing tips, tutorials, and opinions with a focus on Laravel.

  11. 11
    Article
    Avatar of collectionsCollections·52w

    Learn Laravel by Building a Medium Clone – Tutorial

    Learn the Laravel PHP framework by building a Medium clone. This guide covers setting up the environment, user registration and authentication with email verification, database operations, user profile management, post management with pagination, image uploads, routing, MVC architecture, and Blade templating. Ideal for beginners and intermediate developers looking to build a complete social publishing platform.

  12. 12
    Article
    Avatar of lnLaravel News·50w

    All About the Filament v4 Beta Release

    The Filament v4 Beta release is a major update featuring nested resources, multi-factor authentication, static table data, unified schemas and actions, and performance improvements. The Beta is set to be released on June 10, 2025 at Laravel Live UK, offering developers new functionalities and enhancements for creating modern applications.

  13. 13
    Article
    Avatar of phpdevPHP Dev·50w

    WordForge - An opinionated MVC structure from Wordpress Plugins development

    WordForge is a lightweight MVC-style framework designed to simplify WordPress plugin development by offering Laravel-style routing, clean query builders, and form request validation, all with no external dependencies. It aims to make plugins more maintainable and scalable, addressing common chaos in plugin code structure.

  14. 14
    Article
    Avatar of lnLaravel News·1y

    Flexible Filename Generator

    Onym is a versatile Laravel package developed by Blaspsoft for dynamic filename generation. It supports multiple strategies like random, uuid, timestamp, date, numbered, slug, and hash. The package allows customization of filenames, extensions, and additional formatting. It integrates well with Laravel's filesystem and configuration, ensuring structured and collision-free filenames. The package is extensible, allowing developers to add or modify filename strategies. Installation is straightforward using Composer.

  15. 15
    Article
    Avatar of lnLaravel News·1y

    Whisp is a PHP SSH Server

    WhispPHP is a pure PHP SSH server designed by Ashley Hindle to simplify building PHP SSH apps. It allows running Laravel Prompts apps via SSH with ease. You can start a new project using a provided template or add Whisp to an existing project using Composer. It supports app auto-discovery and provides example apps and documentation for developers. Upcoming features include a Laravel-specific package and a Docker image.

  16. 16
    Article
    Avatar of freekFREEK.DEV·51w

    DevOps With Laravel: Queues and Workers in Production

    Marin Joo discusses configuring Supervisor to manage worker processes in Laravel applications, including defining commands, scaling, and logging. The post also explores using multiple queues and prioritizing them to enhance worker usage and performance.

  17. 17
    Article
    Avatar of lnLaravel News·52w

    Laravel Cookie Consent

    Muhammad Rabiul's Laravel Cookie Consent package offers a customizable and GDPR-compliant cookie consent solution for Laravel applications. It features easy installation via Composer, lightweight components, support for multiple languages and right-to-left text, dark mode compatibility, granular consent control, automatic script blocking, full customization options, and responsive design. Includes step-by-step installation and customization instructions.

  18. 18
    Video
    Avatar of laraveldailyLaravel Daily·1y

    Flutter with Laravel API: Mobile App Crash Course

    Learn how to build a simple mobile application using Flutter and a Laravel API. The crash course covers setting up a Laravel backend for handling CRUD operations and integrating it with a Flutter frontend to create interactive screens. The course includes instructions on setting up development environments, creating and styling widgets, handling API calls, and building stateful widgets. The full course provides source code and step-by-step guidance.

  19. 19
    Article
    Avatar of lnLaravel News·52w

    Laravel Simple RabbitMQ Package

    The Simple RabbitMQ package for Laravel simplifies using RabbitMQ by supporting multiple connections, easy publishing, and consumer mode. You can configure queues and exchanges via Laravel's service container and manage them in a configuration file. The package uses php-amqplib as the RabbitMQ client and offers fluent, chainable syntax for message handling.

  20. 20
    Article
    Avatar of lnLaravel News·1y

    Screen is a terminal renderer written in pure PHP

    Screen is a terminal renderer created by Aaron Francis, written in pure PHP, and powers Solo for Laravel. It helps build rich text-based user interfaces in PHP applications without being a standalone terminal application. Key features include full ANSI support, Unicode/multibyte handling, buffer management, correct character width handling, and support for vertical scrolling.

  21. 21
    Article
    Avatar of lnLaravel News·51w

    Safely Retry API calls in Laravel

    Idempotency for Laravel is a package that allows clients to safely retry API calls without processing duplicates. Using a unique Idempotency-Key header, identical API requests return the original response without repeated execution. Key features include robust caching, lock-based concurrency control, comprehensive telemetry, alert system, payload validation, and detailed logging. Installation instructions and source code are available on GitHub.

  22. 22
    Article
    Avatar of devtoolsDev Tools·51w

    MailFrom.dev - I built a sandbox SMTP server for email testing in staging/dev – feedback welcome!

    Mailfrom.dev is a sandbox SMTP server designed for staging and development environments, allowing you to test email flows like password resets and onboarding confirmations without sending real emails. The tool is affordable and simple to use, featuring a web UI for inspecting emails and sharing with your team. It is built with Laravel on the backend, Vue 3 on the frontend, and uses k3s, S3, and SES for infrastructure. Feedback and feature suggestions are welcomed.

  23. 23
    Article
    Avatar of freekFREEK.DEV·1y

    Implementing Multitenancy in Laravel

    The post covers a talk given by the author at Laracon India about implementing multitenancy in Laravel using the laravel-multitenancy package. The package is used to make Mailcoach tenant aware, with practical tips and a demonstration provided.

  24. 24
    Article
    Avatar of freekFREEK.DEV·50w

    Laravel Observers vs Event Listeners: What’s the Difference?

    The post discusses the differences between Laravel observers and event listeners, helping developers understand how each concept works and when to use them.

  25. 25
    Article
    Avatar of communityCommunity Picks·51w

    Tricking Laravel Into Auto-Loading Routes

    Discover a method to handle increasing routes in a Laravel application by auto-loading them. This technique utilizes a function within AppServiceProvider to automatically manage routes without manual updates.