danog / MadelineProto

Async PHP client API for the telegram MTProto protocol
https://docs.madelineproto.xyz
GNU Affero General Public License v3.0
2.79k stars 633 forks source link

Cannot find vendor/autoload.php #514

Closed djnotes closed 5 years ago

djnotes commented 5 years ago

I'm having problem running samples in the userbots directory and bot.php. The scripts require vendor/autoload.php which is found nowhere in the repository. Should I remove the require statements?

danog commented 5 years ago

No, these are fine. People running the examples should already know that they require a composer autoloader. Either way, I've updated them to automatically use madeline.php if the autoloader was not created.