Skip to content

joomla-framework/entities

Repository files navigation

The Entity Package Build Status

Latest Stable Version Total Downloads Latest Unstable Version License

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.

Installation via Composer

Add "joomla/entities": "3.0-dev" to the require block in your composer.json and then run composer install.

{
	"require": {
		"joomla/entities": "3.0-dev"
	}
}

Alternatively, you can simply run the following from the command line:

composer require joomla/entities "3.0-dev"

If you want to include the test sources and docs, use

composer require --prefer-source joomla/entities "3.0-dev"