PHP Package: symplify/rule-doc-generator-contracts
Symplify's PHP library for rule documentation generation contracts provides essential interfaces and features for efficient rule document creation.
Package Description
Rule-doc-generator-contracts is a valuable PHP library by Symplify designed to streamline the process of generating documentation for rules. It offers a comprehensive set of interfaces and functionalities that enable developers to create well-structured and informative rule documentation easily. With Rule-doc-generator-contracts, you can enhance the quality of your codebase and ensure better readability and maintainability of your rules.
Download Latest Version: 9.4.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/symplify/rule-doc-generator-contracts/9.4.1/loader.php';
require_once 'libs/symplify/package-builder/{lib_version}/loader.php';
require_once 'libs/phpstan/phpstan/2.1.30/loader.php';
use Symplify\RuleDocGeneratorContracts\Contract\DocumentedRuleInterface;
use Symplify\RuleDocGeneratorContracts\ValueObject\RuleClassDefinition;
$obj = new DocumentedRuleInterface();
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.