anirvan / ezyvet-api-sdk
A simple yet elegant tool to easily use ezyVet's API.
Requires
- php: >=7.0.0
Requires (Dev)
- mockery/mockery: ^1.0@dev
- phpunit/phpunit: ^7.5@dev
This package is not auto-updated.
Last update: 2024-09-29 21:03:38 UTC
README
A simple yet elegant library that allows one to easily invoke ezyVet's API via the use of query builders.
Built using PHP7
.
Getting Started
Have a read through
ezyVet's API documentation
for a quick refresher on its data structure.
Prerequisites
You will need PHP7
installed along with composer
.
Installing
Using composer, you can require the package anirvan/ezyvet-api-sdk
.
composer require anirvan/ezyvet-api-sdk
You can then use an Entity
object to generate a query to get data from ezyVet's API.
<?php require_once "vendor/autoload.php"; // The number passed to the constructor is the ID of the entity. // No ID or 0 means the query will not be filtered by ID. $appointment = new \Modules\Appointment\Entity\AppointmentEntity(2);
More to come as more is developed...
Coding Style
This project uses psr-2
styling.
Deployment
When deploying your project, ensure to have this package in your autoload
and require
sections of your
composer.json
file.
Built With
Versions
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Anirvan Bhaduri - Initial work - anirvanBhaduri
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License. See LICENSE
for more details.
Acknowledgements
- To ezyVet for creating a fantastic API.