rubensrocha / lara-install-wizzard
Laravel application installer with version and auth package selector.
Requires
- php: ^7.3
- ext-curl: *
- ext-json: *
- symfony/console: ^4.0|^5.0
- symfony/process: ^4.2|^5.0
Requires (Dev)
- phpunit/phpunit: ^8.0
README
Description
This package was created to implement new features in the official installer in order to make life easier for developers. With it you can:
- Choose the version of Laravel to be installed (5-6-7-8)
- Choose which authentication package to install (Laravel / UI or Jetstream)
- Optional Packages: Telescope, Socialite, Passport
How to Install
composer global require rubensrocha/lara-install-wizard
Executable Command
larawizard
Commands List
Command | Description | Options |
---|---|---|
new |
Create a new Laravel Project | name (name of your project) |
version |
Choose the Laravel Version to install | |
--dev |
Installs the latest "development" release | |
--jet |
Installs the Laravel Jetstream scaffolding | |
--stack |
The Jetstream stack that should be installed | livewire , inertia |
--teams |
Indicates whether Jetstream should be scaffolded with team support | |
--auth |
Installs the Laravel authentication scaffolding | |
--preset |
The Laravel/UI preset that should be installed | bootstrap , vue , react |
--telescope |
Installs the Laravel Telescope(dev) | |
--socialite |
Installs the Laravel Socialite | |
--passport |
Installs the Laravel Passport | |
--force |
Forces install even if the directory already exists |
Examples
Laravel (latest version)
larawizard new ProjectName
Laravel 8 (latest version) with Jetstream
larawizard new ProjectName 8.* --jet
Laravel 8 (latest version) with Jetstream (Inertia)
larawizard new ProjectName 8.* --jet --stack=inertia
Laravel 7 (latest version)
larawizard new ProjectName 7.*
Laravel 7 (latest version) with Laravel/UI
larawizard new ProjectName 7.* --auth
Laravel 7 (latest version) with Laravel/UI (Vue)
larawizard new ProjectName 7.* --auth --preset=vue
Official Documentation
Documentation for installing Laravel can be found on the Laravel website.
Contributing
If this project is useful for you, remember to rate it with stars. And if you want to contribute by creating new features or making bug fixes, your help is always welcome.
License
Laravel Installer is open-sourced software licensed under the MIT license.
Credits
This package is a modified version of the official installer, which can be found in the official repository at this link.