Download the PHP package bartollo/pipeline-kit without Composer

On this page you can find all versions of the php package bartollo/pipeline-kit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package pipeline-kit

pipeline-kit

Installs/merges the Claude Code + Sloppy + Laravel Boost quality pipeline (described in stubs/PIPELINE.md) into another Laravel project. Available in two forms:

Installing it in another project

This package's code lives at github.com/bartollo/pipeline-kit (tag v1.0.0 onward). While it isn't published on Packagist yet, add it as a vcs repository in the other project's composer.json:

Then:

If the package is already on Packagist, the repositories step above isn't needed — composer require --dev bartollo/pipeline-kit resolves it directly.

If both projects sit side by side on disk (as in this monorepo, which uses pipeline-kit/ itself as a local dependency for dogfooding), a path repository works too:

The service provider is auto-discovered by Laravel (extra.laravel.providers in the package's composer.json) — nothing to register manually.

Usage

The command always operates on the project it's run in (base_path()) — it doesn't take a target path, because it's already installed inside the project you want to configure.

To check what's configured without changing anything, use the companion status command:

It reports one row per item (.mcp.json servers, Claude Code hooks, .claude/settings.local.json enabled servers, whether those two are actually tracked by git, phpstan.neon, boost.json, CLAUDE.md, PIPELINE.md, the composer.json require-dev packages and scripts, and whether the sloppy scripts carry an explicit memory limit) with one of four statuses:

Status Meaning
OK fully present and matching what the installer would have written
PARTIAL some but not all expected entries are present (e.g. one MCP server, one missing script)
MODIFIED the file exists but its content differs from the bundled stub — expected once Sloppy/Boost append their own sections, or once you edit it yourself
MISSING not installed at all

The command exits 0 when nothing is MISSING or PARTIAL (so it can gate a CI step or a pre-deploy check), and 1 otherwise.

One row, Claude Code hook reachability, checks something pipeline:install itself can't: Claude Code only reads .claude/settings.json (and therefore its hooks) from the project root where a session was opened — never from a subdirectory. If this project turns out to be nested inside a bigger git repository (a monorepo with site/, backoffice/, api/, …) and that repo's root has no matching hooks, this row comes back MISSING even though every other row is OK — that combination means the Sloppy hooks installed here will silently never fire for a session opened at the repo root. Fix it by mirroring the hooks into .claude/settings.json at the repo root (routing by the edited file's path if more than one sub-app has Sloppy installed), or by opening Claude Code sessions inside this project instead of the monorepo root.

A related row, Claude Code config committed to git, catches a quieter version of the same problem: .mcp.json and .claude/settings.json can exist on disk, pass every other check here, and still never reach a teammate, if .gitignore excludes them — directly, or because a blanket .claude/ rule swallows settings.json along with the genuinely-personal settings.local.json it was meant for. From anyone who hasn't got this exact working copy, a gitignored file is indistinguishable from one that was never installed — a fresh git clone just won't have it. This row runs git check-ignore against both files and comes back MISSING/PARTIAL if either is excluded; only settings.local.json is supposed to be gitignored, so commit the rest.

Another row, Sloppy memory limit, flags sloppy/sloppy:diff/ sloppy:review scripts that don't raise PHP's memory limit. vendor/bin/sloppy indexes the whole project for cross-file analysis and can exceed the default 128M on anything past a small codebase — the fragment now runs it the same way types already runs Pest, via php -d memory_limit=2G vendor/bin/sloppy .... Because pipeline:install never rewrites a script that's already present (see below), a project that merged the fragment before this fix is stuck without it until the scripts are edited by hand.

Same additive/idempotent logic as the standalone script: it never overwrites hooks, require-dev packages, or scripts already present in the target, unless you pass --force (and even then, only for the four whole-file copies, never for composer.json).

Every run that actually merges composer.json backs it up to composer.json.bak first, regardless of --force — this happens on the very first install too, not only when re-running against an existing one. It's redundant with your git history, so it's safe to delete once you've reviewed the diff.

After installing

The command prints a "Next steps" hint, but a few of those steps have sharp edges worth knowing up front:

  1. Scope your composer update. A bare composer update resolves the entire dependency tree, not just the packages the fragment just added — on an existing project this can silently upgrade dozens of unrelated packages (framework patch bumps, a major version jump in some transitive dependency, etc.). Prefer naming the packages composer.json just gained:

    If you already ran a bare composer update before noticing, git checkout -- composer.lock to undo it and re-run scoped — check the lock diff afterwards for anything beyond new entries and alphabetical reordering.

  2. laravel/pao can conflict with the project's collision/phpunit/ pest/framework versions. laravel/pao declares (in its own composer.json) explicit conflict entries against version ranges of those packages — but which ranges depends on which version of pao Composer ends up resolving, and that table has changed across pao's own releases (an older pao release conflicted with pestphp/pest <4.6.3 directly; the version current at the time of writing instead conflicts with nunomaduro/collision <8.9.3, phpunit/phpunit <12.5.23 || >=13.0.0 <13.1.7 || >=14.0.0, and laravel/framework <12.0.0). So this isn't a fixed, permanent incompatibility — it's whichever pao version and collision/phpunit/pest version the target project happens to pair up. If the target project's versions of those packages don't satisfy whatever range the resolved pao version declares, Composer reports a conflict instead of installing anything.

    Don't trust a stale list (including the one above) — check what Composer actually resolves for this project before assuming it's blocked:

    If that resolves cleanly, drop --dry-run and you're done. If it still conflicts, Composer's own output names the exact package(s) and version range at fault — bump those specific packages (not a bare composer update, per point 1 above) rather than dropping laravel/pao; removing it should be a last resort for a project that can't move those versions yet.

  3. vendor/bin/sloppy rules --format=claude writes into CLAUDE.md directly — it's not a "copy this output by hand" step. It inserts or updates a single block delimited by <!-- sloppy:begin --> / <!-- sloppy:end --> and leaves the rest of the file untouched.

  4. php artisan boost:install can take a couple of minutes (agent detection plus MCP server installs); it's safe to run in the background. Besides updating CLAUDE.md, it may also create an AGENTS.md if it detects an agent (e.g. GitHub Copilot) that reads guidelines from that file instead.

  5. sloppy:diff/sloppy:review assume the trunk branch is called main. The bundled scripts run sloppy diff main / sloppy review main — pipeline:install has no way to know what this project's actual integration branch is called. If it's develop, master, or anything else, both scripts will fail (or silently compare against the wrong ref) until you edit the branch name in composer.json to match.

  6. Publish Sloppy's own config. Until you run this, Sloppy's settings — including which paths it excludes, e.g. tests/ — are only the package's implicit defaults: invisible and not adjustable from this project.

AI code review gate

PIPELINE.md's step 19 describes an "AI Code Review" stage that's meant to run, with a fresh/independent perspective, once the deterministic pipeline (composer quality) is green — but nothing made that actually happen. A session could run composer quality, see it pass, and just stop without ever running that review. pipeline:install wires a second Stop hook (alongside Sloppy's own) for exactly this:

Every time Claude Code tries to end a turn, this hook:

  1. Allows the stop immediately if Claude Code says stop_hook_active (it's already mid-way through honoring a previous block for this same turn — never re-block here, or the session would loop).
  2. Allows the stop if there are no pending changes (git diff HEAD plus any untracked files), or if the current diff's hash matches the last one this hook already forced a review for.
  3. Otherwise runs composer quality. If it isn't green, allows the stop — this hook only ever gates the review, not the quality pipeline itself.
  4. If it's green and this exact diff hasn't been reviewed yet, blocks the stop and returns {"decision": "block", "reason": "..."}: a reason telling Claude, in PIPELINE.md's own terms, to run the code-review skill (or a code-reviewer subagent) against the pending diff before actually finishing — and remembers the diff's hash so it won't ask again for the same changes.

If the forced review leads to more edits, the diff's hash changes and the next stop attempt blocks again — each new slice of changes gets its own review. composer quality on a non-trivial project can take a while, hence the generous timeout; shrink it (or swap in a cheaper check) if your quality script is fast, or extend it if it's slower than 10 minutes.

The hash-based "already reviewed" state is a small file under the system temp directory (keyed by the project path), not inside the repo — it never gets committed and resets if that directory is cleared, which just costs one extra forced review, not a correctness problem.

Troubleshooting

Package structure

Maintenance (only relevant to whoever maintains the source repo)

The files under stubs/ are copies — once installed in another project, the package no longer has access to the source repo's real files. After editing CLAUDE.md, PIPELINE.md, .mcp.json, .claude/settings*.json, phpstan.neon, boost.json, or the pipeline's package/script list, run:

Tests

(PipelineMerger doesn't depend on Laravel, so the tests run with plain PHPUnit — no need to install the package or use orchestra/testbench.)


All versions of pipeline-kit with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/console Version ^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bartollo/pipeline-kit contains the following files

Loading the files please wait ...