How To Install Any Kind Of Laravel Version - FreeCodeBlog

Last updated: Nov 27, 2021

Welcome to laravel. Want to install laravel version on your environment (windows 10, cpanel)? Yes!. Okay After reading this tutorial you can easily install any kind of laravel version to make a laravel project. Want to install 8, 7, 6, 5 or older version of laravel on environment  (windows 10, cpanel) to make laravel project?. Okay today I will explain to you how we can install any type of Laravel like laravel 8, laravel 7, laravel 6, laravel 5, laravel 5.8 or other versions. To install any kind of laravel version you may need to install composer and php in your environment  (windows 10, cpanel). So don't be late. Just start to reading this tutorial to laravel 8, 7, 6, 5 version.

 

How To Install Any Kind Of Laravel Version
How To Install Any Kind Of Laravel Version

 

1. Welcome To Laravel.

If you are new to Laravel, welcome to Laravel. Laravel is a free, open-source PHP web framework, created by Taylor Otwell and intended for the development of web applications following the model–view–controller architectural pattern and based on Symfony.

 

2. Requirements.

Want to install Laravel now? Okay! Have you installed Composer and PHP in your environment (windows 10, cpanel)? Listen guys, First you need to install composer and PHP where you want to install laravel.

 

PHP: PHP is a general-purpose scripting language geared towards web development and Laravel is a PHP web framework. So you need to install PHP on your environment (windows 10, cpanel). You can install PHP on your environment (Windows 10, Cpanel) by installing xampp or wamp web application to install any type of laravel version.

 

 

php -v

 

You will get some information about PHP like below If already installed on Windows 10 or cpanel.

 

PHP 7.4.23 (cli) (built: Aug 25 2021 09:37:03) ( ZTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

 

Composer: Composer is a tool for dependency management in PHP. You need to install composer to install Laravel. I suggest you install the latest version of Composer. I have installed Composer on my environment (windows 10, cpanel). I have already written some tutorials on installing Composer in the environment (Windows 10, CPanel). Please read install composer on shared hosting cpanel and install composer in windows 10 with xampp tutorials to gain more knowledge about composer installation in the environment (Windows 10, cPanel).

 

Now run composer command on windows 10 or cpanel terminal to check which composer version already has installed on windows or cpanel.

 

composer

 

For composer you will get some information about composer like below if already has installed on windows or cpanel.

 

Composer version 2.1.6 2021-08-19 17:11:08

 

1. Windows 10.

You have no need to defined specific version if you want to install latest version of laravel.

 

composer create-project laravel/laravel laravel-app

 

Defined a specific version if you want to install specific version of laravel.

 

composer create-project laravel/laravel:^7.0 laravel-app

 

Once the laravel has been installed, run serve command to see your laravel project on any browser. Don't need to use this command if you install laravel on cpanel.

 

php artisan serve

 

For windows open any browser and hit below url to see your laravel project.

 

http://127.0.0.1:8000/

 

Okay so this is for today. See you again next tutorials. Thanks

Post Tags
Post Writer
masum7323
Masum Biswas (@masum7323)

My name is Masum Biswas. I'm a full stack developer. I live in Bangladesh and I love to write tutorials and tools that can help to other artisan. I am a big fan of PHP, Javascript, JQuery, Laravel, MySQL, VueJS, Tailwind CSS and Bootstrap from the early stage.

Follow Me On
Related Posts
How To Connect Database Connection In Laravel

You must need to connect database connection in laravel for making dynamic laravel website. hello guys, I will explain you how we can connect larav... Read More

Show And Hide Password In Laravel Vue

make show and hide password in laravel vue using laravel ui package. Sometimes, we may require to show hide password input field so, user can see w... Read More

How To Make A User Email Verification In Laravel

Want to make a user email verification in laravel using ui, jetstream, breeze user authentication package? Yes! Okay then you must need to read thi... Read More

Change Laravel Mysql Database Connection On Shared Hosting Cpanel

Want to change local to cpanel MySQL database connection in laravel on cpanel? Yes. Well, You need to change laravel MySQL database connection on s... Read More

How To Make A Password Generator In Laravel

Want to make a password generator in laravel that can be used in register, change password, reset password page? You can generate a strong, random,... Read More