Core Component

Last updated: August 12th, 2023

The Core component contains the most basic pieces of Stoic:PHP. Every other component builds on top of these pieces in some shape or form. You of course aren't required to use them, but they are there for your convenience as much as they are for Stoic's.

Included Features

The following features are included within the Core component:

Feature Description
Chains Execution system for pub/sub, event, or chain of responsibility patterns
Logging PSR-3 compliant logging system better suited for configured output options
ReturnHelper Utility that provides more detailed success/fail return values
EnumBase Utility that provides some general functionality for creating enumerated class values

Next Up

Continue to read about chains within the Core component, or visit the Table of Contents.