Watch Youtube Video (HINDI) :
now you can follow the below steps
Step 1 : You can copy this command and put into your command prompt.
composer create-project --prefer-dist laravel/laravel blog
Step 2 : Go to the folder where the file is installed.
cd blog
Step 3 : Install the composer.
Now, In this step install composer of your project directory.
composer install
Step 4 : Copy .env.example file and rename to .env
copy .env.example .env
Step 5 : In this step generate key of your project.
Following this command.
php artisan key:generate
Step 6 : Now create database into phpmyadmin and set your database into the .env file
DB_DATABASE='Your DB Name' DB_USERNAME='root' DB_PASSWORD='Your DB Password'
Step 7 : Migrate your database follow the command.
php artisan migrate
Step 8 : Now Setup is done follow with the command.
php artisan serve
After fire this command showing message in command promt.
Laravel development server started: <http://127.0.0.1:8000>
So Finally open your browser and type in url localhost:8000
you can't understand follwing step properly can also download code from GitHub
We always thanks to you for reading our blogs.
Dharmesh Chauhan
(Swapinfoway Founder)Hello Sir, We are brothers origin from Gujarat India, Fullstack developers working together since 2016. We have lots of skills in web development in different technologies here I mention PHP, Laravel, Javascript, Vuejs, Ajax, API, Payment Gateway Integration, Database, HTML5, CSS3, and Server Administration. So you need our service Please Contact Us
Haresh Chauhan
(Co-Founder)We Are Also Recommending You :
- How To Insert Current Datetime In Database Laravel
- How to setup Google's Two Factor Authentication in Laravel
- Single Session User Login in Laravel
- How to Send Mail using PHPMailer in Laravel?
- What are accessors and mutators In Laravel
- Laravel Event Broadcast With Redis Socket.io Echo To Listen Real-Time Message
- Laravel 9 Telescope Integration Tutorial
- Laravel Email Send
- How to Make/Create/Write JSON File Using PHP Array In Laravel - PHP
- chunk() Method | Laravel Collection Example