hermajan / dobine
Doctrine extensions.
v0.7
2024-08-05 14:43 UTC
Requires
- php: >=7.4
- doctrine/orm: ^2.14
- knplabs/doctrine-behaviors: ^2.2
Requires (Dev)
- nette/neon: ^3.3
- nette/tester: ^2.4
- nette/utils: ^3.1
- phpstan/phpstan: ^1.7
- phpstan/phpstan-doctrine: ^1.3
- phpstan/phpstan-nette: ^1.0
- vlucas/phpdotenv: ^2.5
Suggests
- nette/neon: For parsing connection parameters from .neon files.
- nette/utils: For using with Nette.
- vlucas/phpdotenv: For loading connection environment from .env file.
Provides
None
Conflicts
None
Replaces
None
README
Lightweight library providing useful extensions for Doctrine packages.
✨ Features
- Connections – convenient DBAL connection setup with environment-based and parameter-based configuration.
- Entities – base entities with property accessors (including Nette accessors) for rapid entity development.
- Facades – base facades to simplify working with the entity manager and repositories.
- Pagination – a ready-to-use paginator for splitting query results into pages.
- Property traits – reusable traits such as
Identable,Creatable,Dateable,Sluggable,Sortable,Treeable,Translatable,Localable,Iconable,TextableandArrayable. - Subscribers – event subscribers like a table prefix subscriber for automatic table naming.
- Custom types – additional Doctrine types, including an array-with-null type and enum type support.
- Utilities – helper utilities such as string helpers.
📥 Installation
Install this via Composer:
composer require hermajan/dobine
📚 Documentation
Usage and documentation for this project is in wiki.