Home >PHP Framework >Laravel >Laravel Installer 4.0 updated!
The following is a brief introduction to Laravel Installer 4.0 update from the Laravel tutorial column. I hope it will be helpful to friends who need it!
Laravel Installer 4.0 update notes
2020/09/03 afternoon, Laravel released the Laravel Installer 4.0 update.
This update is mainly to prepare for Laravel 8, mainly adding Jetstream support.
You can use it after updating--jet
Parameters
$ laravel new --jet test-jetstream | | | |,---.|--- ,---.|--- ,---.,---.,---.,-.-. ||---'| `---.| | |---',---|| | | `---'`---'`---'`---'`---'` `---'`---^` ' ' Which Jetstream stack do you prefer? [0] livewire [1] inertia > 1 Will your application use teams? (yes/no) [no]: > yes
What is Laravel Jetstream?
Laravel Jetstream is a newly designed Laravel scaffolding. You can choose to build applications using livewire or inertia in two different ways.
Laravel Jetstream is similar to the traditional php artisan ui bootstrap --auth function that can be used after installing laravel/ui to quickly establish authentication (Authentication), except that it now uses Tailwind CSS, It also supports two-factor authentication, Session management and integration with Laravel Sanctum API, and can optionally use team management functions.
Among them, the options of livewire and inertia provide developers with different choices. Livewire is relatively similar to the previous method, while inertia is a new option for building SPA.
What is inertia?
Inertia is a new way to build a SPA, building a complete front-end and back-end application without writing an API.
For detailed introduction, please refer to Inertia’s official website.
The above is the detailed content of Laravel Installer 4.0 updated!. For more information, please follow other related articles on the PHP Chinese website!