PHPackages                             alex-kalanis/kw\_auth\_groups - 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. alex-kalanis/kw\_auth\_groups

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

alex-kalanis/kw\_auth\_groups
=============================

Groups for determine authentication rights in KWCMS

v4.0.0(2y ago)05BSD-3-ClausePHPPHP &gt;=7.4.0

Since Aug 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/alex-kalanis/kw_auth_groups)[ Packagist](https://packagist.org/packages/alex-kalanis/kw_auth_groups)[ RSS](/packages/alex-kalanis-kw-auth-groups/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (9)Versions (5)Used By (0)

kw\_auth\_groups
================

[](#kw_auth_groups)

[![Build Status](https://github.com/alex-kalanis/kw_auth_groups/actions/workflows/code_checks.yml/badge.svg)](https://github.com/alex-kalanis/kw_auth_groups/actions/workflows/code_checks.yml/badge.svg)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/cd134cb6448f3ae831bc6c08ee89a04c04454681f5093457cadc81e90820c143/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65782d6b616c616e69732f6b775f617574685f67726f7570732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/alex-kalanis/kw_auth_groups/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/d3dd12ae05d5b4b1be8ee703d22057d48a1d048fee30a4356c843c31e8a01bb5/68747470733a2f2f706f7365722e707567782e6f72672f616c65782d6b616c616e69732f6b775f617574685f67726f7570732f762f737461626c652e7376673f763d31)](https://packagist.org/packages/alex-kalanis/kw_auth_groups)[![Minimum PHP Version](https://camo.githubusercontent.com/0e9ac047546796cfdbe1423d1f4d91c8f37d2fbb11614a7900bb7686aaa5401f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e342d3838393242462e737667)](https://php.net/)[![Downloads](https://camo.githubusercontent.com/414eff396477ab545acab291b2cd36d21f98f64ffb7ef78b0872748fc82d95af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c65782d6b616c616e69732f6b775f617574685f67726f7570732e7376673f7631)](https://packagist.org/packages/alex-kalanis/kw_auth_groups)[![License](https://camo.githubusercontent.com/17de9950e5033363f2e3e141c86b010c377b270e8053e0974a4854cd3eb4f5f0/68747470733a2f2f706f7365722e707567782e6f72672f616c65782d6b616c616e69732f6b775f617574685f67726f7570732f6c6963656e73652e7376673f763d31)](https://packagist.org/packages/alex-kalanis/kw_auth_groups)[![Code Coverage](https://camo.githubusercontent.com/ebe308226c5f62574f0fed02afa943366aaa72cfb99d7eef8041f832412d5bb2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65782d6b616c616e69732f6b775f617574685f67726f7570732f6261646765732f636f7665726167652e706e673f623d6d617374657226763d31)](https://scrutinizer-ci.com/g/alex-kalanis/kw_auth_groups/?branch=master)

Groups using kw\_\* authentication sources inside the kw\_\* project.

PHP Installation
----------------

[](#php-installation)

```
composer.phar require alex-kalanis/kw_auth_groups
```

(Refer to [Composer Documentation](https://github.com/composer/composer/blob/master/doc/00-intro.md#introduction) if you are not familiar with composer)

PHP Usage
---------

[](#php-usage)

1.) Use your autoloader (if not already done via Composer autoloader)

2.) Add some external packages with connection to the local or remote services.

3.) Connect the "kalanis\\kw\_auth\_groups\\Access\\Factory" into your app. Extends it for setting your case.

4.) Extend your libraries by interfaces inside the package.

5.) Just call Factory::getSources and then work over CompositeSources.

Basic Rules
-----------

[](#basic-rules)

- Get

    - Group ID equals current one.
    - Group ID is somewhere in the tree of children.
- Add

    - Fails when the currently added group already exists.
    - Fails when the currently added group is already defined within parents of this group.
- Update

    - Fails when the currently updated group is already defined within parents of this group.
- Delete

    - Can delete only when there is no group with processed one as parent.

The group ID is usually string, although it can be integer converted to string before method call.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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 ~76 days

Total

4

Last Release

818d ago

Major Versions

v1.0.0 → v2.0.02023-08-24

v2.0.0 → v3.0.02024-01-30

v3.0.0 → v4.0.02024-04-07

PHP version history (2 changes)v1.0.0PHP &gt;=7.2.0

v4.0.0PHP &gt;=7.4.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/59184183?v=4)[Petr Plsek](/maintainers/alex-kalanis)[@alex-kalanis](https://github.com/alex-kalanis)

---

Top Contributors

[![alex-kalanis](https://avatars.githubusercontent.com/u/59184183?v=4)](https://github.com/alex-kalanis "alex-kalanis (8 commits)")

---

Tags

authgroupsgroup

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/alex-kalanis-kw-auth-groups/health.svg)

```
[![Health](https://phpackages.com/badges/alex-kalanis-kw-auth-groups/health.svg)](https://phpackages.com/packages/alex-kalanis-kw-auth-groups)
```

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.7k51.8M372](/packages/tymon-jwt-auth)[league/oauth2-server

A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.

6.7k147.0M289](/packages/league-oauth2-server)[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k18.6M64](/packages/lab404-laravel-impersonate)[auth0/auth0-php

PHP SDK for Auth0 Authentication and Management APIs.

41021.9M91](/packages/auth0-auth0-php)[kreait/firebase-tokens

A library to work with Firebase tokens

23945.4M18](/packages/kreait-firebase-tokens)

PHPackages © 2026

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