nickdekruijk/leap-template

Frontend website template scaffolding for nickdekruijk/leap: the leap:template and leap:content commands. Install with composer require --dev.

Maintainers

Package info

github.com/nickdekruijk/leap-template

pkg:composer/nickdekruijk/leap-template

Transparency log

Statistics

Installs: 39

Dependents: 0

Suggesters: 1

Stars: 0

Open Issues: 0

0.10.16 2026-07-22 10:38 UTC

This package is auto-updated.

Last update: 2026-07-22 10:39:13 UTC


README

Frontend website template scaffolding for nickdekruijk/leap: the leap:template and leap:content commands, plus the stubs they copy into your project. It is dev-only tooling — install it with --dev so it (and its commands) are absent from production entirely.

Installation

Leap itself is a runtime dependency (the admin panel runs in production); only the scaffolding is dev-only. So install two packages, like Laravel's own framework + Pint:

composer require nickdekruijk/leap                 # admin panel — production (non-dev)
composer require --dev nickdekruijk/leap-template  # scaffolding — dev only

Why nickdekruijk/leap must be a normal (non-dev) require: this package depends on leap, but if you only require --dev leap-template, leap comes in as a dev-transitive dependency and composer install --no-dev on production removes it — taking the admin panel with it. leap has to be a direct non-dev requirement of your app.

On production (composer install --no-dev) leap-template is not installed, so leap:template/leap:content don't exist there — zero footprint.

Live demo

leap.nickdekruijk.nl is a stock leap:template install — that site is what these stubs produce. Log in on /admin with info@example.com / leapdemo and change anything; the site resets to its seeded state 15 minutes after the last change.

Commands

php artisan leap:template          # scaffold the frontend website (interactive)
php artisan leap:template --fresh  # complete, unattended install (implies --force)
php artisan leap:content News      # generate a listed content type

Both refuse to run on APP_ENV=production without --force (like Laravel's migrate).

Documentation

The template and content types are documented in the leap repo:

Versioning

Tracks leap's major/minor line — this package requires nickdekruijk/leap: ^0.10, so a breaking leap release (0.11) is paired with a new leap-template release. Patch versions are independent.

License

MIT.