Страницы · Laravilt
Installer Prompts
Every question php artisan laravilt:install asks, and the files it creates.
php artisan laravilt:install gathers all answers first, then runs every step without further questions.
1. Frontend stack
The default matches your starter kit (detected from package.json). Pass --stack=vue or --stack=react to skip this question.
React support requires Laravilt v1.1 or later.
2. Panel identifier
Used as the URL path (/admin) and the class name (AdminPanelProvider). This and the next questions are skipped with --skip-panel.
3. Panel features
Some features ask a follow-up question:
- Two-factor: TOTP (authenticator app) and/or email code.
- Social login: Google, GitHub, Facebook, Twitter/X, LinkedIn, Discord.
- AI assistant: the OpenAI model (GPT-4o Mini by default).
Each selected feature becomes a method on the generated panel (->login(), ->passkeys(), ->twoFactor(...) and so on). See Auth.
4. Admin user
If you answer yes, laravilt:user runs at the end and asks for name, email and password. It isn't offered in non-interactive runs.
What gets created
Next: Quick Start.