# spatie/package-skeleton-laravel

A skeleton repository for Spatie's Laravel Packages

Repository: https://github.com/spatie/package-skeleton-laravel
Canonical: https://ross.abutalabs.com/products/package-skeleton-laravel
Homepage: https://laravelpackage.training
Language: PHP
License: MIT
License Family: permissive
Topics: php, package, bootstrap
Last push: 2026-08-03T14:56:46+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 35, longevity 100
- inputs: {"age_days": 4108, "days_push": 30, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2429, forks 667 (observed 2026-08-28T04:06:51.040110+00:00)

## What it is
A template repository from Spatie for scaffolding new Laravel packages, with placeholders that a configure script replaces to bootstrap a package. It ships with testing, code style, and GitHub Actions workflows ready to go.

## Use cases
- scaffold a new Laravel package
- bootstrap a PHP package with testing and CI set up
- create a composer package skeleton
- start building a spatie-style Laravel package
- set up GitHub Actions workflows for a PHP package
- quickly rename placeholders across a new package repo

## When to choose
- you are starting a new Laravel or PHP package from scratch
- you want a battle-tested structure with Pest/PHPUnit tests and CI preconfigured
- you follow Spatie's package development conventions

## When to avoid
- you are building an application, not a reusable package
- you need a skeleton for a framework other than Laravel
- you already have an established package boilerplate

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, build-tool, testing
- domain: developer-tools, web-development
- platform: php, cli
- tags: laravel, package-skeleton, scaffolding, composer, spatie, template-repository, boilerplate, php

## Member repositories
- spatie/package-skeleton-laravel (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:51.040110+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:31:50.421618+00:00, confidence not recorded.
  - readme: https://github.com/spatie/package-skeleton-laravel (fetched 2026-08-28T04:06:51.040110+00:00, sha 5bd153d1c5c8)
  - homepage: https://laravelpackage.training (fetched 2026-08-29T10:12:47.072939+00:00, sha a96d53cf52b4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
