aagjalpankaj/laravel-package-template

Composer package template for Laravel

dev-main 2025-04-26 19:50 UTC

This package is auto-updated.

Last update: 2025-04-26 19:50:29 UTC


README

ci Downloads

About

Composer package template for Laravel.

Includes:

PestPHP: Feature, Unit & Architecture testsuites using PestPHP

Workbench: to write Integration testing

Rector: for refactoring

Pint: for code-styling

Usage

Create project

Create project by clicking on "Use this template" OR run:

composer create-project aagjalpankaj/laravel-package-template:dev-main <your-package-name>

Replace (text & file names)

  • Aagjalpankaj with your namespace
  • LaravelPackageTemplate with your package name (camelcase)
  • laravel-package-template with your package name (lowercase hyphen separated)

Commands (useful while development)

Run all checks:

composer ci

Fix issues:

composer ci.fix

Good luck 🤞