<commit_before>---
layout: post
title: "Cara Instal Laravel 5"
date: 2015-06-28 15:00:00
author: Admin
categories:
- blog
- Tips&Tricks
- Code-Snippets
img: laravel-600x600.png
thumb: laravel-600x600.png
---

<b>Cara Instal laravel 5</b> 


Saya rekomendasikan Anda untuk menginstall composer terlebih dahulu.

####Cara 1: Via Installer Laravel
Pertama, download installer laravel:<!--more-->

{% highlight ruby %}
composer global require "laravel/installer=~1.1"
{% endhighlight %}

Selanjutnya, jalankan perintah berikut:
{% highlight ruby %}
laravel new blog
{% endhighlight %}

Selanjutnya,menambahkan path laravelnya di Environment Variables Windows..<br />
 klik kanan "My Computer > Properties > Advanced System Settings > Environment Variables", di bagian PATH edit lalu tambahkan path lokasi installer Laravelnya, misal di tempat saya

 >"C:\Users\NamaUser\AppData\Roaming\Composer\vendor\bin" 

 setelah itu restart komputer
 <commit_msg>eit post instal laravel<commit_after>---
layout: post
title: "Cara Instal Laravel 5"
date: 2015-06-28 15:00:00
author: Admin
categories:
- blog
- Tips&Tricks
- Code-Snippets
img: laravel-600x600.png
thumb: laravel-600x600.png
---

<b>Cara Instal laravel 5</b> 


Saya rekomendasikan Anda untuk menginstall composer terlebih dahulu.

####Cara 1: Via Installer Laravel
Pertama, download installer laravel:<!--more-->

{% highlight ruby %}
composer global require "laravel/installer=~1.1"
{% endhighlight %}

Selanjutnya,menambahkan path laravelnya di Environment Variables Windows..<br />
 klik kanan "My Computer > Properties > Advanced System Settings > Environment Variables", di bagian PATH edit lalu tambahkan path lokasi installer Laravelnya, misal di tempat saya

 >"C:\Users\NamaUser\AppData\Roaming\Composer\vendor\bin" 

 setelah itu restart CMD/komputer


Selanjutnya, jalankan perintah berikut:
{% highlight ruby %}
laravel new blog
{% endhighlight %}

 
{'fraction_non_alphanumeric': 0.10407949790794979, 'fraction_numerical': 0.032426778242677826, 'mean_word_length': 4.850152905198777, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2270312', 'n_tokens_mistral': 748, 'n_tokens_neox': 636, 'n_words': 193}