ext-php-rs-bindings
БесплатноБез исполняемых скриптовНе проверенext-php-rs PHP 8.2+ extensions from a Rust core: php_class/php_function, Zval conversion, PhpException mapping, loading, PHPUnit. Use when writing or…
от Goldziher★ 182 звезды на GitHubОб этом скилле
- Use
ext-php-rsfor PHP 8.2+ native extensions. Use#[php_class]and#[php_function]macros. - Map Rust types to PHP via
FromZval/IntoZvaltraits. ReturnPhpResult<T>for fallible operations. - Map Rust errors to PHP exceptions:
PhpException::from(...)with specific classes (InvalidArgumentException,RuntimeException). - Use
#[php_method]for class methods. Implement__constructfor PHP constructors. - Build with
cargo build --release. Load extension viaphp.ini(extension=your_ext.so) or PECL distribution. - Test from PHP using PHPUnit. Verify extension loading with
php -m | grep extension_name. - Use
ZendClassObject<T>for wrapping Rust structs as PHP objects. - PHP uses reference counting — avoid circular references in wrapped Rust structs. Implement
Dropfor cleanup. - PHP is single-threaded per request — offload CPU-intensive work to Rust, return results synchronously.
- Keep PHP extension thin — business logic in Rust, PHP provides typed interface.
- Anti-patterns: panics in PHP functions, blocking operations without timeout, raw pointer manipulation.
Установить ext-php-rs-bindings в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ext-php-rs-bindings?
ext-php-rs PHP 8.2+ extensions from a Rust core: php_class/php_function, Zval conversion, PhpException mapping, loading, PHPUnit. Use when writing or reviewing ext-php-rs bindings.
Как установить скилл ext-php-rs-bindings?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ext-php-rs-bindings запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic