Skip to content

package-boost-php

sandermuller/package-boost-php is the family member for framework-agnostic Composer package authors. It bundles the sync engine with package-author skills, two guidelines, and two .gitattributes commands.

Where this package lives

GitHub · Packagist · Releases · Changelog · Public API

Each family package has its own repository and its own release cadence. This site is built from the boost-core repository, so a documentation fix goes there, and a code issue goes to the repository above.

Where laravel/boost ships Laravel application guidelines, this package ships package-author CLI infrastructure and skill-authoring tooling. It has no Laravel dependency.

Writing a Laravel package? Install package-boost-laravel instead. It requires this package and layers the Laravel-specific skills on top.

Two CLI commands

Both target .gitattributes, the file that controls what ends up in the Composer archive. Neither overlaps with laravel/boost.

CommandPurpose
vendor/bin/package-boost-php leanCheck that .gitattributes excludes non-shipping paths: tests, fixtures, CI configs, .ai/. Wraps stolt/lean-package-validator
vendor/bin/package-boost-php gitattributesMaintain the # >>> package-boost (managed) >>> block. Foreign lines added by other tools are preserved

Two guidelines

Always-loaded context for an agent working in a package codebase.

GuidelineScopeTag
foundationPackage-is-not-an-app rules: no app/ or .env, the public API is semver-governed, tests are the spec
release-automationCHANGELOG-via-CI and release-notes-in-internal/ conventionsrelease-automation

Three skills

Loaded on demand, when the work matches.

SkillWhen it loadsTag
lean-distKeeping the Composer archive lean with .gitattributes export-ignore
skill-authoringAuthoring or editing AI skills for the boost familyboost-extension
writing-file-emitterImplementing a custom FileEmitter for boost-coreboost-extension

The readme, release-notes, and upgrading skills moved to boost-skills under the release-automation tag. Allowlist that vendor to receive them.