xinix-technology / bono-norm
Norm glue code for Bono
1.1.0
2018-07-31 08:41 UTC
Requires
- xinix-technology/bono: ^2.2
- xinix-technology/norm: ^2.2
Requires (Dev)
- brainmaestro/composer-git-hooks: ^2.4
- phpunit/phpunit: ^7.2
- squizlabs/php_codesniffer: ^3.3
This package is not auto-updated.
Last update: 2024-11-13 19:57:50 UTC
README
If you want to use Bono 2 as your web application development framework, and you need database access. Best chance that you need Norm. This library is best breed to integrate between Bono 2 and Norm 2.
How to Use
Prepare Norm repository using bono-norm middleware, add BonoNorm\Middleware
to Bono bundle middlewares configuration section or config/config.php
file.
return [ "middlewares": [ [ BonoNorm\Middleware::class, [ "options" => [ "connections" => [...], "collections" => [...], "attributes" => [...], ] ]] ] ];
This DSL is comply to ROH\Util\Injector
accepted DSL.