Laravel is a powerful, open source PHP web framework, designed for the faster development of web application. It is based on Symfony framework, follows the MVC architectural pattern. At the time of writing this tutorial, Laravel 7.12 is the latest version available.
The Laravel framework also provides a command-line interface (CLI) known as Artisan. It provides helpful commands to perform operations for your application’s.
This article will help you to install Laravel PHP Framework on CentOS 8 systems.
First of all, Laravel required LAMP stack to be running LAMP stack on your CentOS 8 system. The systems have already running LAMP stack can skip this step else use the following commands to install it.
sudo dnf install httpd
sudo dnf install @mysql
sudo mysql_secure_installation
Laravel requried php 7.2 or higher version. Let’s install PHP on your system using below command.
sudo dnf install php php-curl php-bcmath php-dom php-xml php-mbstring php-json
#php framework #centos 8 #laravel #php #php framework