senhung / orm
A simple object relational mapping for databases.
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
pkg:composer/senhung/orm
Requires
- php: >=7.1.0
- senhung/config-read-write: ~2.0.0
- senhung/database-interaction: ~1.1.0
This package is not auto-updated.
Last update: 2020-01-24 17:42:29 UTC
README
Description
This is a simple object relational mapping for MySQL written in PHP7. It tries to imitate the ORM, Eloquent, used by Laravel.
Package namespace: Senhung\ORM
Setup
- Install
$ composer require senhung/orm
- Config
Create a .env
file and fill out the settings using the template .env.example
Documents
Example
See example in example.php
$ php example.php