Application
Interfaces, Classes and Traits
- Flex
- Flexible models
- FlexRepository
- Common
- Meta
- Class to handle meta data of a class
Usage examples: table name, table fields definition, etc.
- Relation
- Class to handle all the relationship information
of a Flex model.
- RelationManager
- Class to handle collections of relations.
- EnhancedPDO
- Extend PDO to add an emulation of nested transactions
- PDOMySQL
- Chainer
- Geopositioned
- Trait to add latitude and longitude to the model
and also some utility functions for distance measuring.
- Sluggable
- Trait to add slugs based on certain fields
The fields will be concatenated and then transformed into a slug
- Timestampable
- Simple trait to keep track of create and update dates.
- Translatable
- Trait to add translations to fields
- Versionable
- Trait to add record versions