PHP Package: zenstruck/assert

Zenstruck Assert is a PHP library for assertion logic with advanced features, ideal for test-driven development and error handling.

Current Version: 1.5.1
Last Updated: 2024-10-28
PHP Requirement: >=8.0
Dependencies: None

Package Description

Zenstruck Assert is a powerful PHP library designed for developers to streamline assertion logic, providing an extensive toolkit for test automation, error detection, and debugging. With a comprehensive suite of features, it ensures robust testing practices and enhances software quality.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.5.1

Download Download v1.5.1

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com

require_once 'libs/zenstruck/assert/1.5.1/loader.php';
use Zenstruck\Assert\TestClass1;
use Zenstruck\Assert\TestClass2;

$obj = new TestClass1();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.