berlioz/hector-package

Hector ORM package for Berlioz Framework

v2.0.0-beta3 2022-06-24 00:16 UTC

This package is auto-updated.

Last update: 2022-06-24 00:17:22 UTC


README

Latest Version Software license Build Status Quality Grade Total Downloads

This package is intended to provide Hector ORM in Berlioz Framework.

For more information, and use of Berlioz Framework, go to website and online documentation : https://getberlioz.com

Installation

Composer

You can install Hector Package with Composer, it's the recommended installation.

$ composer require berlioz/hector-package

Dependencies

  • PHP ^8.0
  • Packages:
    • berlioz/core
    • hectororm/orm

Usage

Package add a service named hector, who correspond to the \Hector\Orm\Orm class.

See Hector ORM documentation for more information.

Configuration

Default configuration:

{
  hector: {
    dsn: null,
    read_dsn: null,
    schemas: [],
    dynamic_events: true,
    types: {}
  }
}