PHPackages                             websk/php-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. websk/php-auth

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

websk/php-auth
==============

Authorization and user management

2.4.8(5mo ago)1192[3 PRs](https://github.com/websk/php-auth/pulls)2PHPPHP ^8.3

Since Feb 19Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/websk/php-auth)[ Packagist](https://packagist.org/packages/websk/php-auth)[ RSS](/packages/websk-php-auth/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (13)Versions (47)Used By (2)

WebSK php-auth
==============

[](#websk-php-auth)

Install
-------

[](#install)

install dependency using Composer

```
composer require websk/php-auth
```

Config
------

[](#config)

- php-auth no special configs

Demo
----

[](#demo)

- Установить mkcert,
- Выполнить:

    ```
    mkcert --install
    ```
- Сделать самоподписанный сертификат для `php-auth.devbox`:

    ```
    mkcert php-auth.devbox
    ```
- Скопировать полученные файлы \_wildcard.php-auth.devbox.pem и \_wildcard.php-auth.devbox.pem в `var/docker/nginx/sites`
- Прописать в `/etc/hosts` или аналог в Windows `%WINDIR%\System32\drivers\etc\hosts`

    ```
    127.0.0.1 php-auth.devbox

    ```
- Создаем локальный конфиг, при необходимости вносим изменения:

    ```
    cp config/config.example.php config/config.php
    ```
- Заходим в директорию с docker-compose:

    ```
    cd var/docker
    ```
- Создаем локальный env файл, при необходимости вносим изменения:

    ```
    cp .example.env .env
    ```
- Собираем и запускаем докер-контейнеры:

    ```
    docker compose up -d --build
    ```
- Устанавливаем зависимости для проекта

    ```
    docker compose exec php-fpm composer install
    ```
- Выполняем миграции БД

    ```
    docker compose exec php-fpm php vendor/bin/websk_db_migration.php migrations:migration_auto
    ```

    or run handle process migration:

    ```
    docker compose exec php-fpm php vendor/bin/websk_db_migration.php migrations:migration_handle
    ```
- Создаем пользователя для входа в админку

    ```
    docker compose exec php-fpm php bin/websk_auth_create_user.php auth:create_user
    ```
- open `https://php-auth.devbox`

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance70

Regular maintenance activity

Popularity13

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

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

Recently: every ~55 days

Total

42

Last Release

170d ago

Major Versions

1.1.1 → 2.0.02019-09-17

PHP version history (3 changes)1.1.1PHP ^7.2

2.0.7PHP ^7.4

2.3.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/d0c0c6b71d5bd081fed2e89c933ed52991baabc2f32c559317dbeb5e8aae3cf7?d=identicon)[websk](/maintainers/websk)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/websk-php-auth/health.svg)

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

###  Alternatives

[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[egroupware/openid

EGroupware OpenID Connect / OAuth2 server

1226.8k2](/packages/egroupware-openid)

PHPackages © 2026

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