feat: include all endpoints

* Reworked interfacing to drop the versioning in the class name.
* Refactored / cleaned up existing code.
* Stuck with support for PHP 5.3+ since PHP 5.x still seems to hold majority.
* Abstracted request logic to another class for mocking.
* Added test suite and hit full code coverage.
* Updated readme, included migration guide and the full gamut of examples.
* Wired up travis-ci and coveralls for testing and coverage.
This commit is contained in:
Josh Sherman 2019-09-19 23:20:15 -05:00
parent ad4f80f626
commit e97edee508
12 changed files with 1024 additions and 94 deletions

View file

@ -1,23 +1,28 @@
{
"name": "joshtronic/php-holidayapi",
"description": "Official PHP library for Holiday API",
"version": "1.0.0",
"type": "library",
"keywords": [ "holiday", "holidays", "holidayapi" ],
"homepage": "https://github.com/joshtronic/php-holidayapi",
"license": "MIT",
"authors": [{
"name": "Josh Sherman",
"email": "hello@holidayapi.com",
"homepage": "https://holidayapi.com,"
}],
"require": {
"php": ">=5.3.0"
},
"require-dev": {
"satooshi/php-coveralls": "~1.0"
},
"autoload": {
"psr-4": { "HolidayAPI\\": "src/" }
}
"name": "holidayapi/holidayapi-php",
"description": "Official PHP library for Holiday API",
"version": "2.0.0",
"type": "library",
"keywords": [
"calendar",
"holiday",
"holidays",
"holidayapi"
],
"homepage": "https://github.com/holidayapi/holidayapi-php",
"license": "MIT",
"authors": [{
"name": "Josh Sherman",
"email": "hello@holidayapi.com",
"homepage": "https://holidayapi.com"
}],
"require": {
"php": ">=5.3.0"
},
"require-dev": {
"satooshi/php-coveralls": "~1.0"
},
"autoload": {
"psr-4": { "HolidayAPI\\": "src/" }
}
}