Paul Redmond

Staff writer at Laravel News. Full stack web developer and author.

Create a DateTime from a Timestamp With this New Method Coming to PHP 8.4

Creating a DateTime from a Unix timestamp will be more convenient in PHP 8.4 with the new createFromTimestamp() method.

Read article

Neovim Plugin to for Navigating Laravel and Livewire Components

LALI Components is a Neovim plugin for autocompletion of Laravel and Livewire components by community member Ricardo Ramirez.

Read article

Share Error Package for Laravel's New Exception Page

When Laravel moved to the new minimal default Exception Page in Laravel 11.9, Spatie released a Laravel Share Error package that brings back the abili...

Read article

Manage Events, Feature Flags, and More with PostHog for Laravel

Laravel PostHog is a package integrating PostHog—a platform to analyze, test, observe, and deploy new features—with Laravel. Learn how to use this pac...

Read article

Randomize Command Execution Time with the Chaotic Schedule Package for Laravel

The Chaotic Schedule package for Laravel allows you to randomize scheduled command execution time and date intervals via Pseudorandom number generator...

Read article

Use a Closure with updateOrInsert() in Laravel 11.10

This week, the Laravel team released v11.10, with the ability to pass a callback to Builder::updateOrInsert(), support for soft-deleted models with ex...

Read article

Using Eloquent Factories With PHPUnit Data Providers

Using data providers with feature tests can pose a problem because they run before Laravel is bootstrapped. Let's look at how to use Eloquent factorie...

Read article

Eloquent JoinWith Package for Laravel

Laravel Eloquent Join With is a package that simplifies performing efficient database joins on existing Eloquent relationships of type HasOne and Belo...

Read article

Monitor Code Processing Time in PHP with Time Warden

Time Warden is a lightweight PHP library that enables you to monitor processing time of tasks and allows take actions on thresholds that exceed define...

Read article

A New Minimal Default Exception Page With Dark Mode Support in Laravel 11.9

This week, the Laravel team released v11.9, which includes a new default exception page, a way to prevent destructive commands from running, a without...

Read article

Audit MySQL Databases in Laravel With the DB Auditor Package

The DB Auditor package for Laravel helps you audit your MySQL database standards and provides options to add missing constraints via CLI.

Read article

Prevent Destructive Commands From Running in Laravel

You can now prevent commands like database migrations from accidentally running in production environments. Learn how to use this upcoming feature in...

Read article