sskaje / mqtt

MQTT Client class
https://sskaje.me/category/MQTT/
MIT License
86 stars 33 forks source link

Use composer autoloader #10

Closed sanpii closed 7 years ago

sskaje commented 8 years ago

Hi @sanpii , I saw you just make some changes on test scripts, would you please: 1 Make some changes on test.inc.php like

<?php
if (is_file($vendor_autoloader)) {
    require($vendor_autoloader);
} else {
    require($example_autoloader);
}

2 Make all test scripts load this inc file. 3 Add some composer autoload example to README.md.

Just let those who does not have composer can try these test scripts.

Thank you.

sskaje

sanpii commented 8 years ago

PR updated.

btry commented 8 years ago

Hi

Switching to Composer would be great for my project. Is there somethinig preventing this PR to be merged ?