Skip to content

Commit 3398064

Browse files
committed
refactor in preparation to handle multiple database connections with doctrine
1 parent 879a0d7 commit 3398064

File tree

10 files changed

+450
-88
lines changed

10 files changed

+450
-88
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
* Implement logger.
55
* Add Twig template system.
66
* Session management.
7+
* DBAL.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Slim 4 template repository to base my Slim 4 applications on.
1111
* Session management via [Symfony's HttpFoundation](https://symfony.com/doc/current/components/http_foundation.html).
1212
* PSR-7 provided via [Tobias Nyholm](https://github.com/Nyholm/psr7).
1313
* Dependency injection via [PHP-DI](https://php-di.org/).
14+
* DBAL via [Doctrine](https://www.doctrine-project.org/projects/dbal.html).
1415

1516
## Thanks
1617

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
}
1111
],
1212
"require": {
13+
"doctrine/dbal": "^2.10",
1314
"monolog/monolog": "^2.1",
1415
"nyholm/psr7": "^1.3",
1516
"nyholm/psr7-server": "^1.0",

composer.lock

Lines changed: 296 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)