- How do I install filakit-cli?
- Install it globally with Composer using composer global require jeffersongoncalves/filakit-cli, or download the standalone PHAR from the GitHub releases page. Make sure Composer's global bin directory is on your PATH so the filakit command resolves. Because the tool is built with Laravel Zero, it runs as a self-contained console application and does not add dependencies to your application.
- Which Laravel and Filament versions does filakit-cli support?
- The bundled starter kits cover Filament v3, v4 and v5, and each kit pins a compatible Laravel version for that stack. The CLI presents the available kits interactively so you can pick the one that matches your target Filament release. Check the repository README for the exact Laravel version paired with each Filament major.
- What starter kits are included in filakit-cli?
- A Filakit starter kit is a pre-configured Laravel + Filament application skeleton, typically including an admin panel setup, authentication and common packages. The CLI ships 27+ kits spanning Filament v3, v4 and v5, each with its own preset. Scaffolding a kit gives you a working admin panel in minutes instead of wiring Filament by hand.
- How do I scaffold a new Laravel + Filament project with it?
- Run the filakit command in your terminal and choose a starter kit from the interactive list. The CLI then generates the project structure for that kit. Because selection is interactive, you do not need to memorise kit names or version combinations up front.
- Does filakit-cli update itself automatically?
- Yes. The CLI includes auto-update support so it can pick up newer releases, which is useful given how frequently new kits and Filament versions ship. Laravel Zero provides self-update support through its PHAR builds. In automated or pinned environments, use a fixed release and skip the update check.
- Should filakit-cli be a global install or a dev dependency?
- Global installation, or the PHAR, is the intended usage since this is a standalone scaffolding tool rather than a runtime package for your app. You can add it to a project's require-dev and call it via vendor/bin, but you then have to be inside that project. A global install keeps the command available across all your projects.
- What PHP version does filakit-cli require?
- As a Laravel Zero application it follows Laravel's PHP requirements, so expect a modern PHP 8.x runtime. The generated projects also inherit the PHP constraints of whichever Filament version you choose. Verify the exact minimum in the composer.json of the release you install.
- Can I use filakit-cli in CI pipelines or Docker?
- Yes, but pin a specific version or PHAR and avoid interactive prompts in automated environments. Disabling self-update keeps builds reproducible. Most teams scaffold once during project bootstrap or generator setup rather than on every pipeline run.
- How do I test a project generated by filakit-cli?
- Generated projects follow standard Laravel conventions, so Pest or PHPUnit run against the scaffolded application as usual. Filament resources and pages are Livewire components, so Livewire component tests are the natural way to cover them. If you are contributing to the CLI itself, its own test suite runs through the Laravel Zero testing setup.
- Who maintains filakit-cli, and what are the alternatives?
- It is maintained by Jefferson Gonçalves as part of the Filakit ecosystem, with kits tracking Filament v3, v4 and v5 releases. Alternatives include the official Filament panel installer, Laravel installer presets, or manually requiring filament/filament. Filakit CLI's differentiator is the breadth of ready-made kits combined with interactive selection from the terminal.