Install Laravel 8 Application Quickly
Laravel is the most popular PHP framework. It's an open-source application. You can install laravel easily and build your favorite web application. Laravel initial release in June 2011. It's have many version and now we create a latest version laravel application.
Installing Laravel On Windows 10 With Xampp Local Server
Installing laravel 8 on our local server step by step:
- At First Install Composer On Windows
- Server Requirements For Laravel 8
- Installing Laravel On Windows 10 With Xampp Local Server
- Start Development Server For Laravel 8
Step 1 – Prerequisite to Install Composer On Windows
First, you have to need install the composer on windows 10 system. You can download the composer on click this link composer. If you download and install composer or already you done it before then you can follow step 2.
Step 2 – Server Requirements For Laravel 8
The Laravel framework has a few system requirements. You have to need should ensure that your web server has the following minimum PHP version and extensions:
- PHP >= 7.3
- BCMath PHP Extension
- Ctype PHP Extension
- Fileinfo PHP Extension
- JSON PHP Extension
- Mbstring PHP Extension
- OpenSSL PHP Extension
- PDO PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
Step 3 – Installing Laravel On Windows 10 With Xampp Local Server
You need to open your command prompt and navigate to the local web server directory. And command in prompt below the command line.
Note that, This command will install a laravel 8 new setup on your windows on xampp.
cd xampp/htdocs
composer create-project --prefer-dist laravel/laravel blog
Now If you run laravel install command then you want to need wait sometimes before installing the application.
Step 4 – Start Deployment Server For Laravel 8
After Install laravel application you have to need again command to start your laravel application server.
php artisan serve
cd blog
If you need to run the application diffrent port then you can use this command
php artisan serve --port=8080
If you follow all of the steps above. Then you can run successfully your laravel application.
Now, open your browser and run the below-given link on your browser:
http://127.0.0.1:8000
Comments (0)