PHPackages                             laborci/mik-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. laborci/mik-auth

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

laborci/mik-auth
================

010PHP

Since Nov 16Pushed 7y ago1 watchersCompare

[ Source](https://github.com/pte-mik/mik-auth)[ Packagist](https://packagist.org/packages/laborci/mik-auth)[ RSS](/packages/laborci-mik-auth/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

### Phlex module for handling MIK-AUTH

[](#phlex-module-for-handling-mik-auth)

copy the config file into your configs, fill it, and add a reference to index.php

```
putenv('PXCONFIG=config.php,config.auth.php');

```

do not forget to add MikAuth to the service manager

```
ServiceManager::bind('AuthRedirectClass')->value(\MikAuth\Action\AuthRedirect::class);
ServiceManager::bind(MikAuthServiceInterface::class)->sharedService(MikAuthService::class);
ServiceManager::bind(MikUserApiServiceInterface::class)->sharedService(MikUserApiService::class);
ServiceManager::bind(MikUserContainerInterface::class)->sharedService(MikUserContainer::class);

```

finally add auth to your router

```
$router->get('/auth/login', AuthRedirect::class, ['method' => 'login']);
$router->get('/auth/success/{token}', AuthRedirect::class, ['method' => 'success']);
$router->addMiddleware(AuthCheck::class);
$router->get('/auth/logout', AuthRedirect::class, ['method' => 'logout']);
$router->get('/', Page\Index::class);

```

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/66d6c319c7aaec0983a01e417b163694e8dca501b6a8ec82e1f5e2a03c88b2d6?d=identicon)[elvis](/maintainers/elvis)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/laborci-mik-auth/health.svg)

```
[![Health](https://phpackages.com/badges/laborci-mik-auth/health.svg)](https://phpackages.com/packages/laborci-mik-auth)
```

###  Alternatives

[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)[denniseilander/laravel-passport-scopes-restriction

Restrict scopes for different Laravel Passport clients.

1636.3k](/packages/denniseilander-laravel-passport-scopes-restriction)

PHPackages © 2026

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