PHPackages                             iquety/shield - 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. [Framework](/categories/framework)
4. /
5. iquety/shield

ActiveLibrary[Framework](/categories/framework)

iquety/shield
=============

Assertion Toolkit

v3.2.1(2mo ago)0156[1 issues](https://github.com/iquety/shield/issues)1MITPHPPHP ^8.4CI passing

Since Dec 9Pushed 2mo agoCompare

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

READMEChangelog (10)Dependencies (14)Versions (21)Used By (1)

Iquety Shield
=============

[](#iquety-shield)

[![GitHub Release](https://camo.githubusercontent.com/236639a61e99f43d14ed7e6f1b740c86b5ea8cbaaaff093fa89f2a104ad39c29/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6971756574792f736869656c642e737667)](https://github.com/iquety/shield/releases/latest)[![PHP Version](https://camo.githubusercontent.com/504ead6a583c68d8d62d7bfceed24e569ca613d7a36bed380281b3455b5c7b31/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e342d626c7565)](https://camo.githubusercontent.com/504ead6a583c68d8d62d7bfceed24e569ca613d7a36bed380281b3455b5c7b31/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e342d626c7565)[![License](https://camo.githubusercontent.com/b8cadaa967891081f8f165695470689986c028821dd8a040132f6e661795dc0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c7565)](https://camo.githubusercontent.com/b8cadaa967891081f8f165695470689986c028821dd8a040132f6e661795dc0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c7565)[![Codacy Grade](https://camo.githubusercontent.com/bacdb7bcf07da8bf3697270b9beff28e5e3cc05e4a1358e172b23b2da68b5023/68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3530393765383236363266353466353261386165356262336134623534653435)](https://www.codacy.com/gh/iquety/shield/dashboard?utm_source=github.com&utm_medium=referral&utm_content=iquety/shield&utm_campaign=Badge_Grade)[![Codacy Coverage](https://camo.githubusercontent.com/486c4010fb2730bfc97d66afeb12251a6d5c1ec3b34bc9be5d8b9669e1190e23/68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f436f7665726167652f3530393765383236363266353466353261386165356262336134623534653435)](https://www.codacy.com/gh/iquety/shield/dashboard?utm_source=github.com&utm_medium=referral&utm_content=iquety/shield&utm_campaign=Badge_Coverage)

[English](readme.md)[Português](./docs/pt-br/leiame.md)Synopsis
--------

[](#synopsis)

```
composer require iquety/shield
```

This library provides a set of Assertions to verify values ​​and expressions.

In computing, an assertion is a verification with the objective of certifying that a certain condition imposed by the developer is true. If it is true, nothing happens. If it is false, errors should be used to notify the user.

The use of assertions is very useful, especially in the validation of values ​​coming from method arguments or user input in web applications.

For detailed information, see [Documentation Summary](docs/en/index.md).

Characteristics
---------------

[](#characteristics)

- Codified with best practices and maximum quality;
- Well documented and IDE friendly;
- Made with TDD (Test Driven Development);
- Implemented with unit tests using PHPUnit;
- Made with ❤️ &amp; ☕.

Credits
-------

[](#credits)

[Ricardo Pereira Dias](https://www.ricardopedias.com.br)

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance88

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity69

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~43 days

Recently: every ~10 days

Total

20

Last Release

61d ago

Major Versions

v0.1.0 → v1.0.02024-11-04

v1.5.1 → v2.0.02025-03-15

v2.2.2 → v3.0.02026-02-02

PHP version history (2 changes)v0.1.0PHP ^8.3.0

v3.0.0PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/35d81085a41c534f640bed85b37506ebc87ad0653784d93dab4f649ffc30e415?d=identicon)[ricardopedias](/maintainers/ricardopedias)

---

Top Contributors

[![ricardopedias](https://avatars.githubusercontent.com/u/27714431?v=4)](https://github.com/ricardopedias "ricardopedias (141 commits)")

---

Tags

frameworksecurityiquety

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/iquety-shield/health.svg)

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

###  Alternatives

[fastsitephp/fastsitephp

A Modern Open Source Framework for building High Performance Websites and API’s with PHP

1292.7k1](/packages/fastsitephp-fastsitephp)

PHPackages © 2026

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