ee-objects / core
A set of generics and primitives for ExpressionEngine development
0.2
2022-01-24 18:27 UTC
Requires
- php: >=7.1
This package is auto-updated.
Last update: 2024-10-25 00:44:53 UTC
README
A set of generics and primitives for ExpressionEngine development.
Requirements
- ExpressionEngine >= 5.5
- PHP >= 7.1
Installation
Add ee-objects/core
as a requirement to your composer.json
:
$ composer require ee-objects/core
Implementation
There are a collection of stand-alone objects available:
Config
Converts your site config files into an object.
$config = new Config(); $config = $config->load('ee_objects'); $config = $config->load('custom_addon');
Str
String Helper methods
Str::studly('my-string-value);
AbstractItem
Treat all single entities with the same API
Exceptions
Treat errors as objects
Date Handling Service
Handy abstraction for handling dates
Fields Abstraction
A set of objects to make working with Field based data easier (Entries, Members, Categories, etc)