Home > PHP Framework > Laravel > body text

Laravel Installer 4.0 updated!

藏色散人
Release: 2020-09-04 13:28:58
forward
2825 people have browsed it

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 updated!

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--jetParameters

$ 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
Copy after login

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!

Related labels:
source:learnku.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!