PHPackages                             structuraphp/structura-phpunit - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. structuraphp/structura-phpunit

ActiveLibrary[Testing &amp; Quality](/categories/testing)

structuraphp/structura-phpunit
==============================

Architectural testing for PHP with phpunit

0.0.1(3mo ago)12MITPHPPHP ^8.2|^8.3|^8.4|^8.5CI passing

Since Mar 28Pushed 3mo agoCompare

[ Source](https://github.com/structuraphp/structura-phpunit)[ Packagist](https://packagist.org/packages/structuraphp/structura-phpunit)[ RSS](/packages/structuraphp-structura-phpunit/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

Structura PHPUnit
=================

[](#structura-phpunit)

[![License](https://camo.githubusercontent.com/5f104892f0554aff4a94477407989574673ecc750cdb0327a687ddfa82b60657/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7374727563747572617068702f7374727563747572612d706870756e69742e737667)](https://github.com/structuraphp/structura-phpunit/blob/main/LICENSE "LICENSE")[![PHP from Packagist](https://camo.githubusercontent.com/f6d2f3b191622abb50590fd4767df3d6913a91564d5e33dba3e53f9e1745993b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253345253344382e322d253233383839326266)](/README.md#php-version "PHP version 8.2 minimum")

[PHPUnit](https://phpunit.de/index.html) extension for [Structura](https://github.com/structuraphp/structura).

Full documentation is available at **[structuraphp.github.io/structura](https://structuraphp.github.io/structura)**.

Requirements
------------

[](#requirements)

### PHP version

[](#php-version)

PHPUnit VersionPHP VersionStructura ^0.7&lt;= 10.x&lt;= 8.1✗ Unsupported11.x / 12.x / 13.x8.2 / 8.3 / 8.4 / 8.5✓ SupportedInstallation
------------

[](#installation)

### Using Composer

[](#using-composer)

```
composer required --dev structuraphp/structura-phpunit
```

Usage
-----

[](#usage)

Here's an example of an architecture test for Laravel's HTTP scope:

```
