symfony/polyfill-php71
Symfony polyfill backporting PHP 7.1 features—like the iterable pseudo-type—to older runtimes (PHP 5.3+). It lets libraries and frameworks use newer syntax while remaining compatible with legacy PHP installations.
symfony/polyfill-php71 backports key features from PHP 7.1 to older PHP versions, letting libraries use modern APIs without dropping support for legacy runtimes. It is part of the Symfony Polyfill family and integrates seamlessly through Composer autoloading—simply require the package and the missing functionality becomes available globally with no configuration.
is_iterable() function for detecting array-or-Traversable valuesClosure::fromCallable() to convert callables into closuresPHP_FLOAT_EPSILON, PHP_FLOAT_MIN, PHP_FLOAT_MAX, and PHP_FLOAT_DIG constantsfunction_exists/defined checks to avoid conflictsHow can I help you explore Laravel packages today?