2017 © Pedro Peláez
 

library orm

FuelPHP ORM package

image

fuelphp/orm

FuelPHP ORM package

  • Tuesday, October 20, 2015
  • by WanWizard
  • Repository
  • 12 Watchers
  • 16 Stars
  • 449 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 17 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

FuelPHP Orm library.

Build Status Code Quality Code Coverage HHVM Status, (*1)

V2 orm currently consists of three separate parts that work together to provide a database abstraction via objects. These parts are Providers, Querys and Models. The names of these might change depending on their eventual implementation., (*2)

Providers

A Provider contains the model's properties, table name and other related information. If you are familiar with the v1 orm this replaces the static properties that used to define the properties, relations, connection, table name and observers. The providers should (at the moment at least) be the first point of entry for interacting with, (*3)

Queries

Query objects provide a way for the developer to perform actions on the database using the abstraction of the ORM. The idea is that a Query object is responsible for talking to whatever database system you are using, be it MySQL, noSQL or flat text files., (*4)

Models

Model, unlike v1, are dummy data container objects. The intent is to make them as light as possible to make dealing with large data sets more efficient. They may contain an interface that passes through to a Query or Provider in the future., (*5)

Testing

Just as a note, the database related tests can grab a valid DB instance from the codeguy class, this loads the config from the main codeception.yml config so you only need to update the DB config in one place to run the tests., (*6)

In the tests classes this can be fetched with $this->codeGuy->getDbInstance(), (*7)

The Versions

20/10 2015

dev-master

9999999-dev https://github.com/fuelphp/orm

FuelPHP ORM package

  Sources   Download

MIT

The Requires

 

The Development Requires

by FuelPHP Development Team

orm activerecord datamapper