Commit graph

15 commits

Author SHA1 Message Date
f8e945bacd chore: drop EOL PHP versions
Seemed overdue to finally drop support for PHP 5.x, as well as 7.x as
the 7 series has also reached end of life.

Expanded testing to include both the soon to be released 8.3 and the
next development version 8.4.
2023-11-06 12:43:17 -06:00
95bba75265 feat: add workdays endpoint
Added support for our new workdays endpoint that allows you to get the
number of working days for a country between two dates.
2021-06-14 18:01:47 -05:00
49d20e06a8 docs: fix build and coverage badges
Had the wrong URL in there, whoops.
2020-06-19 19:12:30 -05:00
45ca80d846 feat: add workday endpoint
Added support for our latest endpoint, which calculates the workday a
given number of business days into the future from the given date for
the given country.
2020-06-19 18:56:47 -05:00
b6fad34f19 build: swap travis for github actions 2020-06-13 10:19:15 -05:00
b9ceb5947c docs: improve syntax highlighting of code snippets
* Seems PHP snippets require the delimiter to function properly.
* Updated a bunch of dependencies.
2020-06-13 10:19:15 -05:00
12f1ea69f8 feat: filter out countries without public holidays
Fairly minor update, no code change, just added a new test to cover the
flag that was recently added to the API and expanded the documentation
to also include it.
2020-03-03 22:08:57 -06:00
054eab9c02 feat: pull country or language by code
* feat: pull country or language by code.

This differs from the existing `search` functionality in that it allows
you to explicitly pull back a single country or language instead of
anything that matches (which could result in more items returned than
expected).

* docs(readme): update to include examples for new functionality.
* test: expand tests to include new parameters.
* fix(client): dropped some commented out code that wasn't in use.
* docs(license): bump the year of the license.
2020-02-11 18:14:18 -06:00
0f45ca781a chore(ci): include 7.4 and nightly
* chore(ci): Added 7.4 (just released) and nightly (as an allowed failure).
* chore(composer): Swap out abandoned coveralls package for maintained version.
* chore(composer): Added PHPUnit as a dev dependency.
* chore(ci): Dropped a ton of the juggling in favor of version juggling in Composer.
* fix(readme): Corrected the badge for the license.
* chore(composer): Bumped the package's version number.
2019-12-05 19:32:12 -06:00
e97edee508 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.
2019-10-10 00:12:13 -05:00
Josh Sherman
ad4f80f626 Cleaned up spacing 2016-08-11 21:01:41 -05:00
Josh Sherman
5bc5cd1322 Updated readme 2016-08-11 21:01:00 -05:00
Josh Sherman
f93880b054 Update README.md 2016-08-08 23:58:01 -05:00
Josh Sherman
bb5c93a781 Update README.md 2016-08-08 23:56:15 -05:00
Josh Sherman
510d00d8f9 Initial commit 2016-08-08 23:53:21 -05:00