valedaemon / redbean-laravel4 by valedaemon

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.
204
2
3
Package Data
Maintainer Username: valedaemon
Maintainer Contact: tijohnsonjr@post.harvard.edu (Thomas Johnson)
Package Create Date: 2013-06-04
Package Last Update: 2013-06-15
Language: PHP
License: MIT
Last Refreshed: 2024-05-03 03:19:30
Package Statistics
Total Downloads: 204
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 3
Total Forks: 1
Total Open Issues: 0

The Redbean Implementation for Laravel 4

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