Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to Laravel

Introduction to Laravel

Mustapha

March 14, 2015
Tweet

Other Decks in Programming

Transcript

  1. We will …  Highlight the MVC parts of the

    framework  Discover the fun in using Laravel  Build a full featured blog in under 20 minutes
  2. Installation Laravel utilizes Composer to manage its dependencies. So, before

    using Laravel, you will need to make sure you have Composer installed on your machine. > composer global require "laravel/installer=~1.1" > laravel new my_project
  3. The Artisan CLI Artisan is the name of the command-line

    interface included with Laravel. It provides helpful commands for your use while developing your application. > php artisan list #List available commandes > php artisan help migrate #Show help for migrate > php artisan db:seed #Seed database > php artisan --version #Show version of Artisan
  4. The Artisan CLI Database migrations and seeding using the artisan

    CLI > php artisan migrate:install #Create migrations table > php artisan migrate #Migrate database > php artisan migrate:rollback #Rollback migration > php artisan db:seed #Seed database