Cara Mudah Install Laravel Via Composer untuk XAMPP

Halo, kali ini saya ingin berbagi cara menginstal laravel di XAMPP (windows)
pertama download composer, silahkan kunjungi getcomposer.org, instal dan ikuti langskah nya

lalu buka cmd, untuk memastikan bahwa composer terinstal dengan benar coba ketik perintah : composer

saya anggap sudah berhasil, kemudian lanjut, perhatikan command berikut
jika anda menginstal xampp di Local Disk D silahkan pindahkan dulu ke D,

 Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\GrahaNet>cd c:\xampp

C:\xampp>cd C:\xampp\htdocs

C:\xampp\htdocs>composer create-project laravel/laravel laravel --prefer-dist
Installing laravel/laravel (v4.2.0)
  - Installing laravel/laravel (v4.2.0)
    Downloading: 100%

Created project in laravel
Loading composer repositories with package information
Installing dependencies (including require-dev)
  - Installing symfony/translation (v2.5.2)
    Downloading: 100%

  - Installing symfony/security-core (v2.5.2)
    Downloading: 100%

  - Installing symfony/routing (v2.5.2)
    Downloading: 100%

  - Installing symfony/process (v2.5.2)
    Downloading: 100%

  - Installing psr/log (1.0.0)
    Downloading: 100%

  - Installing symfony/debug (v2.5.2)
    Downloading: 100%

  - Installing symfony/http-foundation (v2.5.2)
    Downloading: 100%

  - Installing symfony/event-dispatcher (v2.5.2)
    Downloading: 100%

  - Installing symfony/http-kernel (v2.5.2)
    Downloading: 100%

  - Installing symfony/finder (v2.5.2)
    Downloading: 100%

  - Installing symfony/dom-crawler (v2.5.2)
    Downloading: 100%

  - Installing symfony/css-selector (v2.5.2)
    Downloading: 100%

  - Installing symfony/console (v2.5.2)
    Downloading: 100%

  - Installing symfony/browser-kit (v2.5.2)
    Downloading: 100%

  - Installing swiftmailer/swiftmailer (v5.2.1)
    Downloading: 100%

  - Installing stack/builder (v1.0.2)
    Downloading: 100%

  - Installing predis/predis (v0.8.6)
    Downloading: 100%

  - Installing phpseclib/phpseclib (0.3.7)
    Downloading: 100%

  - Installing patchwork/utf8 (v1.1.24)
    Downloading: 100%

  - Installing nesbot/carbon (1.9.0)
    Downloading: 100%

  - Installing monolog/monolog (1.10.0)
    Downloading: 100%

  - Installing nikic/php-parser (v0.9.4)
    Downloading: 100%

  - Installing jeremeamia/superclosure (1.0.1)
    Downloading: 100%

  - Installing filp/whoops (1.1.2)
    Downloading: 100%

  - Installing ircmaxell/password-compat (1.0.3)
    Downloading: 100%

  - Installing d11wtq/boris (v1.0.8)
    Downloading: 100%

  - Installing symfony/filesystem (v2.5.2)
    Downloading: 100%

  - Installing classpreloader/classpreloader (1.0.2)
    Downloading: 100%

  - Installing laravel/framework (v4.2.6)
    Downloading: 100%

symfony/translation suggests installing symfony/config ()
symfony/translation suggests installing symfony/yaml ()
symfony/security-core suggests installing symfony/validator (For using the user password constraint)
symfony/security-core suggests installing symfony/expression-language (For using the expression voter)
symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader)
symfony/routing suggests installing symfony/yaml (For using the YAML loader)
symfony/routing suggests installing symfony/expression-language (For using expression matching)
symfony/routing suggests installing doctrine/annotations (For using the annotation loader)
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/class-loader ()
symfony/http-kernel suggests installing symfony/config ()
symfony/http-kernel suggests installing symfony/dependency-injection ()
predis/predis suggests installing ext-phpiredis (Allows faster serialization and deserialization of the Redis protocol)
phpseclib/phpseclib suggests installing ext-gmp (Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.)
phpseclib/phpseclib suggests installing pear-pear/PHP_Compat (Install PHP_Compat to get phpseclib working on PHP < 4.3.3.)
patchwork/utf8 suggests installing ext-intl (Use Intl for best performance)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing raven/raven (Allow sending log messages to a Sentry server)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
d11wtq/boris suggests installing ext-readline (*)
d11wtq/boris suggests installing ext-pcntl (*)
d11wtq/boris suggests installing ext-posix (*)
laravel/framework suggests installing doctrine/dbal (Allow renaming columns and dropping SQLite columns.)
Writing lock file
Generating autoload files
Generating optimized class loader
Compiling common classes
Compiling views
Application key [SBlJGmgBCOssT4xHgKSEgZqfoJ9UDHJ3] set successfully.

C:\xampp\htdocs>

jika root xampp anda di Local Disk D atau drive D silahkan ganti dir dari cmd ke D


sekarang coba cek dilocalhost

http://localhost/laravel/namaaplikasimu/public/

Tulisan Terkait

Cara Mudah Install Laravel Via Composer untuk XAMPP
4/ 5
Oleh

Berlangganan via email

Senang dengan tulisan di atas? Silahkan berlangganan posting terbaru langsung melalui email.