PHP Package: symfony/type-info

Symfony Type Info library provides information about PHP types for better type handling and validation in Symfony applications.

Current Version: 7.3.0
Last Updated: 2025-05-29
PHP Requirement: >=8.2
Dependencies:
symfony/polyfill-php80
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Symfony Type Info is a powerful PHP library that offers detailed insights into PHP types, enabling developers to enhance type safety, validation, and handling in Symfony projects. With a wide array of utility functions and classes, this library simplifies type-related operations, ensuring robustness and efficiency in your codebase.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 7.3.0

Download Download v7.3.0

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/symfony/type-info/7.3.0/loader.php';
require_once 'libs/symfony/polyfill-php80/1.32.0/loader.php';

use Symfony\Component\TypeInfo\Type;
use Symfony\Component\TypeInfo\Types;

$obj = new Type();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.