senhung / orm
This package is abandoned and no longer maintained.
No replacement package was suggested.
A simple object relational mapping for databases.
v1.0.0
2018-05-16 03:58 UTC
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