mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-02 11:43:00 +00:00
38 lines
777 B
Plaintext
38 lines
777 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# laravel
|
|
|
|
> A command-line installer for the Laravel framework.
|
|
> More information: <https://laravel.com>.
|
|
|
|
- Create a new Laravel application:
|
|
|
|
`laravel new {{name}}`
|
|
|
|
- Use the latest development release:
|
|
|
|
`laravel new {{name}} --dev`
|
|
|
|
- Overwrite if the directory already exists:
|
|
|
|
`laravel new {{name}} --force`
|
|
|
|
- Install the Laravel Jetstream scaffolding:
|
|
|
|
`laravel new {{name}} --jet`
|
|
|
|
- Install the Laravel Jetstream scaffolding with a specific stack:
|
|
|
|
`laravel new {{name}} --jet --stack {{livewire|inertia}}`
|
|
|
|
- Install the Laravel Jetstream scaffolding with support for teams:
|
|
|
|
`laravel new {{name}} --jet --teams`
|
|
|
|
- List the available installer commands:
|
|
|
|
`laravel list`
|