PHPackages                             visto9259/lmcuser-api-tools-auth - 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. visto9259/lmcuser-api-tools-auth

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

visto9259/lmcuser-api-tools-auth
================================

LmcUser Authentication for Laminas Api Tools

v1.0.0(5y ago)09MITPHP

Since Feb 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/visto9259/lmcuser-api-tools-auth)[ Packagist](https://packagist.org/packages/visto9259/lmcuser-api-tools-auth)[ RSS](/packages/visto9259-lmcuser-api-tools-auth/feed)WikiDiscussions master Synced 6d ago

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

LmcUser Authentication for Laminas Api Tools
--------------------------------------------

[](#lmcuser-authentication-for-laminas-api-tools)

This is a Laminas Api Tools authentication adapter that uses the LmcUser authentication service. This adapter is used with the [api-tools-mvc-auth](https://api-tools.getlaminas.org/documentation/modules/api-tools-mvc-auth) module. It allows to use the LmcUser authentication service for an API service. This is useful when adding a Laminas API Tools service to an application that uses LmcUser for user authentication.

A use case would be when an application's front-end code uses API calls to the same domain address without needing to supply user credentials with the API request. If the user is authenticated to the website, the adapter will return a `AuthenticatedIdentity` with the User Entity provided by the LmcUser Authentication Service, otherwise a `GuestIdentity` is returned.

Requirements
------------

[](#requirements)

See the content of `composer.json` for dependencies.

Installation
------------

[](#installation)

Using Composer

```
$ composer require visto9259/lmcuser-api-tools-auth
```

Configuration
-------------

[](#configuration)

Please refer to the [Api Tools Laminas MVC Auth](https://api-tools.getlaminas.org/documentation/modules/api-tools-mvc-auth) module reference for details on how to add a custom adapter since the Api Tools Admin user interface does not support custom adapters.

In your config files, either `local.php`, `global.php` or another autoload config file, add the entry to `api-tools-mvc-auth`:

```
'api-tools-mvc-auth' => [
   'authentication' => [
      'adapters' => [
         'myLmcUserAuth' => [
            'adapter' => '\LmcUserApiToolsAuth\Adapter\AuthAdapter',
            'options' => [
                'authentication_service' => 'lmcuser_auth_service',
            ],
        ],
      ],
   ],
]
```

Once the authentication adapter is added to the config file, you can use it to define the authentication type to use in the your service via the Api Tools Admin user interface. It will appear as (using the above example) `myLmcUserAuth (oauth2)`.

You can also configure it manually in the `api-tools-mvc-auth` config key:

```
'api-tools-mvc-auth' => [
   'authentication' => [
      'map' => [
        'MyApiService' => 'myLmcUserAuth',
      ],
   ],
]
```

Issues
------

[](#issues)

Please submit questions and issues [here](https://github.com/visto9259/lmcuser-api-tools-auth/issues).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

1916d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/39ff13f678d45f5296af1e1a2a5807db794bfd9835b64302c9bcc43156854a03?d=identicon)[visto9259](/maintainers/visto9259)

---

Top Contributors

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

---

Tags

api-tools-mvc-authauthenticationlaminas-api-toolslmc-user

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/visto9259-lmcuser-api-tools-auth/health.svg)

```
[![Health](https://phpackages.com/badges/visto9259-lmcuser-api-tools-auth/health.svg)](https://phpackages.com/packages/visto9259-lmcuser-api-tools-auth)
```

###  Alternatives

[magento/community-edition

Magento 2 (Open Source)

12.1k52.1k10](/packages/magento-community-edition)[kokspflanze/bjy-authorize

Laminas\\Acl based firewall system for Laminas dispatch protection

20178.2k4](/packages/kokspflanze-bjy-authorize)[lm-commons/lmc-rbac-mvc

Laminas Framework MVC Module that provides a layer of features of Laminas\\Permissions\\Rbac

12401.0k7](/packages/lm-commons-lmc-rbac-mvc)[saeven/zf3-circlical-user

Complete user entity, rights, and access module for Laminas

3718.7k](/packages/saeven-zf3-circlical-user)[saeven/zf3-circlical-autowire

Annotation based routing, and magic Controller creation for Laminas and ZF3.

1430.0k](/packages/saeven-zf3-circlical-autowire)

PHPackages © 2026

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