-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Mohamed Elsaed edited this page Jul 5, 2026
·
2 revisions
- PHP 8.2+
- Laravel 11, 12, or 13
- Claude Code
-
pcovor Xdebug (optional, to enforce the 80% coverage gate)
composer require --dev mohamed-ashraf-elsaed/claude-kit
php artisan claude-kit:installThen install the tooling the kit added and (if you scaffolded a frontend) the npm dependencies:
composer install # installs Pint/PHPStan/Pest/Boost + wires the git pre-commit hook
npm install # only if a frontend stack was set upAdd a VCS repository and require the branch or a tag:
{
"repositories": [
{ "type": "vcs", "url": "https://github.com/mohamed-ashraf-elsaed/claude-kit" }
]
}composer require --dev mohamed-ashraf-elsaed/claude-kit:dev-main
php artisan claude-kit:install- The installer detects your frontend stack and asks you to confirm it.
- It asks which parts to scaffold (all by default).
- It writes the files, skipping any that already exist (use
--forceto overwrite) and mergingcomposer.json/package.json. - It configures the git hooks path if the project is a git repo.
See Usage for flags and non-interactive installs.
vendor/mohamed-ashraf-elsaed/claude-kit/runtime/quality-checks.shOpen Claude Code in the project, make a small code change, and confirm the Stop hook runs the gate. Coverage enforcement needs a driver:
sudo apt install -y php8.4-pcov # example for PHP 8.4 on Debian/Ubuntuclaude-kit — one-command Claude Code + quality gate for Laravel
⭐ Star · 📦 Packagist · 🐛 Issues · 💬 Discussions · 📝 Changelog
MIT © Mohamed Elsaed
Getting started
Reference
Project