Skip to content

Upgrading

Mohamed Elsaed edited this page Jul 5, 2026 · 2 revisions

Upgrading

Update the package

composer update mohamed-ashraf-elsaed/claude-kit

This immediately updates the referenced machinery under vendor/…/runtime/ (the quality gate, Stop hook, and PHPStan base) — no other action needed.

Refresh the copied content

The published files (skills, CLAUDE.md, linter configs, templates) were copied into your repo, so composer update does not touch them. To pull the latest shipped versions, re-run the installer with --force for the parts you want to refresh:

# refresh skills + .claude config
php artisan claude-kit:install --parts=claude --force

# refresh the feature-doc templates and editor config
php artisan claude-kit:install --parts=docs --force

--force overwrites those files. Review the diff and re-apply any local customisations you had made.

Reading the changelog

Every release documents what changed in CHANGELOG.md. While the package is 0.x, minor versions may include breaking changes — check the changelog before updating.

Versioning

The package follows SemVer. Pin a constraint that matches your tolerance for change, e.g. "^0.1" (allows 0.1.*) or a stricter "0.1.*".

Clone this wiki locally