PHPackages                             otis22/vetmanager-token - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. otis22/vetmanager-token

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

otis22/vetmanager-token
=======================

Project for using token auth for Vetmanager Rest API

0.2.2(5y ago)01.3k1MITPHP

Since Dec 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/otis22/vetmanager-token)[ Packagist](https://packagist.org/packages/otis22/vetmanager-token)[ RSS](/packages/otis22-vetmanager-token/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (12)Versions (5)Used By (1)

[![GitHub CI](https://github.com/otis22/vetmanager-token/workflows/CI/badge.svg)](https://github.com/otis22/vetmanager-token/workflows/CI/badge.svg)[![Coverage Status](https://camo.githubusercontent.com/70d346f69a500b53b1b0cf239ff3ab4185afbdae64ee0d8908eb86073c749c47/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6f74697332322f7665746d616e616765722d746f6b656e2f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/github/otis22/vetmanager-token?branch=main)

vetmanager-token
================

[](#vetmanager-token)

Vetmanager - CRM for veterinary with REST API. vetmanager-token is library for work with token auth in Vetmanager API.

[Vetmanager REST API Docs](https://vetmanager.ru/knowledgebase/rest-api-osnovnaya-informatsia)

[Vetmanager REST API in Postman](https://god.postman.co/run-collection/64d692ca1ea129218ccb)

How to use
----------

[](#how-to-use)

```
use function Otis22\VetmanagerToken\credentials;
use function Otis22\VetmanagerToken\token;

$credentials = credentials('login', 'password', 'app_name');
$domainName = 'myclinic'; // first part from programm url address
echo token($credentials, $domainName)->asString();
```

Contributing
------------

[](#contributing)

For run all tests

```
make all
```

or connect to terminal

```
make exec
```

*Dafault php version is 8.0*. Use PHP\_VERSION= for using custom version. Project works only with 8.0 and 8.1 version.

```
make all PHP_VERSION=8.1
# run both
make all PHP_VERSION=8.1 && make all
```

*For integration tests copy .env.example to .env and fill with yours values*

all commands

```
# security check
make security
# composer install
make install
# composer install with --no-dev
make install-no-dev
# check code style
make style
# run static analyze tools
make static-analyze
# run unit tests
make unit
#  check coverage
make coverage
# check integration, .env required
make integration
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~27 days

Total

4

Last Release

1901d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/61097a8108512dbb04c61cea2c5e2291b31dacc2404e882b2aa12688e587b088?d=identicon)[vromanichev](/maintainers/vromanichev)

---

Top Contributors

[![otis22](https://avatars.githubusercontent.com/u/378373?v=4)](https://github.com/otis22 "otis22 (18 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/otis22-vetmanager-token/health.svg)

```
[![Health](https://phpackages.com/badges/otis22-vetmanager-token/health.svg)](https://phpackages.com/packages/otis22-vetmanager-token)
```

###  Alternatives

[overtrue/socialite

A collection of OAuth 2 packages.

1.4k5.5M86](/packages/overtrue-socialite)[josiasmontag/laravel-recaptchav3

Recaptcha V3 for Laravel package

2641.6M2](/packages/josiasmontag-laravel-recaptchav3)[rahul900day/laravel-captcha

Different types of Captcha implementation for Laravel Application.

10715.9k](/packages/rahul900day-laravel-captcha)[simplesamlphp/simplesamlphp-module-oidc

A SimpleSAMLphp module adding support for the OpenID Connect protocol

5016.9k1](/packages/simplesamlphp-simplesamlphp-module-oidc)[clerkinc/backend-php

2755.0k](/packages/clerkinc-backend-php)[kinde-oss/kinde-auth-php

Kinde PHP SDK for authentication

2369.5k3](/packages/kinde-oss-kinde-auth-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
