In order to get started with Laravel, there are required software to run composer and laravel that needs to be installed. This includes;
- Web server
- PHP
- Composer
- Node JS
Step 1. Install PHP 7.3 or newer.
If you havent installed PHP, follow notes from previous post.After installing PHP, install all the regular extensions. Ensure PHP is working with the web browser.
sudo yum install php-cli php-zip wget unzip php-dom php-posix php-shmop php-xsl php-xmlrender
Step 2. Web server.
In this case, I am using Apache HTTPD. Install this and test that the php is working.
sudo yum install httpd
Step 3. Composer
Download the installer.
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php' ");
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
Step 4. Node JS
sudo yum install nodejs
You are ready to work with Laravel projects. Here are links to the remainder tutorials
Part 1, Part 2,
No comments:
Post a Comment