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

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

lightsource/data-types
======================

Class for complex data cleaning depending on a type

4.0.6(1y ago)25961GPL-2.0-onlyPHP ^8.0

Since Feb 29Compare

[ Source](https://gitlab.com/lightsource/data-types)[ Packagist](https://packagist.org/packages/lightsource/data-types)[ RSS](/packages/lightsource-data-types/feed)WikiDiscussions Synced 3w ago

READMEChangelogDependencies (4)Versions (18)Used By (1)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://gitlab.com/lightsource/data-types).

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity70

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

Recently: every ~147 days

Total

15

Last Release

617d ago

Major Versions

1.0.3 → 2.0.02020-07-15

2.0.1 → 3.0.02021-10-01

3.0.1 → 4.0.02023-03-17

PHP version history (3 changes)3.0.0PHP ^7.4

4.0.0PHP ^7.4|^8.0

4.0.6PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4fd46b0d58d6b5b1d5633f1343c3f2501d504937ea470443b6ae212e22c7dd34?d=identicon)[lightsource](/maintainers/lightsource)

###  Code Quality

TestsCodeception

### Embed Badge

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

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

###  Alternatives

[propaganistas/laravel-phone

Adds phone number functionality to Laravel based on Google's libphonenumber API.

3.0k39.7M146](/packages/propaganistas-laravel-phone)[spatie/laravel-honeypot

Preventing spam submitted through forms

1.6k6.8M75](/packages/spatie-laravel-honeypot)[intervention/validation

Additional validation rules for the Laravel framework

6827.2M20](/packages/intervention-validation)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)[axlon/laravel-postal-code-validation

Worldwide postal code validation for Laravel

3893.6M1](/packages/axlon-laravel-postal-code-validation)[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.4M50](/packages/proengsoft-laravel-jsvalidation)

PHPackages © 2026

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