PHPackages                             informunity/rest-auth-service-php-lib - 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. informunity/rest-auth-service-php-lib

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

informunity/rest-auth-service-php-lib
=====================================

1.0.1(3y ago)0203PHPPHP &gt;=7.1

Since Aug 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/informunity/rest-auth-service-php-lib)[ Packagist](https://packagist.org/packages/informunity/rest-auth-service-php-lib)[ RSS](/packages/informunity-rest-auth-service-php-lib/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Либа по работе с микросервисом rest авторизации
===============================================

[](#либа-по-работе-с-микросервисом-rest-авторизации)

### Установка

[](#установка)

```
composer require informunity/rest-auth-service-php-lib
```

### Использование

[](#использование)

инстанцировать клиент, токен и урл берем в keyrights

```
$restAuthClient = new \InformUnity\RestAuth\Client([
  "token" => "lQ461D4FXn2WxiuWECIzzCjaedKBz3sH2S22GgKk",
  "baseUrl" => "https://7f63f29a1b5063.lhrtunnel.link/api/",
]);
```

сохранить авторизационные rest данные

```
$restAuthClient->saveTokens([
  "appCode" => "informunity.my_great_app",
  "memberId" => "1d3629bea8b123we2ss365ae1e16e6e1",
  "accessToken" => "123123123123123123123123123123",
  "refreshToken" => "23452345345345345345345345345",
]);  // true
```

получить access\_token

```
$restAuthClient->getAccessToken([
  "appCode" => "informunity.my_great_app",
  "memberId" => "1d3629bea8b123we2ss365ae1e16e6e1",
]);  // "123123123123123123123123123123"
```

#### Прочее

[](#прочее)

- настроен repository mirroring в корпоративный github

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

1377d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ef57524f0ac0a792e955fe9b63a13ddd09050545a3da2ecd386ba3998dd7f53b?d=identicon)[Informunity\_corp](/maintainers/Informunity_corp)

### Embed Badge

![Health badge](/badges/informunity-rest-auth-service-php-lib/health.svg)

```
[![Health](https://phpackages.com/badges/informunity-rest-auth-service-php-lib/health.svg)](https://phpackages.com/packages/informunity-rest-auth-service-php-lib)
```

###  Alternatives

[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)[kinde-oss/kinde-auth-php

Kinde PHP SDK for authentication

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

Descope SDK for PHP

3814.0k](/packages/descope-descope-php)[njoguamos/laravel-turnstile

A laravel wrapper for https://developers.cloudflare.com/turnstile/

2315.9k2](/packages/njoguamos-laravel-turnstile)

PHPackages © 2026

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