20743

Laravel install in localhost

Question:

I am using windows 8 .I am using XAMPP.I installed XAMPP in D drive. My web root path is D:\php\htdocs. Location of php.exe file is D:\php\php. I would like to install Composer first then Laravel using composer. Could any one show me the whole process with step by step instruction ??

Answer1:

<ol><li>Add Php installation path to Environment Variable. </li> <li>Cd to D:\xampp\php [Php Installation path]</li> <li>Install composer using, php -r "readfile('https://getcomposer.org/installer');" | php </li> <li>Create composer.bat file, using D:\xampp\php>echo @php "%~dp0composer.phar" %*>composer.bat</li> <li>Check the installation using composer -V. </li> <li>If it works fine, install laravel using the following command. composer create-project laravel/laravel myapp --prefer-dist</li> </ol>

Answer2:

<ol><li>Download and run the Composer Windows Installer from here: <a href="https://getcomposer.org/download/" rel="nofollow">https://getcomposer.org/download/</a></li> <li>Go to web root directory D:\php\htdocs</li> <li>Run composer create-project laravel/laravel myapp, this will install laravel project in D:\php\htdocs\myapp directory.</li> </ol>

Recommend

  • How to use a huge array in HLSL (error X4505)
  • How to get PHP working in Brackets?
  • Assembly Language Absolute addresses and segment registers
  • Why calculations of eigenvectors of a 2 by 2 matrix with numpy crashes my Python session?
  • Laravel S3 File Upload MimeType Issue
  • Symfony2 - Composer class loader instance in controller
  • Strict Standards: Non-static method STemplate::assign() should not be called statically
  • PHP Carbon “month()” method generates wrong DateTime
  • Laravel 5 how to include autoload.php
  • Can you look sample a texture in a vertex shader?
  • What does the lower left pane in OllyDbg displays?
  • Modifying files nested in tar archive
  • Laravel : Integrity constraint violation
  • CUDA NSight is not installed with CUDA 5.0 installation file on Windows 8? [closed]
  • Add Windows Feature from C#
  • Laravel at least one field is required
  • why calling cd shell command through system() or execvp() from a child process won't work?
  • what does prefix @- mean in makefile?
  • npm 5.4.1 install/uninstall all failing
  • Debugging VB6 Code From Visual Studio 2010
  • Diff between two dataframes in pandas
  • Eloquent paginate function in Slim 3 project using twig
  • Install PHP intl extension on MacOS
  • zope_i18n_compile_mo_files doesn't work on a Zeo configuration
  • How can I sort a a table with VBA with given text condition?
  • How to suppress a dialog
  • MailKit: The IMAP server replied to the 'EXAMINE' command with a 'BAD' response
  • PHPUnit_Framework_TestCase class is not available. Fix… - Makegood , Eclipse
  • How to add a column to a Pandas dataframe made of arrays of the n-preceding values of another column
  • Sending data from AppleScript to FileMaker records
  • KeystoneJS: Relationships in Admin UI not updating
  • AngularJs get employee from factory
  • Load html files in TinyMce
  • Angular 2 constructor injection vs direct access
  • Understanding cpu registers
  • How do I configure my settings file to work with unit tests?
  • Java static initializers and reflection
  • Android Google Maps API OnLocationChanged only called once
  • UserPrincipal.Current returns apppool on IIS
  • How do I use LINQ to get all the Items that have a particular SubItem?