Skip to content

It contains my work on laravel which is a PhP framework similar to Codeigniter framework.

Notifications You must be signed in to change notification settings

wadhwasahil/laravel

Repository files navigation

laravel

#Follow the steps to run your own laravel project.

Download php5 and php5.json

  • sudo apt-get install php5
  • sudo apt-get install php5-json

Download the composer.



Shift the composer.phar file to your local directory and also export the composer file from the vendor.

  • mv composer.phar /usr/local/bin
  • echo 'export PATH="$PATH:~/.composer/vendor/bin"' >> ~/.bashrc

Installing mcrypt.

  • sudo apt-get install php5-mcrypt

Making your first laravel project

  • laravel new "projectname"
  • This will create a folder in your current repository.

#To run this code on your computer

  • change /config/database.php file and update necessary database,username and\ password under"mysql"
  • Call the migrations
    1. php artisan migrate
  • cd to your project folder and run php artisan serve and open your browser(localhost::8000)

About

It contains my work on laravel which is a PhP framework similar to Codeigniter framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages