Search by

vkcom / kphp-polyfills

vk_com

PHP implementations of functions supported by KPHP natively

Package info

github.com/VKCOM/kphp-polyfills

pkg:composer/vkcom/kphp-polyfills

Statistics

Installs: 3 280

Dependents: 8

Suggesters: 0

Stars: 16

Open Issues: 8


README

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.