The fastest way to a booting, cached LaraFly app is the firefly/skeleton create-project template — a Laravel 13
application pre-wired with the Firefly family, a sample #[RestController]/#[Service] pair, and
firefly:cache already wired into post-create-project-cmd:
composer create-project firefly/skeleton my-app
cd my-app
php artisan firefly:cache
php artisan firefly:servecomposer create-project alone already ran firefly:cache for you (via post-create-project-cmd), so the app
boots reflection-free from the first request; re-run firefly:cache yourself whenever you add or change
#[Component]/#[RestController]/#[CommandHandler]/etc. classes, and firefly:clear to fall back to the
in-process scanner. firefly:serve is a thin passthrough to artisan serve (or octane:start when
laravel/octane is installed) — see CLI for the full command reference.
Pull in the whole runtime family with one line — firefly/firefly is a Composer metapackage (the Maven BOM
analogue) that requires every runtime package (firefly/kernel through firefly/observability):
composer require firefly/fireflyAdd firefly/cli for the developer-experience console (firefly:cache, make:firefly-*, and friends):
composer require --dev firefly/cliThen point LaraFly at your app's classes and compile it:
// config/firefly.php
'scan' => [
'paths' => [
'App\\' => app_path(),
],
],php artisan firefly:cache
php artisan firefly:servefirefly/cli— the developer-experience console:firefly:cache/:clear, actuator-over-CLIfirefly:about/:routes/:health/:metrics, themake:firefly-*generator family, and thinfirefly:serve/:dbpassthroughs. See CLI.firefly/firefly— atype: metapackageruntime aggregator;composer require firefly/fireflypulls the whole runtime family in one line.firefly/skeleton— atype: projectLaravel 13 create-project template, pre-wired with the Firefly family and a sample#[RestController]/#[Service], that yields a booting, cached app straight out ofcomposer create-project.
- Architecture — how the boot engine, DI, and auto-configuration fit together.
- Auto-Configuration — writing your own
#[Configuration]/#[Bean]starters. - Testing — the
firefly/testingharness every package (and your app) dogfoods.