The Entity Package
, (*1)
Introduction
The Entities package is an simple redesigned Active Record pattern for working with your database.
Each database table has a corresponding Entity which is used to interact with that table. This is based partially from
the CMS JTable Active Record pattern and from the various improvements that have been made through the PHP Community
since., (*2)
Installation via Composer
Add "joomla/entities": "2.0-dev"
to the require block in your composer.json and then run composer install
., (*3)
{
"require": {
"joomla/entities": "2.0-dev"
}
}
Alternatively, you can simply run the following from the command line:, (*4)
composer require joomla/entities "2.0-dev"
If you want to include the test sources and docs, use, (*5)
composer require --prefer-source joomla/entities "2.0-dev"