awesome-kphp
awesome-kphp copied to clipboard
A curated list of amazingly awesome KPHP libraries, resources and software
Awesome KPHP
A curated list of amazingly awesome KPHP libraries, resources and software.
Table of Contents
- Libraries
- PHP polyfills
- Libraries
- FFI Libraries
- Tools
- Developer tools
- Infrastructure tools
- Games
- Learning materials
- Articles (ru)
- Talks (ru)
- Community
PHP polyfills
Libraries that can help to reduce the feature gap between the KPHP and PHP.
For example, some builtin PHP extensions that are written in C can be implemented in PHP. That PHP library can be used as a KPHP polyfill so it can use that functionallity even without a C library port.
- VKCOM/kphp-polyfills - use KPHP-specific functions from PHP
Libraries
Libraries that work in both PHP and KPHP.
-
quasilyte/KFinalize -
register_shutdown_function()
without limits - quasilyte/KTemplate - A simple text template engine with Twig-like syntax
FFI libraries
FFI-based libraries. Usually can be used in both PHP and KPHP.
- quasilyte/KLua - liblua5 bindings to run Lua scripts on the fly
- quasilyte/KSQLite - fully functional SQLite3 bindings
- quasilyte/kphp-sdlite - SDL2 bindings example
- comm644/sigmalab-xmlparser - xml_parser implementation for KPHP
- comm644/kphp-nusoap - NuSOAP adopted for KPHP
Developer tools
Various CLI programs, editor/IDE plugins, language servers and so on. Everything that can make the KPHP developer life easier.
- VKCOM/KPHPStorm - PhpStorm plugin that makes IDE understand KPHP specifics
- VKCOM/ktest - a tool to execute unit tests and benchmarks for KPHP
- VKCOM/noverify - a static analyzer (linter) that supports PHP and KPHP
Infrastructure tools
Various tools that helps you to integrate the KPHP toolchain.
- VKCOM/nocc - A distributed C++ compiler: like distcc, but faster; works nicely with KPHP
Games
Games created with KPHP.
- quasilyte/kphp-game - a simple rogue-like RPG game with 2D graphics (uses SDL2 for rendering)
Articles (ru)
- Как мы наш большой проект на KPHP мигрировали
- Заворачиваем облачный PHP-сервис в коробку — с защитой, лицензией, и при этом ускорились
- nocc — распределённый компилятор для гигантских проектов на С++
- Цветные функции: ищем плохие архитектурные паттерны
- Встраиваем Lua в PHP через FFI
- Используем SQLite в KPHP и PHP через FFI
- Создаём игру на KPHP с помощью FFI и SDL
- Пробуем KPHP: реально ли его использовать в своих проектах
- Заметки KPHP: тестирование и бенчмарки
- ВКонтакте снова выкладывает KPHP
Talks (ru)
- Разбор nocolor и концепции цветных функций в KPHP
- nocc: распределённый компилятор, который быстрее distcc
- KPHP FFI
- Плюсы и минусы компилируемого PHP
- PHP scripts -> Release binaries
- KPHP внутри VK: что там у нас происходит
Community
- https://t.me/kphp_chat - main KPHP users chat in Telegram
- https://t.me/kphp_dev_blog - KPHP developers blog (currently only in Russian)