PHPackages                             anzusystems/contracts - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. anzusystems/contracts

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

anzusystems/contracts
=====================

Interfaces, traits and abstract classes used in AnzuSystems ecosystem.

4.5.0(2mo ago)126.3k↓54.4%2Apache-2.0PHPPHP &gt;=8.1

Since Nov 24Pushed 2mo ago6 watchersCompare

[ Source](https://github.com/anzusystems/contracts)[ Packagist](https://packagist.org/packages/anzusystems/contracts)[ RSS](/packages/anzusystems-contracts/feed)WikiDiscussions main Synced yesterday

READMEChangelog (10)Dependencies (14)Versions (29)Used By (2)

AnzuSystems Contracts by Petit Press a.s. ([www.sme.sk](http://www.sme.sk))
===========================================================================

[](#anzusystems-contracts-by-petit-press-as-wwwsmesk)

---

Provides common interfaces, traits, abstracts, enums and other common functionality used in AnzuSystems' projects.

---

Installation
------------

[](#installation)

```
$ composer require anzusystems/contracts
```

### Common Interfaces and related Traits or Abstract classes.

[](#common-interfaces-and-related-traits-or-abstract-classes)

- [BaseIdentifiableInterface](src/Entity/Interfaces/BaseIdentifiableInterface.php) - [NamedResourceTrait](src/Entity/Traits/NamedResourceTrait.php)
    - [IdentifiableInterface](src/Entity/Interfaces/IdentifiableInterface.php) - [IdentityTrait](src/Entity/Traits/IdentityTrait.php)
    - [UuidIdentifiableInterface](src/Entity/Interfaces/UuidIdentifiableInterface.php)
- [CopyableInterface](src/Entity/Interfaces/CopyableInterface.php)
- [IndexableInterface](src/Entity/Interfaces/IndexableInterface.php)
- [EnableInterface](src/Entity/Interfaces/EnableInterface.php) - [EnableTrait](src/Entity/Traits/EnableTrait.php)
- [OwnersAwareInterface](src/Entity/Interfaces/OwnersAwareInterface.php)
- [TimeTrackingInterface](src/Entity/Interfaces/TimeTrackingInterface.php) - [TimeTrackingTrait](src/Entity/Traits/TimeTrackingTrait.php)
- [UserTrackingInterface](src/Entity/Interfaces/UserTrackingInterface.php)
- [ValueObjectInterface](src/Model/ValueObject/ValueObjectInterface.php) - [AbstractValueObject](src/Model/ValueObject/AbstractValueObject.php)
- [EnumInterface](src/Model/Enum/EnumInterface.php) - [BaseEnumTrait](src/Model/Enum/BaseEnumTrait.php)
- [DocumentInterface](src/Document/Interfaces/DocumentInterface.php) - [DocumentTrait](src/Document/Traits/DocumentTrait.php)
- [CacheSettingsInterface](src/Response/Cache/CacheSettingsInterface.php) - [AbstractCacheSettings](src/Response/Cache/AbstractCacheSettings.php)

---

### Abstracts and common functionality

[](#abstracts-and-common-functionality)

- [AnzuApp](src/AnzuApp.php)
- [AnzuUser](src/Entity/AnzuUser.php)
    - [UserPermissionResolver](src/Security/UserPermissionResolver.php)
- [AnzuPermissionGroup](src/Entity/AnzuPermissionGroup.php)
- [Grant](src/Security/Grant.php)

### Exception

[](#exception)

- [AnzuException](src/Exception/AnzuException.php)
- [AppReadOnlyModeException](src/Exception/AppReadOnlyModeException.php)

### Enums

[](#enums)

- [LogLevel](src/Model/Enum/LogLevel.php)

More details on how to use Enums in AnzuSystems projects can be found [here](src/Resources/doc/enums.md).

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance83

Actively maintained with recent releases

Popularity29

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~47 days

Recently: every ~153 days

Total

27

Last Release

87d ago

Major Versions

1.0.0 → 2.0.02023-01-03

2.6.1 → 3.0.02023-08-10

3.2.1 → 4.0.02024-05-29

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19769026?v=4)[Ronald Márföldi](/maintainers/marforon)[@marforon](https://github.com/marforon)

![](https://avatars.githubusercontent.com/u/18593654?v=4)[Lubomir Stanko](/maintainers/stankolubomir)[@stankolubomir](https://github.com/stankolubomir)

![](https://www.gravatar.com/avatar/6e0eb41fcebd2cea5ea138010e8e7782bb92ad57037aa0652ec18d15661ae3f3?d=identicon)[PetitPress a.s.](/maintainers/PetitPress%20a.s.)

![](https://avatars.githubusercontent.com/u/8159836?v=4)[TomasHermanek](/maintainers/TomasHermanek)[@TomasHermanek](https://github.com/TomasHermanek)

---

Top Contributors

[![sakulb](https://avatars.githubusercontent.com/u/95277083?v=4)](https://github.com/sakulb "sakulb (19 commits)")[![marforon](https://avatars.githubusercontent.com/u/19769026?v=4)](https://github.com/marforon "marforon (9 commits)")[![pulzarraider](https://avatars.githubusercontent.com/u/960844?v=4)](https://github.com/pulzarraider "pulzarraider (5 commits)")[![TomasHermanek](https://avatars.githubusercontent.com/u/8159836?v=4)](https://github.com/TomasHermanek "TomasHermanek (4 commits)")[![stankolubomir](https://avatars.githubusercontent.com/u/18593654?v=4)](https://github.com/stankolubomir "stankolubomir (2 commits)")

---

Tags

anzusystems

### Embed Badge

![Health badge](/badges/anzusystems-contracts/health.svg)

```
[![Health](https://phpackages.com/badges/anzusystems-contracts/health.svg)](https://phpackages.com/packages/anzusystems-contracts)
```

###  Alternatives

[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k185.6M2.4k](/packages/symfony-security-bundle)[symfony/security-http

Symfony Security Component - HTTP Integration

1.7k177.2M382](/packages/symfony-security-http)[shopware/storefront

Storefront for Shopware

684.6M236](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[metamodels/core

MetaModels core

10156.4k67](/packages/metamodels-core)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3189.0k6](/packages/codefog-contao-news-categories)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
