siganushka / doctrine-contracts
A set of abstractions for doctrine.
Installs: 1 083
Dependents: 5
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Requires
- php: >=7.4
- doctrine/orm: ^2.8
Requires (Dev)
- symfony/phpunit-bridge: ^6.0
- vimeo/psalm: ^5.0
README
A set of abstractions for doctrine.
Installation
$ composer require siganushka/doctrine-contracts
Interfaces & Traits
Siganushka\Contracts\Doctrine\ResourceInterface Siganushka\Contracts\Doctrine\ResourceTrait Siganushka\Contracts\Doctrine\EnableInterface Siganushka\Contracts\Doctrine\EnableTrait Siganushka\Contracts\Doctrine\SortableInterface Siganushka\Contracts\Doctrine\SortableTrait Siganushka\Contracts\Doctrine\TimestampableInterface Siganushka\Contracts\Doctrine\TimestampableTrait Siganushka\Contracts\Doctrine\VersionableInterface Siganushka\Contracts\Doctrine\VersionableTrait
Tests
$ php tools/vendor/bin/simple-phpunit --debug