Neuron-PHP is an array of PHP composer based packages that when combined make up a lightweight MVC framework.
It consists of the following components:
Level 1: Foundation
- Formatting - Formatting for currency, dates/times and phone numbers.
- Data - Data objects, parsers, generic settings manager (ini,yaml,memory,env).
- Validation - Validation for many different types of data.
- Patterns - Design patterns such as Singleton, Observer, Criteria, Command and Registry.
- Util - Core utilities like timers, language mapping, .env handling and temporary files.
Level 2: Infrastructure
- Core - The base component for building applications including CLI.
- Logging - An extensive logging component with many log destinations and formatters.
- Events - Emit events to various broadcasters.
- Routing - A simple router that can handle RESTful routes.
Level 3: Architecture
- MVC - A lightweight MVC framework.
- Jobs - Job scheduling and execution.
Example Usages