PHPackages                             ganbarodigital/php-defensive - 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. ganbarodigital/php-defensive

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

ganbarodigital/php-defensive
============================

1.0.1(10y ago)0115.4k↓50%12BSD-3-ClausePHP &gt;= 5.5

Since Jul 22Compare

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

READMEChangelogDependencies (3)Versions (4)Used By (12)

### README not available

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

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

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

Total

2

Last Release

3953d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2dc3934d5c3ce55e18dca95d52b564fb2a34986770af3c532dba6c248ef58f3a?d=identicon)[stuartherbert](/maintainers/stuartherbert)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ganbarodigital-php-defensive/health.svg)

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

###  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)
