I am currently using RedBean version 3.5. I think I would like to move to the latest version of RedBean, version 4.
I have found no documentation about upgrade process, other than an indication it is not straightforward.
My questions are:
I have taken the lack of answers provided for this question to be another sign that it is time for me to leave RedBean.
I have started the transition to Eloquent - Illuminate. I am just barely into the migration, and already I like Eloquent better, and I wish I had switched to it earlier. Some reasons why:
I was really looking forward to using the migration features to update my table names to more readable versions of the RedBean auto-created table names. Unfortunately, using artisan is not practical without a full install Laravel. So I will implement migrations with Phinx.
When I upgraded from RB3.x to RedBeanPHP Version 4 there was not much to do. I just exchanged rb.php library file, added some namespace stuff and this was just it. The database was left untouched and everything worked fine.
Nevertheless I am still using the Cooker plugin, because R::dispense( $beanAsArray ) does not load beans with id given and does not ignore empty fields which is needed when beans are coming from HTML forms.
RB4 is still available for use with Composer, as far as stated here https://github.com/gabordemooij/redbean.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With