Laravel 6 Installation on Windows and Ubuntu with Composer

Install laravel 6 on windows. In this article, We’ll show you how to install the laravel 6 Framework on windows system step by step and create a first laravel 6 application. Also, discuss How to Install Composer windows. Install Laravel on Windows in a matter of minutes.


What is Laravel?

Laravel is a free open source “PHP framework” based on the MVC design pattern.
It is created by Taylor Otwell. Laravel provides expressive and elegant syntax that helps in creating a wonderful web application easily and quickly.

What’s New in Laravel 6

  • Securing Laravel APIs with Auth0
  • Laravel Dump Server Integration
  • Laravel Nova
  • Guest User Gates / Policies
  • Email Verification
  • Optional Email Verification
  • URL Generator & Callable Syntax
  • Paginator
  • Improved Error Messages
  • Testing Artisan Commands

Install Laravel on Windows or Ubuntu with Composer


Contents

  • Download and Install Composer
  • System Requirement
  • Create Project
  • Start Development Server
  • Conclusion

1. Install composer

If you are working with Ubuntu then Must Read, How to install composer in ubuntu Click Here

If you are working with Window then Must Read, How to install composer in windows Click Here

2. Server Requirements

The Laravel framework has a few system requirements. Before we will install laravel 5.7 on windows, read some system requirements.

  • PHP >= 7.2.0
  • BCMath PHP Extension
  • Ctype PHP Extension
  • JSON PHP Extension
  • Mbstring PHP Extension
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension

3. Install Laravel

Type the command In the command prompt => composer create-project laravel/laravel Project Name. It will install a laravel 6  fresh setups on your system.

composer create-project --prefer-dist laravel/laravel blog

Wait for Laravel install on windows system.

install laravel

After successfully install laravel setup. If your using ubuntu machine. open your terminal and go to your project root directory (
using the command cd blog ) and type the below command in command prompt :


sudo chmod  -R 777 storage

sudo chmod -R 777 bootstrap

4. Start Development Server

In this step to use the php artisan serve command .it will start your server locally

php artisan serve

If you want to run the project diffrent port so use this command

php artisan serve --port=8080 

You have successfully install laravel on windows, Now Go to the browser and hit the

URL : http://localhost:8000/blog

If you are not run php artisan server command, direct go to your browser and type the URL

URL : http://localhost/blog/public/

Laravel  Installation Process completed go to the browser and hit URL. http://localhost/project-name /public/, you will be seen.

install laravel

5. Conclusion

You have successfully installed the latest version laravel 6 on windows with the composer.

If you have any questions or thoughts to share, use the comment form below to reach us.

8 Comments

  1. Ferdinand said:

    Thanks on your marvelous posting! I truly enjoyed reading it, you are a great author.I
    will remember to bookmark your blog and will often come back in the foreseeable future.
    I want to encourage you continue your great job, have a nice afternoon!

    Also visit my web page – cheap flights

    January 31, 2021
    Reply
  2. Lucile said:

    Keep this going please, great job!

    Also visit my web-site: cheap flights

    January 31, 2021
    Reply
  3. Delores said:

    Does your website have a contact page? I’m having a tough time locating it but, I’d like to send
    you an e-mail. I’ve got some suggestions for your
    blog you might be interested in hearing. Either way, great blog and I
    look forward to seeing it improve over time.

    My website; cheap flights

    February 1, 2021
    Reply
  4. Jeanette said:

    Having read this I thought it was rather informative. I appreciate you spending some
    time and energy to put this informative article together.
    I once again find myself personally spending a lot of time both reading and
    posting comments. But so what, it was still worthwhile!

    my homepage :: cheap flights

    February 1, 2021
    Reply
  5. Ryder said:

    I like the helpful information you provide in your articles.
    I’ll bookmark your weblog and check again here regularly.
    I’m quite certain I’ll learn lots of new stuff
    right here! Good luck for the next!

    My homepage :: cheap flights; tinyurl.com,

    February 2, 2021
    Reply
  6. Pamela said:

    Howdy! This post could not be written any better! Reading through this article reminds me of my previous roommate!
    He continually kept talking about this. I am going to forward this article
    to him. Fairly certain he’ll have a very good read.
    Thanks for sharing!

    Feel free to visit my site :: cheap flights

    February 2, 2021
    Reply
  7. Alyce said:

    Tremendous things here. I’m very glad to look your article.
    Thank you a lot and I’m looking forward to contact you.
    Will you please drop me a e-mail?

    my web site – cheap flights (http://tinyurl.com/y3pnt4wg)

    February 3, 2021
    Reply
  8. Brenda said:

    Hello there! This article couldn’t be written any better!
    Reading through this article reminds me of my previous
    roommate! He always kept preaching about this.
    I will forward this article to him. Fairly certain he’ll
    have a good read. Thanks for sharing!

    Have a look at my web page – cheap flights – tinyurl.com

    February 12, 2021
    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *