php-activerecord module for kohana
PHP
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
classes
config
models
vendor/activerecord
CHANGELOG
README.md
auth-schema-mysql.sql
init.php

README.md

kohana-activerecord

php-activerecord module for Kohana

Example

$a = User::first();
or
$a = Arm::factory('user')->first();

echo $a->username.' => '.$a->roles[0]->name;