Download the PHP package ptondereau/biscuit-php-stubs without Composer
On this page you can find all versions of the php package ptondereau/biscuit-php-stubs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ptondereau/biscuit-php-stubs
More information about ptondereau/biscuit-php-stubs
Files in ptondereau/biscuit-php-stubs
Package biscuit-php-stubs
Short Description IDE and static-analysis stubs for the biscuit_php extension (Biscuit authorization tokens)
License Apache-2.0
Homepage https://github.com/ptondereau/biscuit-php
Informations about the package biscuit-php-stubs
biscuit-php-stubs
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
packages/stubs/directory of ptondereau/biscuit-php and synced here automatically. Please open issues and pull requests against the main repository.
Installation
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:
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.