ptondereau/biscuit-php-stubs
Composer 安装命令:
composer require ptondereau/biscuit-php-stubs
包简介
IDE and static-analysis stubs for the biscuit_php extension (Biscuit authorization tokens)
README 文档
README
IDE and static-analysis stubs for biscuit_php, the PHP extension for Biscuit authorization tokens.
This repository is a read-only mirror. The stubs are maintained in the
stubs/directory of ptondereau/biscuit-php and synced here automatically. Please open issues and pull requests against the main repository.
Installation
composer require --dev ptondereau/biscuit-php-stubs
What you get
- One stub file per class under the
Biscuit\AuthandBiscuit\Exceptionnamespaces. - Rich docblocks: usage examples, precise PHPStan/Psalm-friendly types, and
@throwsannotations matching the extension's exception hierarchy.
The stubs are for IDE autocompletion and static analysis only. Every stub method throws an Error when called, so a missing extension fails loudly instead of silently. At runtime, install the extension itself, for example with PIE:
pie install ptondereau/biscuit-php
Versioning
Releases of this package track the releases of the biscuit_php extension: the same tag is published on both repositories.
License
Apache-2.0, same as the main repository.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2026-07-07