https://github.com/jascha030/db-service
A thin layer on top of doctrine/dbal. This package was made for usage in the jascha030/xerographer package.
https://github.com/jascha030/db-service
composer database doctrine php symfony
Last synced: 2 months ago
JSON representation
A thin layer on top of doctrine/dbal. This package was made for usage in the jascha030/xerographer package.
- Host: GitHub
- URL: https://github.com/jascha030/db-service
- Owner: jascha030
- License: mit
- Created: 2022-09-20T09:29:41.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-18T22:27:37.000Z (over 1 year ago)
- Last Synced: 2025-03-24T05:15:10.082Z (over 1 year ago)
- Topics: composer, database, doctrine, php, symfony
- Language: PHP
- Homepage:
- Size: 2.01 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# DB Service
A thin layer on top of `doctrine/dbal`.
This package was made for usage in the `jascha030/xerographer` package.
## Getting started
## Prerequisites
* php: `>=8.2`
* Composer `^2.3`
### Installation
```sh
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`.
```sh
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`.
```sh
composer format
```
## License
This composer package is an open-sourced software licensed under
the [MIT License](https://github.com/jascha030/sb-service/blob/master/LICENSE.md)