A simple PHP ActiveRecord library for Mysql.
- 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);
MIT