slothws / syrve-api
This project is a library for convenient usage of the Syrve API.
v0.2.33
2025-08-06 14:13 UTC
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