greenbicycle / enterprise-directory-service
Retrieve EDS person data
0.9.1
2020-07-11 04:52 UTC
Requires
- ext-simplexml: *
Requires (Dev)
- larapack/dd: ^1.1
- phpunit/phpunit: ^9.0
- vlucas/phpdotenv: ^4.1
This package is auto-updated.
Last update: 2025-04-09 04:27:34 UTC
README
Enterprise Directory Services (EDS)
EDS is a DSML (Directory Service Markup Language) api.
This is a simple class with some tests. The objective is to pull data from the api and convert it into an usable array for either filling out a form or inserting into a database.
This will not work unless you have been provided credentials and access.
Install
In your application:
composer require greenbicycle/enterprise-directory-service
Usage
# You might need an alias
use EnterpriseDirectoryService\User as EdsUser;
# This also works with emplid
$results = EdsUser::retrieveById('netid');
Testing
composer install
/vendor/bin/phpunit