slothws / syrve-api
This project is a library for convenient usage of the Syrve API.
Installs: 114
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/slothws/syrve-api
Requires
- php: ^7.3|^8.0
- guzzlehttp/guzzle: ^7.0
README
PHP library for convenient interaction with Syrve API.
Requirements
PHP 7.3.0 and later.
Installation
Via Composer
composer require slothws/syrve-api
Basic Example
Initialization
require __DIR__ . '/vendor/autoload.php'; use Sloth\SyrveApi\Syrve; $syrve = new Syrve([ 'uri' => 'https://test.com/resto/api/', 'login' => 'test', 'password' => 'test' ]);
Get a list of employees.
$response = $syrve->employees->list();
Documentation
Read Documentation