ngiraud/laravel-starter

An opinionated starter to launch after creating a fresh Laravel application

v1.0.1 2025-08-18 18:04 UTC

This package is auto-updated.

Last update: 2025-08-18 18:05:41 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This package automates the setup of a fresh Laravel application by installing and configuring the packages and tools you commonly use in your projects.

It configures Docker Compose with Laravel Sail, installs your preferred packages (Telescope, Horizon, Filament, etc.), sets up Composer scripts for development, and configures your environment according to your preferences (locale, database, services).

Installation

Install the package in your fresh Laravel application:

composer require ngiraud/laravel-starter

Usage

After creating a new Laravel application with a starter kit, simply run:

php artisan starter:install

The command will guide you interactively to:

  • Configure environment: application name, locale (fr/en), database settings
  • Choose Docker services: MySQL, Redis, MinIO, etc.
  • Install Composer packages: Laravel Telescope, Horizon, Filament, Larastan, Rector, etc.
  • Setup development scripts: composer dev, composer test, composer lint
  • Publish configuration files: pint.json, translation files
  • Publish custom AppServiceProvider
  • Add a command to create an Action class

Available packages

  • Laravel Telescope - Debugging and monitoring
  • Laravel Horizon - Redis queue management
  • Filament - Admin panel interface
  • Larastan - Static analysis with PHPStan
  • Rector - Automated refactoring
  • Laravel Backup - Automated backups
  • Paratest - Parallel testing
  • Laravel Nightwatch - Monitoring application

Added Composer scripts

composer dev      # Start all development services (logs, vite, queue)
composer dev:ssr  # Version with Inertia SSR
composer test     # Run tests with coverage
composer lint     # Code formatting with Pint
composer refactor # Refactoring with Rector

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.