← Back to Packages

Package

PHP Mixed Converter

PHP

Convert mixed values to string, int, or float safely.

Overview

PHP utility class with static methods to convert mixed values to strings, ints, or floats. Useful when strict types are enabled or when the exact type is unknown (e.g. request input in Laravel).

Installation

composer require labrodev/php-mixed-converter

Tips

  • MixedConverter::toString(), toInt(), and toFloat().
View on GitHub →

Stay Updated

Join the mailing list for technical discourse, architectural logs, and research notes. No spam, ever.