Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vkcom/kphp-polyfills
PHP implementations of functions supported by KPHP natively (a Composer package)
https://github.com/vkcom/kphp-polyfills
kphp
Last synced: about 1 month ago
JSON representation
PHP implementations of functions supported by KPHP natively (a Composer package)
- Host: GitHub
- URL: https://github.com/vkcom/kphp-polyfills
- Owner: VKCOM
- License: gpl-3.0
- Created: 2020-11-09T18:26:45.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-15T16:20:11.000Z (12 months ago)
- Last Synced: 2024-04-14T09:38:38.886Z (7 months ago)
- Topics: kphp
- Language: PHP
- Homepage: https://vkcom.github.io/kphp/kphp-language/php-extensions/php-polyfills.html
- Size: 214 KB
- Stars: 14
- Watchers: 10
- Forks: 6
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```php
require_once '.../vendor/autoload.php';
```* You are done! All KPHP functions would work on plain PHP.