installation laravel

laravel steps

curl -sS | php to get composer

in folder laravel latest version write on terminal:

sudo mv composer.phar /usr/local/bin/composer ,move composer to /usr/local/bin

sudo composer install

sudo chmod 777 -R app/storage

sudo apt-get install php5-json to install php5-json

check version of laravel

composer -V

configure your file database app/config/database.php

make a table migration

php artisan migrate:make create_users_table

fill the attribute of table and migrate table:

php artisan migrate

to rollback you can do this:

php artisan migrate:rollback


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s