Showing posts with label Laravel Bahasa Melayu.. Show all posts
Showing posts with label Laravel Bahasa Melayu.. Show all posts

Wednesday, March 8, 2017

Installation Laravel Dalam Windows

1. Install XAMPP
ini untuk composer guna php.exe
2. Install composer
3.Installing Laravel
Laravel utilizes Composer to manage its dependencies. So, before using Laravel, make sure you have Composer installed on your machine.

Via Laravel Installer

First, download the Laravel installer using Composer:
composer global require "laravel/installer"
Make sure to place the $HOME/.composer/vendor/bin directory (or the equivalent directory for your OS) in your $PATH so the laravel executable can be located by your system.
Once installed, the laravel new command will create a fresh Laravel installation in the directory you specify. For instance, laravel new blog will create a directory named blog containing a fresh Laravel installation with all of Laravel's dependencies already installed:
laravel new blog
4. configure path


The PATH for Windows:

I’ve found the location where composer stores the Vendor files.
So instead of ~/.composer/vendor/bin, on Windows the following path should be used:
C:\Users\>\AppData\Roaming\Composer\vendor\bin

How to install the Laravel Installer:

I assume you have php and composer in your PATH already.
First of all install the Laravel Installer. Open a command prompt and enter:
composer global require "laravel/installer=~1.1"

Then update the PATH environment variable via e.g. command prompt with admin privileges:
setx /M path "%path%;%appdata%\Composer\vendor\bin"
%appdata% is added, so you don’t have to worry about adding your computer name.
5. Untuk buka folder project

subl.exe nama folder cth: subl.exe project