How to Migrate MySQL from DBngin to Laravel Herd
Ever since Laravel Herd Pro was launched with the ability to manage database and cache services like MySQL, Postgres, and Redis, I've been wanting to switch from DBngin to Herd's MySQL and Redis....
View ArticleA Resize Plugin for Alpine.js
Caleb Porzio, creator of Alpine.js, just released a resize plugin that allows you to react easily when an element changes. This plugin is a wrapper around the Resize Observer API, and the impressive...
View ArticleAPI Versioning in Laravel 11
With the release of Laravel 11, the application skeleton was slimmed down to remove extra files that aren't required on every project. Part of that change removed all service providers from the...
View ArticleA guide to Laravel's model events
Model events are a really handy feature in Laravel that can help you to automatically run logic when certain actions are performed on your Eloquent models. But they can sometimes lead to weird side...
View ArticleVS Code Snippets for Livewire and Alpine.js
VS Code - as many code editors do - includes a feature called "snippets". The feature allows you to configure shortcuts for pieces of code that you use often. For example, you could set up a snippet...
View ArticleVisual EXPLAIN for MySQL and Laravel
The MySQL Visual Explain tool by Tobias Petry helps users analyze slow queries by providing an easy-to-understand visual representation of MySQL’s EXPLAIN output. This tool enables you to decipher...
View ArticleIntroducing Built with Laravel
Today I'm excited to share a new resource I've built for the Laravel community: BuiltWithLaravel.com, a list of companies and organizations using Laravel in the non-Laravel world. This is the list to...
View ArticleThe Best Laravel Tutorials and Resources for Developers
Laravel is one of the most popular PHP frameworks, known for its elegant syntax and powerful features. According to the JetBrains Development Ecosystem Report 2023, over 60% of PHP developers use...
View ArticleUpload Files Using Filepond in Livewire Components
Filepond is a JavaScript package that allows you to upload anything, with popular integrations for React, Vue, Svelte, and more. If you're using Livewire, now you can easily use Filepond to upload...
View ArticleTake the Annual State of Laravel 2024 Survey
The annual State of Laravel survey is open for 2024, and you can participate to help identify trends in how the ecosystem has changed over the last twelve months. The State of Laravel survey is "an...
View ArticleLaravel Advanced String Package
Welcome to the first episode of a new "Creator Spotlight" video series where we interview Laravel developers about the things they are creating. Today we talk with Matt Stenson who created a Laravel...
View ArticleAdd Comments to your Laravel Application with the Commenter Package
The Commenter package for Laravel "is a feature-rich modern package that addresses all your commenting needs in a Laravel application." The package includes an admin panel to manage comments across...
View ArticleBuilding fast, fuzzy site search with Laravel and Typesense
Modern applications have high demands for data storage capabilities. Over the past 10 years, the rise of purpose-built data platforms has taken off with segmentation around data and analytics,...
View ArticleBuild SSH Apps with PHP and Laravel Prompts
The ssh-php project by Sam Carré is a ridiculously simple starting point for building Text-based User Interfaces (TUIs) in PHP over SSH: I've just released a massive improvement to `ssh-php`....
View ArticleAssert the Exact JSON Structure of a Response in Laravel 11.19
The Laravel team released v11.19 this week, including asserting the exact JSON structure, a whereNone query builder method, a Number::trim() method, HTML assertion convenience methods, and more. A...
View ArticleAdd Swagger UI to Your Laravel Application
The Laravel Swagger UI package makes it easy to make your project's Swagger (OpenAPI v3 JSON or YAML) file accessible in a Swagger UI right in your Laravel application. All you have to do is drop in...
View ArticleMaska is a Simple Zero-dependency Input Mask Library
Maska is a simple, zero-dependency input mask for JS, Vue, Svelete, and Alpine.js. Let's say you want to mask a phone number format; you could use the following HTML to format the phone number...
View ArticleActive Sessions Card for Laravel Pulse
The Active Sessions card for Laravel Pulse shows your application's total number of sessions, including Web and API users. Based on the pulse.active_session_threshold value, this card will display...
View ArticleUse Laravel's Built-in SetUp Hooks for Application Test Traits
The Laravel framework provides a bunch of helpful test traits that make our lives easier, such as migrating databases, setting up Faker, removing middleware, and more. When writing feature tests in...
View ArticleA New String Helper, Assert Enums in AssertableJson, and more in Laravel 11.20
The Laravel team released v11.20 this week, including a new collection method, a deduplicate string method, the ability to use Enums with AssertableJson, and more. Add collapseWithKeys to Collection...
View Article