structuraphp/structura
Composer 安装命令:
composer require structuraphp/structura
包简介
Architectural testing for PHP
README 文档
README
Structura
Maintain a clean and consistent code structure with expressive architecture rules.
About
Structura is an architectural testing tool for PHP, designed to help developers maintain a clean and consistent code structure.
📖 Documentation
Full documentation is available at structuraphp.github.io/structura.
Quick Start
Installation
composer require --dev structuraphp/structura
Configuration
php vendor/bin/structura init
Run
php vendor/bin/structura analyze
Requirements
| PHP Version | Structura 0.x |
|---|---|
| <= 8.1 | ✗ Unsupported |
| 8.2 / 8.3 / 8.4 / 8.5 | ✓ Supported |
With PHPUnit
Structura can integrate architecture testing with PHPUnit:
https://github.com/structuraphp/structura-phpunit
Inspiration
StructuraPHP is the result of current tools failing to meet, or only partially meeting, our needs as an architecture testing tool.
Our design and features are heavily inspired by the following tools:
统计信息
- 总下载量: 1.49k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 14
- 点击次数: 0
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-08
