SteveEdson / bitbar-php

PHP formatter for BitBar plugins
MIT License
67 stars 7 forks source link

and where is this require ".bitbar/vendor/autoload.php"; ? #10

Closed ghost closed 6 years ago

ghost commented 6 years ago

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.

ghost commented 6 years ago

I wish this wasn't free so we could pay for proper instructions.

SteveEdson commented 6 years ago

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:

The 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!