HamForge
laravel-defaults v1.0 Released
Published 2 December 2026
HamForge has released hamforge/laravel-defaults, a Composer package that brings our shared development setup to new and existing Laravel apps.
Why it exists
Setting up a Laravel project often means carrying over the same ignore rules, tool configuration and test scripts. Laravel Defaults gives HamForge projects a consistent starting point and lets developers review which defaults fit each app.
What the command does
The Artisan command previews proposed .gitignore rules and shows which Composer and npm packages are already installed or available to add. It can also offer missing configuration and scripts for tools such as Pint, Larastan, Rector, ESLint and Prettier. You choose which additions to apply, and the command preserves existing script definitions and explicit ignore exceptions.
Getting started
Laravel Defaults requires Laravel 13 and PHP 8.5 or later in the PHP 8 series. Install it as a development dependency and run the interactive command from your Laravel app.
composer require --dev hamforge/laravel-defaults
php artisan hamforge:defaults
For a read-only preview, run php artisan hamforge:defaults --no-interaction.