Neuron-PHP

Application

Table of Contents

Interfaces

IApplication
Interface IApplication
IFilter
Interface for sanitizing external PHP variables.
IParser
Generic parsing capabilities.
ISettingSource
Access to setting based services.
IBroadcaster
Register listeners and broadcast events to them.
IEvent
Generic event interface.
IListener
Generic listener interface.
IFormatter
Formatter interface.
IJob
Interface to add runnable behavior to an object.
IFilter
IFormat
Formatter interface.
ILogger
Logger interface.
IController
IView
ICommand
Command pattern.
ICriteria
Criteria pattern.
IRunnable
Interface to add runnable behavior to an object.
IObserver
Interface to allow an observable object to notify an observer.
ISingleton
Singleton pattern.
ITimer
Stopwatch capabilities.
IWebHook
webhook interface
ICollection
Validation collection.
IValidator
Data validation.

Classes

Base
Base functionality for applications.
CommandLineBase
Base functionality for command line applications.
EventLoader
Loads and registers event listeners from the config/event-listeners.yaml file.
InitializerRunner
Loads and executes all initializers in the app/Initializers directory.
Event
Event Singleton to manage events as a cross-cutting concern.
ExceptionBase
EventEmitter
Facade to simplify the registration of events and listeners and the emitting of events.
Error
A PHP implementation of the error.h c header.
ArrayHelper
General array help.
Date
General date functions.
Env
Cookie
Filters cookies.
Get
Filters get data.
Post
Filters post data
Server
Filters SERVER data.
Session
Filters session data.
DateRange
Object for holding date ranges.
GpsPoint
Object for holding lot/lon data.
NumericRange
Object for holding numeric ranges.
Version
Object for loading/parsing version information.
CSV
Parses a line of CSV data to an associative array.
FirstMI
Parses first name middle initial.
LastFirstMI
Parses last, first m
Positional
SettingManager
Generic settings manager. Allows generic interaction with settings from different sources such as .ini, .yaml etc.
Env
environment variable based settings.
Ini
Memory
Internal array based setting source.
Yaml
StringData
String wrapper functions.
UnitConversion
Unit conversion functions.
Base
Base class for broadcasters
Generic
Generic broadcaster that dispatches events inline.
Log
Broadcaster that writes all dispatched events to a log file.
Emitter
Manages the emission of events to broadcasters.
Currency
Formats currency as html.
Date
Formats dates
DateBase
Base class for date based formatting.
DateTime
Formats Date/Time
PhoneNumber
Formats phone numbers.
Time
Formats time.
Scheduler
CLI application for scheduling jobs.
Data
DTO to pass log information internally.
DestinationBase
Abstract base class for log destinations.
DevNull
Generates no output. Use as dev/null.
Echoer
Outputs log data using the php echo command. (non stdout)
Email
Sends individual log data via email.
File
Appends log data to a file.
Memory
Appends log data to a string.
Slack
Outputs log data to a Slack channel.
Socket
Outputs log data to a socket.
StdErr
Outputs log data to STDERR.
StdOut
Outputs log data to STDOUT.
StdOutStdErr
Outputs debug, info and warn to STDOUT.
SysLog
Outputs log data to syslog.
WebHookPost
Sends individual log data to a webhook.
FilterBase
RunLevel
Standard filter that excludes log data based on the data level vs run level.
Base
CSV
Formats log data into a CSV format.
HTML
Formats log data as html.
HTMLEmail
Formats log data as an html email.
JSON
Formats log data as JSON.
PlainText
Formats log data as plain text.
Raw
Raw log format. Only includes the text. No date/time or level.
Slack
Formats log data for Slack.
Log
Singleton for cross-cutting log access.
Logger
Single Logger implementation.
LogMux
Log multiplexer. Allows writing to multiple logs simultaneously.
Application
Class Application
BadRequestMethodException
Thrown when a bad request method is used when adding a new route.
Base
Factory
Used to instantiate a new controller object.
HttpCodes
MissingMethodException
Thrown by the instantiator function when the specified method is missing from the target controller.
NotFoundException
Thrown by Factory when the requested controller does not exist.
Http404
Event generated when a 404 takes place.
Parameter
Request
Class Request
ValidationException
HttpResponseStatus
Base
Html
Generate html output by combining a layout with a view and data.
Json
Markdown
Generate html output by combining a layout with a view and data.
NotFoundException
Xml
CommandCache
Maps strings to command classes.
CommandFactory
Gets or creates a command object.
CommandNotFoundException
EmptyActionParameterException
Invoker
Gets and invokes a specified command.
AndCriteria
Base
KeyValue
LogicBase
NotCriteria
OrCriteria
Registry
Singleton based registry object.
Base
Core singleton behaviour.
Memcache
Singleton that serializes to memcached.
Memory
Singleton that serializes to memory.
Session
Singleton that serializes to a session.
Filter
Filters allow arbitrary code to be run before or after a route is executed.
Request
RequestMethod
Representation of an http request method.
Route
Static wrapper for the Router singleton.
RouteMap
RouteParamException
Router
Singleton router implementation
Email
Temporary
Temporary file management.
Language
Singleton based language dictionary.
System
System level methods.
SystemTimer
Singleton based timer.
Template
Basic templating engine. Replaces %item% with $fields[ 'item' ].
Timer
Class for performing stopwatch functions.
WebHook
WebHookResponse
Base
Validator base class.
Collection
Allows multiple validators to be chained in one item.
IsArray
Requires an array.
IsBoolean
Requires a boolean.
IsCurrency
Requires a number with a maximum of 2 decimal places.
IsDate
Requires a date with a specific format. Defaults to Y-m-d
IsDateRange
Validates a DateRange data object.
IsDateTime
Requires a date with a specific format. Defaults to Y-m-d
IsDateWithinRange
Requires a date within a specified range.
IsEin
Requires a valid ein format of nn-nnnnnnn
IsEmail
Requires a valid email address format.
IsFloatingPoint
Requires a floating point number.
IsInteger
Requires an integer
IsIpAddress
Requires a valid IsIpAddress format.
IsJson
Validates json data.
IsName
Requires a valid name.
IsNotEmpty
Requires a non empty variable.
IsNotNull
Requires a non-null variable.
IsNumberWithinRange
Requires a number to be within a specific range.
IsNumeric
Requires an integer or float or a numeric string
IsNumericRange
Requires the Minimum to be less than the maximum.
IsObject
Requires an array.
IsPhoneNumber
Requires a valid phone number format nnn-nnn-nnnn
IsPositive
Requires a positive number.
IsRegExPattern
Validator base class.
IsString
Requires a string.
IsStringLength
Validator base class.
IsTime
Requires time to be in a specific format. Defaults to g:i:s A
IsUpc
Validates a UPC code.
IsUrl
Requires a valid url format.

Traits

ObservableTrait
Trait used to make an object observable.
Policy

        
On this page

Search results