PHPackages                             texdc/veritas - 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. texdc/veritas

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

texdc/veritas
=============

Identity and Access Control - Simplified, but not anemic

35[1 issues](https://github.com/texdc/Veritas/issues)PHP

Since Jun 15Pushed 8y ago1 watchersCompare

[ Source](https://github.com/texdc/Veritas)[ Packagist](https://packagist.org/packages/texdc/veritas)[ RSS](/packages/texdc-veritas/feed)WikiDiscussions develop Synced 2d ago

READMEChangelogDependenciesVersions (4)Used By (0)

Veritas
=======

[](#veritas)

Identity and Access Control - simplified, but not anemic.

#### WIP: currently experimental only

[](#wip-currently-experimental-only)

[![Build Status](https://camo.githubusercontent.com/a263b1969da8036f7804c16d4e819aa6c093663677a8e4830bc151eaedabf4c2/68747470733a2f2f7472617669732d63692e6f72672f74657864632f566572697461732e706e673f6272616e63683d646576656c6f70)](https://travis-ci.org/texdc/Veritas)[![Coverage Status](https://camo.githubusercontent.com/8f03cc4c8753fa72e44bb6d247154393e83e64ad373e00b32a7fb17dadf0ccaa/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f74657864632f566572697461732f62616467652e706e673f6272616e63683d646576656c6f70)](https://coveralls.io/r/texdc/Veritas?branch=develop)

Passwords and Validation
------------------------

[](#passwords-and-validation)

```
use texdc\veritas\identity\CryptoServiceInterface;
use texdc\veritas\identity\Password;

class User
{
    /**
     * @var Password
     */
    private $password;

    // ...

    public function changePassword(string $aPassword, CryptoServiceInterface $aCryptoService)
    {
        $this->setPassword(new Password($aCryptoService->encrypt($aPassword)));
        $this->eventService->publish(new PasswordChangedEvent($this->userId));
    }

    protected function setPassword(Password $aPassword)
    {
        if ($this->password == $aPassword) {
            throw new IdenticalPasswordException;
        }
        $this->password = $aPassword;
    }

    // ...
}
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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/b00c18dc19530c6fa5cc0cafc053dd9377dace10c90d73182b79f8499d2c26d1?d=identicon)[texdc](/maintainers/texdc)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/texdc-veritas/health.svg)

```
[![Health](https://phpackages.com/badges/texdc-veritas/health.svg)](https://phpackages.com/packages/texdc-veritas)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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