nanjingboy/clown

Clown is a simple PHP ActiveRecord library for Mysql

v0.2.0 2015-05-13 10:18 UTC

This package is not auto-updated.

Last update: 2024-10-26 16:15:31 UTC


README

Clown:

A simple PHP ActiveRecord library for Mysql.

Getting Started:

  • Create composer.json file in root directory of your application:
{
    "require": {
        "php": ">=5.4.0",
        "nanjingboy/clown": "*"
    }
}
  • Install it via composer

  • Init the config in your bootstrap.php:

<?php
require __DIR__ . '/vendor/autoload.php';
Clown\Config::instance()->init($configPath);
  • Get a config example from test

  • Get api from wiki

License:

MIT