lj4/redbean-laravel4

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.

dev-master 2013-06-15 16:50 UTC

This package is not auto-updated.

Last update: 2024-11-18 14:30:23 UTC


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).