Skip to content

xinix-technology/bono-norm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bono-norm

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages