Skip to content

Repository files navigation

:package_description

Latest Version on Packagist GitHub Tests Action Status Total Downloads


This is a skeleton repo for scaffolding new Laravel packages.

It bundles the tooling we reach for on every package: Pest, PHPStan, Laravel Pint, Rector, and Orchestra Testbench. Run the configure script once and start writing code.

Quick start

  1. Click "Use this template" on GitHub to create a new repository.
  2. Clone your new repo locally.
  3. Run the setup script:
php configure.php
  1. Replace this README section with your own documentation.
  2. Start building in src/.

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Requirements

  • PHP ^8.3
  • Laravel ^12.0 || ^13.0

Installation

composer require :vendor_slug/:package_slug

Publish the config file:

php artisan vendor:publish --tag=":package_slug-config"

Usage

$skeleton = new VendorName\Skeleton();
echo $skeleton->echoPhrase('Hello, VendorName!');

Testing & Quality

The skeleton ships with a full quality toolchain. Run everything at once:

composer test

Or run checks individually:

composer lint          # Auto-fix code style/refactors (Pint + Rector)
composer lint:rector   # Run Rector only
composer test:lint     # Check Pint + Rector without changing files
composer test:refactor # Check Rector without changing files
composer test:types    # Run PHPStan static analysis
composer test:unit     # Run Pest tests with coverage

Changelog

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

Contributing

Please see CONTRIBUTING for details.

Security

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

Credits

License

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

About

A barebones skeleton for building Laravel packages pre-configured with Rector, Pest, Pint, and PHPStan.

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages