ycms/redbean-laravel5
Composer 安装命令:
composer require ycms/redbean-laravel5
包简介
An implementation of RedBean for Laravel 4. Although Redbean has a composer install option, it is not recommended. This solution also implements namespaces for Redbean.
README 文档
README
[Redbean PHP] (http://redbeanphp.com) is an ORM solution for PHP which is extremely easy to use, flexible in its execution, and powerful in its results.
This composer package enables RedbeanPHP for Laravel 4.
Installation
Installation is easy. In your composer.json file, add
"lj4/redbean-laravel4": "dev-master"
in your "require" section. Then, in app/config/app.php, add
'Lj4\RedbeanLaravel4\RedbeanLaravel4ServiceProvider'
in your providers array and
'R' => 'Redbean\R',
in your aliases array. That's it!
Namespaces?
If you are wondering why this implementation has namespaces, I've converted the rb.php file to namespaced one with a few tweaks to [this file] (http://redbeanphp.com/extra/php_5_3_namespaces).
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-15