No "rb.php" Exists

26 views
Skip to first unread message

David Quinn-Jacobs

unread,
Sep 6, 2015, 4:48:33 AM9/6/15
to redbeanphp
Just trying to install and get it running, there is no "rb.php" in the distribution, when installing via composer with the following composer.json file:

{
  "require": {
    "gabordemooij/redbean": "dev-master"
  }
}

There is a large hierarchy of directories in the installation, and a number of .php files 5 levels down under a folder called "RedBeanPhp".  There is a file called "R.php", which I tried to require rather than the stated "rb.php", but that left me with undefineds.  

Do I have the wrong distribution, somehow, or is the documentation very out of date?

Thanks in advance.

gabor

unread,
Sep 6, 2015, 6:22:46 AM9/6/15
to redbeanphp

The best way to run RedBeanPHP is to just download the tarball from the website.
The composer approach is not really compatible, but it's for those who prefer composer and want to deal with the incompatibilities anyway.

cheers
Gabor
Reply all
Reply to author
Forward
0 new messages