hardimpactdev / liftoff-laravel
React, authentication, Filament, and localization scaffolding for Craft Laravel applications
Fund package maintenance!
Requires
- php: ^8.3
- illuminate/contracts: ^12.0 || ^13.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^3.10
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.1.1
- orchestra/testbench: ^11.1
- pestphp/pest: ^4.0
- pestphp/pest-plugin-arch: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
- phpstan/extension-installer: ^1.3||^2.0
- phpstan/phpstan-deprecation-rules: ^1.1||^2.0
- phpstan/phpstan-phpunit: ^1.3||^2.0
This package is auto-updated.
Last update: 2026-07-14 09:13:29 UTC
README
React, authentication, Filament, and localization scaffolding for the Craft React starterkit.
Requirements
- PHP 8.3 or newer
- Laravel 12 or 13
- Node.js with npm, or Bun
- A Craft React starterkit application
Installation
composer require hardimpactdev/craft-laravel
Setups
The package exposes three setup commands:
| Command | Installs |
|---|---|
php artisan craft:setup app |
Fortify authentication, passkeys, two-factor authentication, dashboard, settings, and the React application shell |
php artisan craft:setup filament |
Authentication plus a Filament 5 admin panel, user management, profile, passkey, and two-factor pages |
php artisan craft:setup multilanguage |
JSON translations, a React example page, and Craft Vite i18n configuration |
The React scaffold registry is bundled with this package, so setup does not depend on a local craft-ui-react checkout.
Application setup
npm install php artisan craft:setup app php artisan migrate npm run build
The generated application includes Fortify login and registration, password reset, email verification, passkeys, two-factor confirmation, dashboard and account settings pages, Waymaker controllers, Wayfinder imports, and feature tests.
Filament setup
npm install php artisan craft:setup filament php artisan migrate php artisan make:filament-user npm run build
Filament authentication redirects are configured for /admin. If the application scaffold already provides a dashboard, its redirect remains in place.
Multilanguage setup
php artisan craft:setup multilanguage npm run build
This creates lang/en.json, lang/nl.json, and resources/js/pages/TranslationExample.tsx, then enables i18n in vite.config.ts.
All setups generate Waymaker routes and are safe to run again.
Development
composer test
composer analyse
composer format -- --test
composer validate --strict
The integration workflow also runs every public setup against the current Craft React starterkit and builds the resulting application.
Changelog
See CHANGELOG.md for release history.
Security
Report vulnerabilities through the repository's security policy.
License
The MIT License. See LICENSE.md.