Closed ghost closed 6 years ago
I wish this wasn't free so we could pay for proper instructions.
I'd recommend reading https://scotch.io/tutorials/a-beginners-guide-to-composer to help you understand what composer is, and how to use it. But basically:
NPM
, Python has pip
, Ruby has gem
etc)composer.json
file, for example, steveedson/bitbar-php
composer install
, the packages are downloaded into your /vendor
directoryautoload.php
file, that you can require
in order to start using the Bitbar classes provided in this repoThe composer.json
file in this repo is used to specify what my dependencies are, and to tell packagist (the place where PHP composer projects are stored), how the project is set up, and named etc.
Hope this helps.
I wish this wasn't free so we could pay for proper instructions.
Feel free to donate at https://www.paypal.me/steveedson
Thanks!
Where did this vendor directory come from? Where is this autoload.php and what does it do? Why do you include a composer.json and tell us to add a new one with a different content?
These are the worse instructions Jesus https://github.com/SteveEdson/bitbar-php.