Fairly plain RedBean crud example in oop.
If interested, clone the repo and run composer update
.
The database is automatically created by RedBean and will be called RedBean.db
but you can change the name in the bootstrap/config.php
.
The routing is handled by Bramus. The view is plain php handled by Dabl. The wonderful Whoops is also in there.
The PageController
should be fairly straight forward and it illustrates how easy it is to use RedBean.
All credits go to belletarde. I merely translated the project into oop.