Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Polyfill Php71

Polyfill Php71 Laravel Package

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.

View on GitHub
Deep Wiki
Context7

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.

  • Adds the is_iterable() function for detecting array-or-Traversable values
  • Provides Closure::fromCallable() to convert callables into closures
  • Defines the PHP_FLOAT_EPSILON, PHP_FLOAT_MIN, PHP_FLOAT_MAX, and PHP_FLOAT_DIG constants
  • Guards every declaration with function_exists/defined checks to avoid conflicts
  • Lightweight, dependency-free, and safe to require alongside other polyfills
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console