laravel-point-click-care maintained by blueskyci
PointClickCare wrapper for Laravel
WARNING - WIP [Paginated results not finished]
This composer package makes connecting and working with the PointClickCare API easier and more fluent within laravel.
Installation
composer require blueskyci/laravel-point-click-care
Publish the vendor files so that you can inherit configurations, migrations, and setup views.
php artisan vendor:publish --provider="Blueskyci\PointClickCare\PointClickCareServiceProvider"
Add the secrets to your .env file
POINTCLICKCARE_CLIENT_ID=
POINTCLICKCARE_CLIENT_SECRET=
POINTCLICKCARE_DEFAULT_ORG_UUID=
Usage
// Initiate a connection using client credentials
$pcc = PointClickCare::organization(); // Use the default org from .env
$pcc = PointClickCare::organization($orgUuid); // Override the org UUID
// returns a collection of facilities
$pcc->facilities()->all();
Available Resources
- Facilities
- Find
- List
- Patients
- Find
- List
Testing
composer test