Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/berliozframework/hectorpackage
Hector package for Berlioz Framework
https://github.com/berliozframework/hectorpackage
Last synced: about 1 month ago
JSON representation
Hector package for Berlioz Framework
- Host: GitHub
- URL: https://github.com/berliozframework/hectorpackage
- Owner: BerliozFramework
- License: mit
- Created: 2021-03-04T21:48:39.000Z (almost 4 years ago)
- Default Branch: 2.x
- Last Pushed: 2022-06-24T00:17:19.000Z (over 2 years ago)
- Last Synced: 2024-10-24T18:07:31.560Z (2 months ago)
- Language: PHP
- Size: 33.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Hector ORM package for Berlioz Framework
[![Latest Version](https://img.shields.io/packagist/v/berlioz/hector-package.svg?style=flat-square)](https://github.com/BerliozFramework/HectorPackage/releases)
[![Software license](https://img.shields.io/github/license/BerliozFramework/HectorPackage.svg?style=flat-square)](https://github.com/BerliozFramework/HectorPackage/blob/2.x/LICENSE)
[![Build Status](https://img.shields.io/github/workflow/status/BerliozFramework/HectorPackage/Tests/2.x.svg?style=flat-square)](https://github.com/BerliozFramework/HectorPackage/actions/workflows/tests.yml?query=branch%3A2.x)
[![Quality Grade](https://img.shields.io/codacy/grade/a9ede0ed09604616b38e78cbde18f2fe/2.x.svg?style=flat-square)](https://www.codacy.com/manual/BerliozFramework/HectorPackage)
[![Total Downloads](https://img.shields.io/packagist/dt/berlioz/hector-package.svg?style=flat-square)](https://packagist.org/packages/berlioz/hector-package)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](https://getcomposer.org/), it's the recommended installation.
```bash
$ 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](https://gethectororm.com/) for more information.
## Configuration
Default configuration:
```json5
{
hector: {
dsn: null,
read_dsn: null,
schemas: [],
dynamic_events: true,
types: {}
}
}
```