senhung/orm

This package is abandoned and no longer maintained. No replacement package was suggested.

A simple object relational mapping for databases.

Maintainers

Package info

github.com/senhungwong/php-orm

Issues

pkg:composer/senhung/orm

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 0

v1.0.0 2018-05-16 03:58 UTC

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

  1. Install
$ composer require senhung/orm
  1. Config

Create a .env file and fill out the settings using the template .env.example

Documents

Model

Example

See example in example.php

$ php example.php