henderjon / cleverservicewrapper
an injectable wrapper for Clever's PHP SDK
Installs: 47 485
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.4
- clever/clever: ~0.3
- psr/log: ~1.0
Requires (Dev)
- phpunit/phpunit: ~4.0
README
Clever.com offers a service whereby they bridge the gap between a school's student information system (SIS) and any given vendor.
Clever's PHP SDK (found here) isn't the most injectable library you'll find. I wrote this wrapper as a means of injecting the Clever API into an application.
It includes a retry loop with an exponential backoff (their prescribed best practice) and a reasonably verbose logger for logging what may/not go wrong.
The official SDK is only at version 0.3 so keep in mind that until they tag a stable version, it's wide open to change and breakage.
PHP 5.3
Use >= v0.2 ("~0.2" in composer)
PHP >= 5.4
Use >= v1.0 ("~1.0" in composer)