Requirements
Data Helpers is designed to work with modern PHP applications and supports multiple frameworks.
System Requirements
Section titled “System Requirements”PHP Version
Section titled “PHP Version”- Minimum: PHP 8.2
- Recommended: PHP 8.3 or 8.4
- Tested: PHP 8.2, 8.3, 8.4
PHP Extensions
Section titled “PHP Extensions”Required extensions (usually included in standard PHP installations):
json- For JSON supportmbstring- For string operationsxml- For XML support (optional)
Composer
Section titled “Composer”- Composer 2.0 or higher
Framework Compatibility
Section titled “Framework Compatibility”Data Helpers is framework-agnostic and works with or without frameworks.
Laravel
Section titled “Laravel”| Laravel Version | Supported | Notes |
|---|---|---|
| Laravel 11.x | ✅ Yes | Fully tested |
| Laravel 10.x | ✅ Yes | Fully tested |
| Laravel 9.x | ✅ Yes | Fully tested |
| Laravel 8.x | ❌ No | Use Laravel 9+ |
Symfony
Section titled “Symfony”| Symfony Version | Supported | Notes |
|---|---|---|
| Symfony 7.x | ✅ Yes | Fully tested |
| Symfony 6.x | ✅ Yes | Fully tested |
| Symfony 5.x | ❌ No | Use Symfony 6+ |
Doctrine
Section titled “Doctrine”| Doctrine Version | Supported | Notes |
|---|---|---|
| Doctrine ORM 3.x | ✅ Yes | Fully tested |
| Doctrine ORM 2.x | ✅ Yes | Fully tested |
| Doctrine ORM 1.x | ❌ No | Use Doctrine 2+ |
Plain PHP
Section titled “Plain PHP”Data Helpers works with plain PHP 8.2+ without any framework.
Optional Dependencies
Section titled “Optional Dependencies”All dependencies are optional. Data Helpers will automatically detect and use them if available.
Laravel Collections
Section titled “Laravel Collections”composer require illuminate/collectionsEnables Laravel Collection support in DataAccessor and DataMutator.
Laravel Database
Section titled “Laravel Database”composer require illuminate/databaseEnables Eloquent Model support.
Symfony Console
Section titled “Symfony Console”composer require symfony/consoleEnables Symfony console commands.
Symfony Validator
Section titled “Symfony Validator”composer require symfony/validatorEnables Symfony validation integration.
Doctrine Collections
Section titled “Doctrine Collections”composer require doctrine/collectionsEnables Doctrine Collection support.
Doctrine ORM
Section titled “Doctrine ORM”composer require doctrine/ormEnables Doctrine Entity support.
Development Requirements
Section titled “Development Requirements”For development and testing:
- PHPUnit 10+
- PHPStan 1.10+
- PHP CS Fixer 3+
- Pest 2+
Test Matrix
Section titled “Test Matrix”Data Helpers is tested against multiple PHP versions and framework combinations:
- PHP 8.2, 8.3, 8.4
- Laravel 10, 11
- Symfony 6, 7
- Doctrine 2, 3
See Test Matrix for detailed test results.
Browser Requirements
Section titled “Browser Requirements”For TypeScript generation feature:
- Modern browser with ES6+ support
- Node.js 18+ (for development)
Next Steps
Section titled “Next Steps”- Installation - Install Data Helpers
- Quick Start - Get started in 5 minutes
- Configuration - Configure for your environment