Mitiaj / roadmap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ROADMAP for great developer

STEP 1. Git & Composer

You will need:

  • PhpStorm installed on yout PC
  • PHP installed on your PC (could me WAMP or XAMP)
  • PHP executable available from terminal. You can just add it to PATH after installing XAMP or WAMP
  • Composer. Composer is purely written in PHP and compiled to phar. You can install it globally or you can add composer.phar file to each project seperatelly. PhpStorm can do that for you.
  • In PhpStorm's configuratia set PHP executable in order to get better auotocomplete.

Sequence:

GIT:
Composer:
  • Get familiar with composer, what you should be able to do:

    • Create composer package
    • require your own composer package
    • Require composer package from packagist.org

    Your package is complete

    • Create other repository on github
    • Clone
    • Add index.php file. Our mission is to require our Calculator package via composer
    • init composer
    • setup repository you are going to use (Calculator) | https://getcomposer.org/doc/04-schema.md#repositories type: VCS (version control system)
    • require calculators master branch
    • require 'vendor/composer/autoload.php'
    • Try to create new calculator and call any function. It should work.
    • Commit all the work and push

    You just created package and required it in a project

Composer advanced:

About