jascha030 / db
Small set of interfaces serving as a thin layer on top of doctrine/dbal.
Requires
- php: ~8.0||~8.1||~8.2
- doctrine/dbal: ^3.6
- symfony/console: ^6.0
- symfony/process: ^6.0
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.8.2
- roave/security-advisories: dev-latest
- symfony/var-dumper: 4.4|^5.4|^6.0.19
This package is auto-updated.
Last update: 2025-02-20 12:32:57 UTC
README
A thin layer on top of doctrine/dbal
.
This package was made for usage in the jascha030/xerographer
package.
Getting started
Prerequisites
- php:
~8.0||~8.1||~8.2
- Composer
^2.3
(prefered)
Installation
composer require jascha030/db
Testing
Included with the package are a set of Unit tests using phpunit/phpunit
. For ease of use a composer script command is
defined to run the tests.
The default configuration will be used when using the test
command, which is defined at phpunit.xml.dist
.
composer test # Or composer run test
A code coverage report is generated in the project's root as cov.xml
. The cov.xml
file is not ignored in the
.gitignore
by default. You are encouraged to commit the latest code coverage report, when deploying new features.
Code style & Formatting
A code style configuration for friendsofphp/php-cs-fixer
is included, defined in .php-cs-fixer.dist.php
.
composer format
License
This composer package is an open-sourced software licensed under the MIT License