Skip to content

nanjingboy/clown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple PHP ActiveRecord library for Mysql

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages