Registry / utility / php-extended-php-ensure

php-extended-php-ensure

JSON →
library5.0.1phppackagistunverified

A library to safely convert pointers to the right data type.

composer require php-extended/php-ensure
INSTALL
IMPORT
SIG · PHP-EXTENDED-PHP-E
P
php-extended-php-ensure
utilityphpv5.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Ensure
use PhpExtended\Ensure\Ensure;

Ensure a variable is a string, throwing an exception if not.

use PhpExtended\Ensure\Ensure; $value = Ensure::string($input);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.0.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
php-extended-php-ensure — pip install php-extended-php-ensure · libregistry