sonsofphp/assert

Fund package maintenance!
JoshuaEstes
Tidelift

Installs: 1 111

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

pkg:composer/sonsofphp/assert

v0.3.10 2024-09-10 19:46 UTC

This package is auto-updated.

Last update: 2025-09-22 03:20:02 UTC


README

Installation

composer require sonsofphp/assert

Usage

<?php

use SonsOfPHP\Component\Assert\Assert;

Assert::string('test'); // returns true
Assert::string(false); // throws exception

Assert::disable();
Assert::string(1234); // returns false

Learn More