Basic Laravel Training (for CV)

From Ta Wiki
Revision as of 15:59, 7 March 2019 by Tata (talk | contribs)
Jump to navigation Jump to search

Reference

  • Laravel Documentation
https://laravel.com/docs/5.8

Installation

  1. Install LAMP Stack (ie. XAMPP)
  2. Install Composer
    https://getcomposer.org/doc/00-intro.md#installation-linux-unix-macos
    หมายเหตุ: เวลาเรียกใช้งาน composer อาจจะต้องใช้ ./composer.phar แทนที่ composer ถ้าทำการ Install composer เป็น local
  3. Create new Laravel Project
    composer create-project --prefer-dist laravel/laravel PROJECT_NAME 
  4. Run Local Development Server
    php artisan serve # for running on localhost:8000
    or
    php artisan serve --port=8888 # for running on localhost:8888