ITECOMMPAY / paymentpage-sdk-php

Payment Page SDK
https://ecommpay.com/
MIT License
8 stars 16 forks source link

Composer, PSR and tests #2

Closed zhukovra closed 6 years ago

zhukovra commented 6 years ago

Hi, @blakw0lf!

I've made some changes in source of EcommPay SDK.

  1. Complete refactoring for use with composer and PSR autoloading standard. How you can simple run composer install ecommpay/paymentpage-sdk (but it need one more little step in packagist.org to register the package).

  2. Add autocomplete for PaymentPage URL builder. image All methods have PHPDoc description of course.

  3. Added tests and integration with Travis CI. Tests are running from 7.0 to latest PHP version.

  4. Added code coverage and maintainability inspections via CodeClimate.

  5. Added PHPCS (integrated with Travis CI).

So now repository looks like standard package in Composer ecosystem - easy to use, developer friendly. image