HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

laravel — Installer for the Laravel framework. More information: <https://laravel.com/docs/installation>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandinstallerlaravelframeworkclifor

Problem

How to use the laravel command: Installer for the Laravel framework. More information: <https://laravel.com/docs/installation>.

Solution

laravel — Installer for the Laravel framework. More information: <https://laravel.com/docs/installation>.

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

Code Snippets

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

Context

tldr-pages: common/laravel

Revisions (0)

No revisions yet.