If you are newbie in PHP Laravel and want to create some awesome project based on this beautiful PHP framework, lets install Laravel in XAMPP.

It is incredibly easy to work with, customization and setup. It has got pre-built protection from XSS and injection, also authorization session management.
You can create controllers, migrations and model with tables very easily with artisan command. It uses Blade template for view, which come with very less complex syntaxes.
What you will love about this framework is Documentation. It very well documented in it’s website. So you never have a problem while work on this.


  • PHP >= 5.5.9
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • Install XAMPP

    In case you don’t have XAMPP, you can download it from here.

    Installing Composer

    After you’ve downloaded and installed Xampp, we need to install Composer.
    Composer is a PHP package manager, required to download Laravel Framework and its dependencies. Composer can be downloaded from here.

    Bonus Tip

    click image
    b-offf - Copy

    You can setup a virtual host for your laravel project. Please go through the steps mentioned in previous post.
    Remember to set DocumentRoot “C:\xampp\htdocs\laravel\public” in “C:\xampp\apache\conf\extra\httpd-vhosts.con” File, if you want to setup a virtual host.

    Install Laravel Framework

    We are prepared to install and configure a Laravel Framework. First of all, we have to navigate to “C:\xampp\htdocs” folder to install it.

    Hold ctrl and Right click on blank space and select “open command window here”.

    Run this following command:

    (if you know the version)


    (install latest)

    When it finishes, you see following folder structure created on your project folder.

  • Start/Restart your Apache.
  • navigate to http://localhost/laravel/public OR if you have created virtual host navigate to specified address.
  • laravel-welcome

    Let me know if you face any problem.