tgrj/tweb_adapter_rb

RedBeans implementation into tweb framework

Maintainers

Package info

codeberg.org/tgrj/tweb_adapter_rb

pkg:composer/tgrj/tweb_adapter_rb

Statistics

Installs: 42

Dependents: 3

Suggesters: 0

v3.2.0 2026-04-23 21:56 UTC

README

RedBeans implementation into tweb framework

About

Since with my microframework tweb I did not want to stick to a specific database system on core level, I created this modul, which will basically somehow implement RedBeans into a project.

Maybe this is not the best way (not a best praxis), but it is a way, that works for me and my projects.

Usage

These functions are available:

  • tweb_get_db_version()
  • tweb_get_wanted_db_version()
  • tweb_rb_change_id_increment()
  • tweb_set_db_version()
  • tweb_verify_db_version()

You have to set the constant TWEB_DB_VERSION early (e.g. directly after the composer autoloader) for this modul to function regarding the function sfor validating or returning the database version!