PHPackages                             bitrix-expert/niceaccess - 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. bitrix-expert/niceaccess

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

bitrix-expert/niceaccess
========================

Tools for nice work with access rights

0.1.0(9y ago)69.5k3MITPHPPHP &gt;=5.4

Since Nov 24Pushed 9y ago3 watchersCompare

[ Source](https://github.com/bitrix-expert/niceaccess)[ Packagist](https://packagist.org/packages/bitrix-expert/niceaccess)[ RSS](/packages/bitrix-expert-niceaccess/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

Niceaccess
==========

[](#niceaccess)

[![Build Status](https://camo.githubusercontent.com/529b22ce5311160c71492767b678fe7412610b8de1c2183e343f096a73b4695e/68747470733a2f2f7472617669732d63692e6f72672f6269747269782d6578706572742f6e6963656163636573732e737667)](https://travis-ci.org/bitrix-expert/niceaccess)[![Latest Stable Version](https://camo.githubusercontent.com/63d30799879aa27fa865313ab78c5d7784a1949b86b5f283c60f9954c4bb4de4/68747470733a2f2f706f7365722e707567782e6f72672f6269747269782d6578706572742f6e6963656163636573732f762f737461626c65)](https://packagist.org/packages/bitrix-expert/niceaccess)[![Total Downloads](https://camo.githubusercontent.com/962a27c9ae25123fac1f18efc41c22c5cf6f78367040ba41063d52b559b12c59/68747470733a2f2f706f7365722e707567782e6f72672f6269747269782d6578706572742f6e6963656163636573732f646f776e6c6f616473)](https://packagist.org/packages/bitrix-expert/niceaccess)[![License](https://camo.githubusercontent.com/f7c3066b69e2003cb101f965a5c758a718e051662c8f83ff3ec01003bae948b5/68747470733a2f2f706f7365722e707567782e6f72672f6269747269782d6578706572742f6e6963656163636573732f6c6963656e7365)](https://packagist.org/packages/bitrix-expert/niceaccess)

`.access.php`
-------------

[](#accessphp)

Bitrix writes `.access.php` (files of access) the numerical group IDs of users, which prevents its migration from site to site where different databases (dev zone, test, production, etc.).

Niceaccess solves this problem by substitution of IDs to character codes user groups. The character code is recorded in the form of an API call Bex\\Tools: `\Bex\Tools\GroupTools::find('code')->id()`. Because of this, your files `.access.php` will be relevant to with any database.

Example file `.access.php`:

```

```

Tools for nice work with access rights
--------------------------------------

[](#tools-for-nice-work-with-access-rights)

Class `\Bex\Niceaccess\AccessManager` implements API of checking access of current user.

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

[](#installation)

```
composer require bitrix-expert/niceaccess

```

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

[](#requirements)

- PHP &gt;= 5.4
- Bitrix CMS &gt;= 15.0.2

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~45 days

Recently: every ~67 days

Total

7

Last Release

3554d ago

PHP version history (2 changes)0.0.1PHP &gt;=5.3

0.0.3PHP &gt;=5.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/f4ee0f9569dfa9de7a91997c66a30781937442876adceff9dd1ec0065262de8c?d=identicon)[Nik Samokhvalov](/maintainers/Nik%20Samokhvalov)

---

Top Contributors

[![niksamokhvalov](https://avatars.githubusercontent.com/u/8028275?v=4)](https://github.com/niksamokhvalov "niksamokhvalov (16 commits)")[![nixmen](https://avatars.githubusercontent.com/u/7568437?v=4)](https://github.com/nixmen "nixmen (4 commits)")

---

Tags

bitrixaccess

### Embed Badge

![Health badge](/badges/bitrix-expert-niceaccess/health.svg)

```
[![Health](https://phpackages.com/badges/bitrix-expert-niceaccess/health.svg)](https://phpackages.com/packages/bitrix-expert-niceaccess)
```

###  Alternatives

[2amigos/yii2-usuario

Highly customizable and extensible user management, authentication, and authorization Yii2 extension

298275.5k14](/packages/2amigos-yii2-usuario)[spekkionu/laravel-zend-acl

Adds ACL to Laravel via Laminas\\Permissions\\Acl component.

4281.9k](/packages/spekkionu-laravel-zend-acl)[gburtini/acl

Dependency free, simple access control lists for PHP.

3710.4k](/packages/gburtini-acl)

PHPackages © 2026

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