Install Laravel Framework in Windows

Please follow these steps

  • Install Laravel Framework in Windows *PHP version greater than 6.3.7 is required.
  • Download Laravel from: https://github.com/laravel/laravel/archive/master.zip.
  • Extract Laravel into the www folder for WAMP (http://www.wampserver.com).
  • Download Composer from: https://getcomposer.org/Composer-Setup.exe
  • Enable openssl from all php.ini files.
  • Install Composer into the same directory php.exe is located.
  • Click on WAMP icon->PHP->PHP Extensions and enable: php_openssl, php_curl, php_socket.
  • Click on wamp icon->Apache->Apache Modules and enable ssl_module
  • Open cmd.
  • Change into the directory where you extracted Laravel e.g: cd C:\wamp\www\laravel.
  • Type the command: composer install.
  • Copy and paste all \public\ folder files into WAMP’s www folder.
  • Open index.php and edit both lines to include the installation .Directory .e.g: ‘/../bootstrap/autoload.php’ to ‘/laravel/bootstrap/autoload.php’.
  • Open bootstrap\paths.php and edit the line ‘public’ => __DIR__.’/../public’, to ‘public’ => __DIR__.’/../..’,
  • Installation completed.
  • Open your browser and run URL : localhost/laravel

You have done it, cheers :)

About the author

PHP | MVC | Codeignitor | Zend | Yii | Smarty | Android | Laravel Expert Senior Software Developer.I love my job and feel happy to working on new ideas and technologies.

Leave a Comment

Comment (required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Name (required)
Email (required)