Download the PHP package neuron-php/core without Composer
On this page you can find all versions of the php package neuron-php/core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package core
Neuron-PHP Core
The foundational component of the Neuron PHP framework, providing essential utilities, string and array manipulation classes, and a comprehensive exception hierarchy for PHP 8.4+ applications.
Table of Contents
- Installation
- Quick Start
- Core Features
- String Manipulation (NString)
- Array Manipulation (NArray)
- Exception System
- Error Constants
- Testing
- Best Practices
- More Information
Installation
Requirements
- PHP 8.4 or higher
- Extensions: curl, json
- Composer
Install via Composer
Quick Start
String Manipulation
Array Manipulation
Core Features
- String Utilities: Object-oriented string manipulation with fluent interface
- Array Utilities: Enhanced array operations with safe access and transformations
- Exception Hierarchy: Comprehensive typed exceptions for better error handling
- Error Constants: PHP implementation of standard C error codes
- Modern PHP 8.4+: Property hooks, union types, and modern syntax
- Type Safety: Strongly typed interfaces and return types
- Method Chaining: Fluent interfaces for readable code
String Manipulation (NString)
The NString class provides powerful string manipulation capabilities with an object-oriented approach.
Basic Operations
String Extraction
Case Conversions
String Formatting
Advanced Features
Array Manipulation (NArray)
The NArray class provides comprehensive array manipulation with safe access and functional programming features.
Basic Operations
Safe Element Access
Transformation Methods
Array Operations
Collection Operations
Sorting and Ordering
Array Slicing and Chunking
Exception System
The core component provides a comprehensive exception hierarchy for consistent error handling across the framework.
Base Exception
NotFound Exceptions
Validation Exception
Method and Request Exceptions
Route Parameter Exception
Empty Action Parameter
Error Constants
The H\Error class provides PHP implementations of standard C error codes:
Testing
Running Tests
Writing Tests
Best Practices
String Operations
Array Operations
Exception Handling
Type Safety
Integration with Other Components
The Core component serves as the foundation for all other Neuron components:
More Information
- Neuron Framework: neuronphp.com
- GitHub: github.com/neuron-php/core
- Packagist: packagist.org/packages/neuron-php/core
License
MIT License - see LICENSE file for details
All versions of core with dependencies
ext-json Version *