Skip to content

PHP implementations of functions supported by KPHP natively (a Composer package)

License

Notifications You must be signed in to change notification settings

VKCOM/kphp-polyfills

Repository files navigation

kphp-polyfills

Polyfills are PHP implementations of functions supported by KPHP natively.
Without polyfills, your code can be compiled, but can't be run by plain PHP.

How to install and use this package

  • Run composer require vkcom/kphp-polyfills

  • If it's your first installed package, call composer autoload:

require_once '.../vendor/autoload.php';
  • You are done! All KPHP functions would work on plain PHP.