PHPackages                             securetrading/data - 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. securetrading/data

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

securetrading/data
==================

Secure Trading's Data package. Contains getters/setters/deleters for a data object and allows extending classes to define validation methods for specific data keys.

3.0.2(3mo ago)0520.6k↓12.2%11MITPHPPHP ^8.2.0CI passing

Since Nov 16Pushed 3mo ago4 watchersCompare

[ Source](https://github.com/Secure-Trading/PHP-Data)[ Packagist](https://packagist.org/packages/securetrading/data)[ RSS](/packages/securetrading-data/feed)WikiDiscussions master Synced 1mo ago

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

PHP-Data
========

[](#php-data)

A helper package used by other Secure Trading packages.

Release History
---------------

[](#release-history)

VersionChanges3.0.2PHP 8.2+ compat. + phpunit update3.0.1PHP 8.2+ compat.3.0.0PHP 8.1+ compat.2.0.0PHP 7.3+ compat.1.0.0Initial ReleasePHP Version Compatibility
-------------------------

[](#php-version-compatibility)

VersionChanges3.0.2PHP 8.2+ compat.3.0.1PHP 8.2+ compat.3.0.0PHP 8.1+2.0.0PHP 7.3 - PHP 7.41.0.0PHP 5.3 - PHP 7.2

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance82

Actively maintained with recent releases

Popularity36

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

5

Last Release

95d ago

Major Versions

1.0.0 → 2.0.02020-06-29

2.0.0 → 3.0.02022-05-31

PHP version history (5 changes)1.0.0PHP &gt;=5.3.0

2.0.0PHP &gt;=7.3.0

3.0.0PHP &gt;=8.1.0

3.0.1PHP ^8.1.0

3.0.2PHP ^8.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/af146d416e32f8fc2fe031d981161aeabed078bcc265a89a7a40bc42c7a03194?d=identicon)[Secure-Trading](/maintainers/Secure-Trading)

---

Top Contributors

[![Secure-Trading](https://avatars.githubusercontent.com/u/18596549?v=4)](https://github.com/Secure-Trading "Secure-Trading (4 commits)")[![peter-barrow-ST](https://avatars.githubusercontent.com/u/2707530?v=4)](https://github.com/peter-barrow-ST "peter-barrow-ST (3 commits)")[![anthony-norman-tp](https://avatars.githubusercontent.com/u/107112886?v=4)](https://github.com/anthony-norman-tp "anthony-norman-tp (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/securetrading-data/health.svg)

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

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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