воскресенье, 29 июля 2018 г.

Total Commander & Git. How making a custom button on the tool bar in Total Commander for run Git with current path? or Git Bash Here in Total Commander

We nead to use specify command line parameter Total Commander - %P causes the source path to be inserted into the command line, including a backslash (\) at the end.



четверг, 26 июля 2018 г.

Composer как добавить собственный код в autoloader


  • Создаем в корне проекта папку src и фаqл composer.json там же где и папка vendor.
  • В фале composer.json прописываем следующее 

{
 "name": "mariodian/bitfinex-api-php",
    "autoload": {
        "bitfinex-api-php-master": {
            "bitfinex\\api\\": "src/bitfinex-api-php-master/Bitfinex.php"
  }
    }
}

После этого запускаем команду composer dump-autoload для создания vendor/autoload.php