PHPackages                             reducktion/socrates - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. reducktion/socrates

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

reducktion/socrates
===================

A package to validate, and extract citizen information from, national identification numbers.

v2.0.0(3y ago)488.5k↓33.3%[3 PRs](https://github.com/reducktion/socrates/pulls)MITPHP ^8.1

Since Jun 2Compare

[ Source](https://github.com/reducktion/socrates)[ Packagist](https://packagist.org/packages/reducktion/socrates)[ RSS](/packages/reducktion-socrates/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (2)Versions (9)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/reducktion/socrates).

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity69

Established project with proven stability

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

Recently: every ~223 days

Total

6

Last Release

1271d ago

Major Versions

v1.3.0 → v2.0.02022-11-21

PHP version history (3 changes)v1.0.0PHP ^7.2

v1.3.0PHP ^7.2|^8.0

v2.0.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6274076?v=4)[Alexandre Almeida Olival](/maintainers/AlexOlival)[@AlexOlival](https://github.com/AlexOlival)

![](https://avatars.githubusercontent.com/u/26048679?v=4)[João Cruz](/maintainers/JoaoFSCruz)[@JoaoFSCruz](https://github.com/JoaoFSCruz)

---

Tags

phplaravelvalidationpassportidentificationcitizenshipcitizennationality

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/reducktion-socrates/health.svg)

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

###  Alternatives

[yorcreative/laravel-argonaut-dto

Argonaut is a lightweight Data Transfer Object (DTO) package for Laravel that supports nested casting, recursive serialization, and validation out of the box. Ideal for service layers, APIs, and clean architecture workflows.

1062.8k1](/packages/yorcreative-laravel-argonaut-dto)

PHPackages © 2026

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