Download the PHP package icanboogie/bind-activerecord without Composer
On this page you can find all versions of the php package icanboogie/bind-activerecord. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download icanboogie/bind-activerecord
More information about icanboogie/bind-activerecord
Files in icanboogie/bind-activerecord
Package bind-activerecord
Short Description Binds ActiveRecord to ICanBoogie
License BSD-3-Clause
Homepage https://icanboogie.org/
Informations about the package bind-activerecord
bind-activerecord
The icanboogie/bind-activerecord package binds the icanboogie/activerecord package to ICanBoogie, using its Autoconfig feature. It provides configuration builders for active record connections and models, as well as getters for the connection provider and the model provider.
Installation
Autoconfig
The package provides a configuration builder for ICanBoogie\ActiveRecord\Config
.
The activerecord
config fragment
Currently activerecord
fragments are used to configure connections and models, which are suitable
to create ConnectionCollection and ModelCollection instances.
The following example demonstrates how to define connections and models. Two connections are
defined: primary
is a connection to the MySQL server;cache
is a connection to a SQLite database.
The nodes
model is also defined.
Continuous Integration
The project is continuously tested by GitHub actions.
Code of Conduct
This project adheres to a Contributor Code of Conduct. By participating in this project and its community, you're expected to uphold this code.
Contributing
See CONTRIBUTING for details.