Laravel Install - The Popular PHP Framework to Code Web Applications.

Do you need Xampp or Mamp to Install this awesome Framework to build your own Apps. And the Composer to run Laravel correct on your localhost server.

Get Composer : ###View Application →

Laravel is a very Fast Popular PHP Framework for develop Web Applications.

Laravel over Xampp.

### Download Xampp for Mac Os X. →

### Download Laravel. →

/Applications/XAMPP/ htdocs/L33

ls

which php

/Applications/XAMPP/

xamppfiles/bin/php

sudo vi ~/.bash_profile

password:

*************

:wq

cd

then back to bash type

which php

/Applications/XAMPP/

xamppfiles/bin/php

composer install

wait, it need a bit time.

find app/storage -type d -exec chmod 777 {} \; find app/storage -type f -exec chmod 777 {} \;

Install Composer

Let’s you download and install Composer before You need to install composer software on you OS , you can get from getcomposer.org and follow instruction on website i won’t teah you to install composer , Let’s you do it yourself.

https://getcomposer.org/

Get Laravel

Then download Laravel from github here and place your folder in XAMPP/htdoc

/Applications/XAMPP/htdoc/{you folder}

before you install it , you have to check php path that point to

/Applications/XAMPP/

xamppfiles/bin/php

Terminal Bash : cd /Applications/XAMPP/htdocs/L4

Terminal Command Line :

sudo vi ~/.bash_profile

export Path :

“PATH=/Applications/

XAMPP/xamppfiles/bin:$PATH”

If finish use ESC to exit

Type composer install after you have finish installation go to browser and enter to

localhost/{your laraval}

Last problem and solve Boooom!!! you will get a error on your screen , Go to terminal again user both command

find app/storage -type d -exec chmod 777 {} \; find app/storage -type f -exec chmod 777 {} \; then refresh browser you will get complete to install Laravel , Hope to enjoy it!

Update

**Don’t forget restart apache service after set path in ~/.bash_profile

Laravel over Mamp

### Download Mamp for Mac Os X. →

### Download Laravel. →

Install Laravel on MAMP !

install and run Terminal .bash

type :

curl -sS https://getcomposer.org/installer | php

type:

php composer.phar

type:

composer

to exit : type

clear

exit

Open a New Terminal Bash

type:

sudo mv composer.phar /usr/local/bin/composer

type:

composer

type to exit :

clear

go back to localhost of the index

localhost/

localhost:8888/

Open New Terminal :

type:

cd /Applications/MAMP/htdocs/

ls

composer create-project laravel/laravel spaceg –prefer-dist

ls

rm -R ./*

ls

cd ~

ls - l

ls -ls

nano .bash_profile

export

PATH=/Applications/MAMP/

bin/php/PHP_VERSION/bin/:$PATH

enter the php version

export

PATH=/Applications/MAMP/

bin/php/php5.6.2/bin/:$PATH

php5.6.2

ctrl o

ctrl x

Open a New Terminal again:=)

cd /Applications/MAMP/htdocs/

ls

composer create-project laravel/laravel/ yourprojectname

Preload your Localhost and BOOOOMM! The index of your Laravel PHP Framework to build APPS!

Globally#

You can place this file anywhere you wish. If you put it in your PATH, you can access it globally. On unixy systems you can even make it executable and invoke it without php.

You can run these commands to easily access composer from anywhere on your system:

curl -sS https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer Note: If the above fails due to permissions, run the mv line again with sudo.

export

PATH=/Applications/MAMP/

bin/php/PHP_VERSION/bin/:$PATH

<VirtualHost *:80>
DocumentRoot "/Path/To/New/Document/Root"
ServerName spaceg.github.io
<Directory "/Path/To/New/Document/Root">
    Options All
    AllowOverride All
    Order, allow,deny
    Allow from all
</Directory> </ VirtualHost >

</code>

“If you are going to walk on thin ice, you might as well dance”