2017 © Pedro Peláez
 

library academe

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

image

aaronjan/academe

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  • Thursday, May 31, 2018
  • by AaronJan
  • Repository
  • 2 Watchers
  • 4 Stars
  • 2,184 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 71 Versions
  • 17 % Grown

The README.md

Academe


功能特性

Academe 是一个实用的 Data Mapper,有以下特性:, (*1)

  • 可以单独使用,也可以搭配 Laravel 使用, (*2)

  • 支持字段出、入库时进行转换(Blueprint 中的 Cast Rule),例如将 MySQL 的 datetime 类型自动转化为 Carbon 对象。支持自定义扩展, (*3)

  • 简单直观的 Query Builder,IDE提示友好, (*4)

  • 查询条件和数据库连接分离,支持序列化, (*5)

  • 支持多种数据关系定义:一对一、一对多、多对多(可跨数据库类型关联), (*6)

  • 可以自定义数据实体对象,想用贫血模型还是充血模型不受限制, (*7)

  • 以上功能同时支持 MySQL、PostgreSQL(基于 DBAL)和 MongoDB(基于 mongodb/mongodb), (*8)

安装

需要mongodb扩展支持(>= 1.3)。, (*9)

使用Composer安装:, (*10)

$ composer require aaronjan/academe

快速上手

安装

Academe 自带 Laravel 支持,以下以 Laravel 使用为例。, (*11)

安装好之后,执行命令导入配置文件到 config/academe.php:, (*12)

$ php artisan vendor:publish --provider=Academe\\Laravel\\AcademeServiceProvider

配置文件默认兼容 Laravel .env 中的数据库配置。, (*13)

如果你的 Laravel 版本低于 5.5,那么还需要将 AcademeServiceProvider 加入到 config/app.php中。, (*14)

生成第一个 Blueprint

你需要使用 Blueprint 来定义和使用数据。, (*15)

例如有一个 MySQL 表:, (*16)

CREATE TABLE `user` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

运行命令生成 Blueprint:, (*17)

$ php artisan academe:make:blueprint User --primary=id --subject=user

说明:MySQL 的 table 或者 MongoDB 的 Collection 在 Academe 中统一称作 Subject, (*18)

打开刚生成的 Blueprint(默认路径:app/Academe/Blueprints/User),增加字段类型配置(位于 castRules()):, (*19)

<?php

namespace App\Academe\Blueprints;

use Academe\BaseBlueprint;
use Academe\Casting\CasterMaker;

class User extends BaseBlueprint
{
    /**
     * @return string
     */
    public function primaryKey()
    {
        return 'id';
    }

    /**
     * @return string
     */
    public function subject()
    {
        return 'user';
    }

    /**
     * @return array
     */
    public function castRules()
    {
        // 增加两个字段的类型配置:
        return [
            'id'   => CasterMaker::integer(),
            'name' => CasterMaker::string(),
        ];
    }
}

编写查询

定义好 Blueprint 之后,就可以通过 依赖注入 的方式拿到 Mapper 来进行和数据库之间的交互了:, (*20)

<?php

use Academe\Contracts\Academe;
use Academe\Contracts\Writer;
use App\Academe\Blueprints\User;

class MyController {

    public function index(Academe $academe, Writer $writer) {
        $userMapper = $academe->getMapper(User::class);

        // 查询所有数据,按年龄正序排列
        $userMapper->query()->sort('age', 'asc')->all();

        // 条件查询并指定字段
        $userMapper->query()->equal('id', 1)->first(['name']);

        // 查询null值
        $userMapper->query()->isNull('money')->notNull('mortgage')->all();

        // 新增数据
        $userMapper->query()->create([
            'name' => 'John',
        ]);

        // 更新数据
        $userMapper->query()->equal('id', 1)->update([
            'score' => 100,
        ]);

        // 更新数据(更新值使用原生SQL,同样支持MongoDB)
        $userMapper->query()->equal('id', 1)->update([
            'score' => $writer->raw('`score` + 1'),
        ]);

        // 删除数据
        $userMapper->query()->equal('id', 2)->delete();
    }

}

所有数据操作都可以通过调用 Mapper 上的 query() 方法完成(所有数据库通用),部分 MongoDB 专有方法可以通过 queryAsMongoDB()完成。, (*21)

独立生成查询条件

除了通过 Mapper 上的 query() 方法组织查询条件,还可以通过 Writer 生成条件,这适用于很多需要由某个函数生成部分或全部查询条件的情况:, (*22)

<?php

use Academe\Contracts\Academe;
use Academe\Contracts\Writer;
use App\Academe\Blueprints\User;

class MyController {

    // Writer 实例可以通过依赖注入的方式获取,或者调用 `$academe->getWriter()`
    public function index(Academe $academe, Writer $writer) {
        $userMapper = $academe->getMapper(User::class);

        // 单个查询条件
        $condition = $writer->equal('id', 1);

        $userMapper->query()->apply($condition)->all();

        // 组合查询条件:and
        $conditions = $writer->must([
            $writer->equal('id', 1),
            $writer->notEqual('name', 'John'),
        ]);

        // 组合查询条件:or
        $conditions = $writer->any([
            $writer->equal('id', 1),
            $writer->notEqual('name', 'John'),
        ]);

        // query builder形式,甚至可以在这里指定需要取出的字段
        $statement = $writer->query()->equal('id', 1)->fields(['id', 'name']);

        $userMapper->query()->apply($statement)->all();
    }

}

Group

Academe 同样支持 group by 类统计查询(MongoDB 同样支持),使用方式如下:, (*23)

<?php

use Academe\Contracts\Academe;
use Academe\Contracts\Writer;
use App\Academe\Blueprints\Post;

class MyController {

    // Writer 实例可以通过依赖注入的方式获取,或者调用 `$academe->getWriter()`
    public function index(Academe $academe, Writer $writer) {
        $postMapper = $academe->getMapper(Post::class);

        $postMapper->query()
            // 依然支持条件过滤
            ->greaterThan('level', 10)
            // 也支持排序
            ->sort('channel_id', 'asc')
            ->group(
                // 聚合条件字段
                [
                    'channel_id',
                ],
                // 值
                [
                    // `count()` 方法得到的值默认是整数,其他方法默认是保留2位小数的浮点数(`BigDecimal` 对象)
                    'post_count' => $writer->accumulation()->count(),
                    // 你可以让其他方法也返回整数:
                    'like_total' => $writer->accumulation()->sum('like_total')->asInteger(),
                    // 你也可以调整浮点数的精度:
                    'avg_like' => $writer->accumulation()->avg('like_total')->asDecimal(4),
                    'min_like' => $writer->accumulation()->min('like_total'),
                    'max_like' => $writer->accumulation()->max('like_total'),
                ],
                // 支持 limit 和 offset
                // Limit:
                10,
                // Offset:
                20
            );

        // 如果你希望在查询 MySQL 的时候获取更大的灵活性,也可以使用 SQL 语句:
        $postMapper->query()
            // 依然支持条件过滤
            ->greaterThan('level', 10)
            ->group(
                // 聚合条件字段
                [
                    // 你还可以转换结果的格式
                    'channel_id' => [
                        'channel_id',
                        CasterMaker::string(),
                    ],
                    // 更换字段名并指定数据格式
                    'update_date' => [
                        $writer->raw('UNIX_TIME(updated_at, "YYYY-mm-dd")'),
                        CasterMaker::string(),
                    ],
                ],
                // 值
                [
                    'like_total' => [
                        $writer->raw('SUM(`like_total`)'),
                        CasterMaker::integer(),
                    ],
                ]
            );

        // MongoDB 同样也支持使用原生查询:
        $postMapper->query()
            // 依然支持条件过滤
            ->greaterThan('level', 10)
            ->group(
                // 聚合条件字段
                [
                    'channel_id' => [
                        $writer->raw('$channel_id'),
                        CasterMaker::string(),
                    ],
                ],
                // 值
                [
                    'like_total' => [
                        $writer->raw(['$sum' => '$like_total']),
                        CasterMaker::integer(),
                    ],
                ]
            );
    }

}

数据关系

数据关系的定义同样是写在 Blueprint 中的:, (*24)

<?php

namespace App\Academe\Blueprints;

use Academe\BaseBlueprint;
use Academe\Casting\CasterMaker;
use Academe\Relation;

class User extends BaseBlueprint
{
    /**
     * @return string
     */
    public function primaryKey()
    {
        return 'id';
    }

    /**
     * @return string
     */
    public function subject()
    {
        return 'user';
    }

    /**
     * 这里定义数据关系
     *
     * @return array
     **/
    public function relations()
    {
        return [
            // 假设我们还有一个名为 Post 的 Blueprint
            'posts' => new Relation\HasMany(Post::class, 'user_id', 'id'),
        ];
    }

    /**
     * @return array
     */
    public function castRules()
    {
        // 增加两个字段的类型配置:
        return [
            'id'   => CasterMaker::integer(),
            'name' => CasterMaker::string(),
        ];
    }
}

查询关系数据的方式和 Laravel 基本一致:, (*25)

<?php

use Academe\Contracts\Academe;
use Academe\Contracts\Writer;
use Academe\Statement\RelationSubStatement;
use App\Academe\Blueprints\User;

class MyController {

    // Writer 实例可以通过依赖注入的方式获取,或者调用 `$academe->getWriter()`
    public function index(Academe $academe, Writer $writer) {
        $userMapper = $academe->getMapper(User::class);

        // 关联所有数据
        $users = $userMapper->query()->with('posts')->all();
        $posts = array_first($users)->posts;

        // 带条件关联所有数据
        $users = $userMapper->query()->with([
            'posts' => function (RelationSubStatement $statement) {
                // 添加关联查询条件
                // 注意:这里如果要指定查询字段,一定要包含定义关系时所需要的字段,否则会导致数据无法关联
                //   同样,用来聚合的根数据也需要包含定义关系的字段
                $statement->equal('state', 2)->fields(['id', 'user_id']);
            },
        ])->all();
    }

}

Academe 目前支持定义两种数据关系:一对一、一对多和多对多,其中又分为几种变体:, (*26)

一对一

  • HasOne:一对一

一对多

  • BelongsTo:多对一,主、外键形式, (*27)

  • HasMany:一对多,主、外键形式, (*28)

  • WithMany:一对多,根数据上的关系字段为数组形式(MySQL 上为 JSON 化的数组),子数据依然是定义外键, (*29)

  • WithManyPredefined:一对多,不同于 WithMany 的在于子数据不是来自数据库,而是预先定义好的数组结构(后期也许会考虑通过新的 Connection 实现), (*30)

多对多

  • BelongsToMany:多对多,通过中间关系表关联,和 Laravel 一致

多对多因为需要一张中间表,所以也需要定义中间表的 Blueprint:Bond。运行 Artisan 命令进行生成:, (*31)

$ php artisan academe:make:bond UserAndPost --primary=id --subject=relation_user_and_post --host=User:id --guest=Post:id

生成文件如下:, (*32)

<?php

namespace App\Academe\Bonds;

use Academe\BaseBond;
use Academe\Casting\CasterMaker;
use Academe\Relation;
use App\Academe\Blueprints;

class UserAndPost extends BaseBond
{
    /**
     * @return string
     */
    public function primaryKey()
    {
        return 'id';
    }

    /**
     * @return string
     */
    public function subject()
    {
        return 'relation_user_and_post';
    }

    /**
     * @return string
     **/
    public function hostBlueprintClass()
    {
        return Blueprints\User::class;
    }

    /**
     * @return string
     **/
    public function hostKeyField()
    {
        return 'id';
    }

    /**
     * @return string
     **/
    public function guestBlueprintClass()
    {
        return Blueprints\Post::class;
    }

    /**
     * @return string
     **/
    public function guestKeyField()
    {
        return 'id';
    }

    /**
     * @return array
     */
    public function castRules()
    {
        return [
            // eg: 'name' => CasterMaker::string()
        ];
    }
}

事务

事务是围绕 Transaction 对象展开的,以下是实例:, (*33)

<?php

use Academe\Contracts\Academe;
use Academe\Contracts\Writer;
use Academe\Statement\RelationSubStatement;
use App\Academe\Blueprints\User;

class MyController {

    // Writer 实例可以通过依赖注入的方式获取,或者调用 `$academe->getWriter()`
    public function index(Academe $academe, Writer $writer) {
        $userMapper = $academe->getMapper(User::class);

        // Academe 和 Writer 都可以创建 Transaction 对象
        $transaction = $writer->newTransaction();

        // 创建时可以指定隔离级别:
        $transaction = $academe->newTransaction(\Academe\Constant\TransactionConstant::READ_UNCOMMITTED);

        // Transaction 可以统一设置查询锁:
        $transaction = $transaction->lockSelect();

        // 将所有和事务相关的 Mapper 加入到事务对象中(关系数据的 Mapper 也需要手动加入):
        $userMapper->involve($transaction);

        // 开始事务:
        $transaction->begin();

        try {
            // 对数据进行操作:
            // ...

            $transaction->commit();
        } catch (\Exception $exception) {
            $transaction->rollback();

            throw $exception;
        }


    }

}

事务操作目前对 MongoDB 是无效的,等到 MongoDB 4.0 正式发布之后会考虑提供支持。, (*34)

MongoDB

$elemMatch

<?php

$mapper->queryAsMongoDB()->elementMatch('array', $writer->query()->equal('inner_field', 'value'))->all();

TODOs

  • 单元测试, (*35)

  • 查询关系数据时传递父级的事务设置, (*36)

Credits

Laravel, (*37)

Opulence, (*38)

Waterline, (*39)

Laravel MongoDB, (*40)

Ran Ding, (*41)

The Versions

31/05 2018

dev-master

9999999-dev

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel datamapper

31/05 2018

v0.22.0

0.22.0.0

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel datamapper

30/05 2018

v0.21.0

0.21.0.0

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel datamapper

29/05 2018

v0.20.2

0.20.2.0

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel datamapper

24/05 2018

v0.20.1

0.20.1.0

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel datamapper

22/05 2018

0.20.0

0.20.0.0

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel datamapper

17/05 2018

v0.19.8

0.19.8.0

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel datamapper

27/04 2018

v0.19.7

0.19.7.0

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel datamapper

26/04 2018

v0.19.6

0.19.6.0

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel datamapper

25/04 2018

v0.19.5

0.19.5.0

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel datamapper

16/04 2018

v0.19.4

0.19.4.0

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel datamapper

16/04 2018

v0.19.3

0.19.3.0

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel datamapper

13/04 2018

v0.19.2

0.19.2.0

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel datamapper

29/03 2018

v0.19.1

0.19.1.0

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel datamapper

27/03 2018

v0.19.0

0.19.0.0

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel datamapper

12/03 2018

v0.18.0

0.18.0.0

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel datamapper

12/03 2018

v0.17.0

0.17.0.0

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel datamapper

08/03 2018

v0.16.0

0.16.0.0

Academe is an awesome data-mapper for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

25/02 2018

v0.15.0

0.15.0.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

30/01 2018

v0.14.5

0.14.5.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

17/01 2018

v0.14.4

0.14.4.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

27/12 2017

v0.14.3

0.14.3.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

22/11 2017

v0.14.2

0.14.2.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

31/10 2017

v0.14.1

0.14.1.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

30/10 2017

v0.14.0

0.14.0.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

17/10 2017

v0.13.2

0.13.2.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

17/10 2017

v0.13.1

0.13.1.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

06/09 2017

v0.13.0

0.13.0.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

01/09 2017

v0.12.10

0.12.10.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

05/07 2017

v0.12.9

0.12.9.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

04/07 2017

v0.12.8

0.12.8.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

04/07 2017

v0.12.7

0.12.7.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

03/07 2017

v0.12.6

0.12.6.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

13/06 2017

v0.12.5

0.12.5.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

05/05 2017

v0.12.4

0.12.4.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

04/05 2017

v0.12.3

0.12.3.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

04/05 2017

v0.12.2

0.12.2.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

04/05 2017

v0.12.1

0.12.1.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

04/05 2017

v0.12.0

0.12.0.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

03/05 2017

v0.11.2

0.11.2.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

03/05 2017

v0.11.1

0.11.1.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

03/05 2017

v0.11.0

0.11.0.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

03/05 2017

v0.10.0

0.10.0.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

03/05 2017

v0.9.4

0.9.4.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

02/05 2017

v0.9.3

0.9.3.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

02/05 2017

v0.9.2

0.9.2.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

02/05 2017

v0.9.1

0.9.1.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

02/05 2017

v0.9.0

0.9.0.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

24/04 2017

v0.8.0

0.8.0.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

21/04 2017

v0.7.1

0.7.1.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

18/04 2017

v0.7.0

0.7.0.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

18/04 2017

v0.6.0

0.6.0.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

01/04 2017

v0.5.1

0.5.1.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

31/03 2017

v0.5.0

0.5.0.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

31/03 2017

v0.4.1

0.4.1.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

30/03 2017

v0.4.0

0.4.0.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

30/03 2017

v0.3.0

0.3.0.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

29/03 2017

v0.2.12

0.2.12.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

28/03 2017

v0.2.11

0.2.11.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

20/03 2017

v0.2.10

0.2.10.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

16/03 2017

v0.2.9

0.2.9.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

16/03 2017

v0.2.8

0.2.8.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

15/03 2017

v0.2.7

0.2.7.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

15/03 2017

v0.2.6

0.2.6.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

15/03 2017

v0.2.5

0.2.5.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

14/03 2017

v0.2.4

0.2.4.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

13/03 2017

v0.2.3

0.2.3.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

24/02 2017

v0.2.2

0.2.2.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

24/02 2017

v0.2.1

0.2.1.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

24/02 2017

v0.2.0

0.2.0.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel

23/02 2017

v0.1.0

0.1.0.0

Academe is an unified ORM for MySQL & MongoDB (maybe more), support Laravel & natvie PHP project.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

orm database laravel