Skip to main content

Presets

Init asks which branch pushes should run on. The deploy preset writes that same branch on staging. --no-interaction keeps main.

Libraries (packages)

A library has no artisan file and does not commit composer.lock. The package preset tests PHP 8.3, 8.4 and 8.5. It starts at 8.3 because Slipway itself needs PHP 8.3 or newer. It sets:
Add this to the library’s composer.json so Testbench discovers Slipway’s service provider:
then use vendor/bin/testbench slipway:compile and vendor/bin/testbench slipway:check. The Slipway repository builds its own pipeline that way: see slipway.php and .github/workflows/slipway.yml. Libraries do not commit composer.lock, so CI installs the latest Slipway that matches your constraint. After a Slipway release that changes generated YAML, run slipway:compile and commit the files. A change to only the config hash comment in the header is not a hand edit.