laravel installation in ubuntu code example

Example 1: what are the ubuntu packages required for laravel to be installed

sudo apt install php7.2-common php7.2-cli php7.2-gd php7.2-mysql php7.2-curl php7.2-intl php7.2-mbstring php7.2-bcmath php7.2-imap php7.2-xml php7.2-zip

Example 2: Laravel installation on Linux

composer create-project laravel/laravel example-app

cd example-app

php artisan serve

Example 3: how to install laravel

composer global require "laravel/installer=~1.1"

Example 4: Laravel installation on Linux

cd example-app

./vendor/bin/sail up

Example 5: Laravel installation on Linux

curl -s https://laravel.build/example-app | bash

Example 6: laravel install ubuntu

sudo systemctl status apache2

Tags:

Html Example