kb
Table of Contents
Namespaces
Interfaces
- ArrayableFields
- This object implements new arrayable behaviours (when using ArrayableTrait).
- DirtyObjectInterface
- Track dirty property values.
- JsExpression
- For use with Js::encode().
- NotSerializable
- When serializing with {@see SerializeTrait} child properties that implement this are skipped.
Classes
- Arrays
- Array utilities.
- AttributeTag
- This is a helper class for working with attributes. It's designed to aid extraction of attributes and tags. This also provides a sort of compatibility between attributes and doc tags.
- BaseRule
- A base helper class for rules.
- Buffer
- A wrapper for the PHP output buffer.
- CallbackRule
- This wraps a inline function to serve as a validator.
- Cast
- Base class for cast attributes.
- CastArray
- Cast an iterable to a list of objects.
- CastDate
- Cast dates from valid sources.
- CastMethod
- Cast values with a custom method.
- CastObject
- Cast an array to an object.
- Cli
- CLI prompt helpers.
- Collection
- A collection is a defined model for an object.
- Config
- A config helper.
- Configure
- Utility for configuring things.
- CountryNames
- Country names, using the intl extension.
- CountryZones
- Countries from timezones.
- CsvExport
- A CSV Exporter.
- CsvImport
- A CSV Importer.
- DataObject
- The simplest object.
- DirtyChecksums
- DocType
- This represents a property in class, typed by it's doc comment.
- DocValidator
- Use '@var' comments to validate object properties.
- Enc
- Encoding of data for various outputs
- Encrypt
- The Encrypt library provides two-way encryption of text and binary strings using the openSSL extension.
- Env
- Environment configuration helper.
- Event
- An abstract base event.
- Events
- A static events system.
- Generate
- Write PHP arrays to a file.
- HttpStatus
- Bunch of status codes.
- Inflector
- Language inflection such as pluralisation.
- Job
- A job. Could be a cron or a worker. You decide.
- Js
- JS helpers.
- JsDate
- A JavaScript date expression.
- JsFunction
- A JavaScript function expression.
- Json
- Methods for handling JSON.
- JsRaw
- A raw JavaScript expression.
- Log
- Mostly just level defs.
- Reflect
- I guess this is useful.
- RulesClassValidator
- Rules based validation processor.
- RulesStaticValidator
- Rules based validation processor.
- RulesValidator
- Rules based validation processor.
- Secrets
- Identify secrets in strings.
- Security
- Functions for implementing security, including secure random numbers
- Shell
- Utilities for doing shell things.
- ShellException
- ShellOptions
- A collection is a defined model for an object.
- ShellOutput
- Text
- Time
- Various date and time utilities.
- TimeZones
- Utilities for Windows timezones - which is straight up bonkers.
- Typecast
- Typecasting for objects.
- Url
- URL object and helper methods.
- UrlDecodeException
- Url decode errors.
- UrlException
- Url errors.
- UrlParseException
- Url parse errors.
- Uuid
- This class provides a minimal implementation of UUID.
- ValidationException
- Validator errors.
- Validity
- Validation class.
- Wrap
- Neater closures!
- XML
- XML helper methods.
- XMLAssertException
- Assertion errors are useful for validation XML structure.
- XMLException
- An error when processing XML.
- XMLParseException
- An error when parsing XML.
- XMLSchemaException
- An error when validating against an XSD schema.
Traits
- ArrayableTrait
- Adds a `toArray()` method that returns an array copy of this object.
- ArrayAccessTrait
- CachedHelperTrait
- Some handy cache bits.
- ConfigureTrait
- Implements a configure() helper.
- DirtyPropertiesTrait
- Track dirty property values.
- DocValidatorTrait
- Use '@var' comments to validate object properties.
- EventableTrait
- Implements events helpers.
- LoggerTrait
- Hook logging handlers into a class.
- PropertiesTrait
- Get a list of property fields for this class.
- RulesValidatorTrait
- Use validator functions to validate properties.
- SerializeTrait
- Implements a PHP serialiser.
- SortFieldsTrait
- A simple sorter for object.
- ToJsonTrait
- JSON builders for models.
- TypecastTrait
- Update trait for typecasting values.
- UpdateStrictTrait
- This modifies the behaviour of a DataObject/Collection so that only properties defined in the class are updated.
- UpdateTidyTrait
- This is functional the same as {@see UpdateTrait} only it uses the `getProperties()` helper to determine which fields belong to the class.
- UpdateTrait
- This implements basic `update()` behaviour for an object.
- UpdateVirtualTrait
- This modifies the behaviour of a DataObject/Collection for updating complex properties, such as arrays and objects.
- ValidErrorsTrait
- This extends the Validates interface with a `valid()` method that returns a boolean. The errors are stored in the model.
- VirtualArrayTrait
- VirtualMethodsTrait