structuraphp / structura
Architectural testing for PHP
0.0.3
2025-04-16 20:24 UTC
Requires
- php: ^8.2|^8.3|^8.4
- nikic/php-parser: ^5.4
- symfony/console: ^7.2
- symfony/filesystem: ^7.2
- symfony/finder: ^7.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.69
- phpstan/phpstan: ^2.1
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/phpunit: ^12.0
- rector/rector: ^2.0
- shipmonk/composer-dependency-analyser: ^1.8
This package is not auto-updated.
Last update: 2025-04-16 20:25:59 UTC
README
Requirements
PHP version
Version PHP | Structura 0.x |
---|---|
<= 8.1 | ✗ Unsupported |
8.2 / 8.3 / 8.4 | ✓ Supported |
Installation
Using Composer
composer required --dev structuraphp/structura
Usage
First run
Créer le fichier de configuration nécessaire à l'exécution des tests
php structura init
Configuration
Pour lancer les tests d'architectures exécuter la commande suivante :
php bin/structura --config=tests/Architecture/archi.php