A Package to Generate Custom Stubs in Laravel
Laravel Stub is a package that aims to enhance your development workflow in Laravel by providing a set of customizable stubs. Using the project's LaravelStub facade, you can manage stubs with the...
View ArticleEvent sourcing in Laravel with the Verbs package
Verbs is an Event Sourcing package for Laravel created by Thunk.dev. It aims to take all the good things about event sourcing and remove as much boilerplate and jargon as possible. Verbs allows you to...
View ArticleUse the New Fluent Helper to Work With Multi-dimensional Arrays in Laravel 11.2
This week, the Laravel team released v11.2, which includes a fluent() support helper, a context() helper, improved handling of a missing database during a migrate operation, and more. Fluent Helper...
View ArticleCreate Preview Deployments on Forge with Laravel Harbor
Laravel Harbor is a CLI tool that allows you to quickly create on-demand preview environments for your app on Laravel Forge. Using this CLI, you can use GitHub actions to automatically deploy your...
View ArticleEasily Optimize PDFs in Laravel with the Optimizer Package
This PDF Optimizer package for PHP and Laravel applications for effortless optimization and compression of PDF files. PDF Optimizer utilizes Ghostscript to significantly reduce PDF file sizes. The PDF...
View ArticleJeffrey Way's PhpStorm Setup in 2024
Call it age. Call it apathy, if you must. I call it contentment. Much of my twenties were spent endlessly experimenting and searching for the perfect editor and workflow. As I read these words back to...
View ArticleBartender Is an Opinionated Way to Authenticate Users Using Laravel Socialite
The Bartender package for Laravel is an opinionated way to authenticate users using Laravel Socialite. Bartender serves you a controller, routes, and a default implementation for handling...
View ArticleLaravel Prompts Adds a Multi-line Textarea Input, Laravel 11.3 Released
This week, the Laravel team released v11.3, which includes multi-line text in Laravel Prompts, a Session:hasAny() method, a Context::pull() method, and more. Multi-line Text Prompts Joe Tannenbaum...
View ArticlePhpStorm 2024.1 Is Released With a Integrated Terminal, Local AI Code...
PhpStorm, the PHP IDE by JetBrains, released version 2024.1 this week with a brand new terminal, local AI code completion, Pest improvements, and more. The new terminal in PhpStorm 2024.1 Here's the...
View ArticleAutomatic Blade Formatting on Save in PhpStorm
PhpStorm has good automatic formatting of PHP files based on standards like PSR-2, PSR-12, Symfony, Laravel, etc.; however, there have not been a lot of options for consistently formatting blade files...
View ArticleThe Random package generates cryptographically secure random values
The Random package by Stephen Rees-Carter, generates cryptographically secure random values in a range of different formats through a simple helper package for PHP. Here is why this package was...
View ArticleIntegrate Laravel with Stripe Connect Using This Package
Laravel Stripe Connect helps you start your own marketplace platform using Stripe Connect, which allows you to make payments to your recipients directly from your Stripe account to theirs. Using the...
View ArticleBasset is an alternative way to load CSS & JS assets
It's 2024 and I'm calling it - Server-Side Rendering has officially made a comeback: in Laravel, where Livewire now has 46.000 installs per day in Ruby on Rails with Hotwire in Phoenix with Liveview...
View ArticleReversible Form Prompts and a New Exceptions Facade in Laravel 11.4
This week, the Laravel team released v11.4, with reversible form Prompts, a new Exceptions facade, Enum support in the Collection::mapInto() method, and more. Introduce the Exceptions Facade Nuno...
View ArticleAsserting Exceptions in Laravel Tests
Laravel's recent release of Laravel 11.4 introduced the Exceptions facade, which adds conveniences around asserting exceptions in Laravel's exception handler. Before this release, I would typically...
View ArticleProperty Hooks Get Closer to Becoming a Reality in PHP 8.4
The Property Hooks RFC passed a significant milestone, getting an overwhelmingly positive 34 "yes" votes and only 1 "no" vote. That's well above the required 2/3 majority required to pass. What are...
View ArticleApply Dynamic Filters to Eloquent Models with the Filterable Package
Filterable is a Laravel package by Jerome Thayananthajothy that enhances Laravel queries with adaptable, customizable filters and intelligent caching to improve both performance and functionality. The...
View ArticleMicrosoft Clarity Integration for Laravel
The clarity-laravel package lets you easily integrate Microsoft Clarity into your Laravel application. I wasn't familiar with Clarity before seeing this package—it's a GDPR and CCPA-ready product that...
View ArticleAnonymous Event Broadcasting in Laravel 11.5
This week, the Laravel team released v11.5, with anonymous event broadcasting, Blade performance improvements, generating URLs with query parameters, and more. Anonymous Event Broadcasting Joe Dixon...
View ArticleSort Elements with the Alpine.js Sort Plugin
Alpine.js has a new first-party Sort plugin in the ecosystem, which allows you to easily re-order elements by dragging them with your mouse. The Sort plugin uses the SortableJS project under the hood...
View Article