PHPackages                             drmmr763/php-asyncapi-annotations - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. drmmr763/php-asyncapi-annotations

ActiveLibrary[Queues &amp; Workers](/categories/queues)

drmmr763/php-asyncapi-annotations
=================================

PHP annotations/attributes library for AsyncAPI 3.0.0 specification

v1.0.0(5mo ago)520911MITPHPPHP ^8.3CI passing

Since Nov 12Pushed 5mo agoCompare

[ Source](https://github.com/drmmr763/php-asyncapi-annotations)[ Packagist](https://packagist.org/packages/drmmr763/php-asyncapi-annotations)[ RSS](/packages/drmmr763-php-asyncapi-annotations/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (1)

PHP AsyncAPI Annotations
========================

[](#php-asyncapi-annotations)

A comprehensive PHP library providing annotations/attributes for the AsyncAPI 3.0.0 specification. This library enables you to define AsyncAPI specifications using modern PHP 8.3+ attributes.

[![Latest Stable Version](https://camo.githubusercontent.com/34e695c6016bc2a934a96bed696e29b2f2ab562a7134d65a55d00653cd506bea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302e302d626c75652e737667)](https://github.com/drmmr763/php-asyncapi-annotations/releases)[![Tests](https://github.com/drmmr763/php-asyncapi-annotations/workflows/Tests/badge.svg)](https://github.com/drmmr763/php-asyncapi-annotations/actions)[![PHP Version](https://camo.githubusercontent.com/5c8ce4571ddf4b6b8ca847e0c4c079de98fc6460eb7eae9c81ca63319c21f546/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e332d626c75652e737667)](https://php.net/)[![License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](LICENSE)

Features
--------

[](#features)

- ✅ **Complete AsyncAPI 3.0.0 Support** - Full implementation of all AsyncAPI 3.0.0 objects and properties
- ✅ **Modern PHP 8.3+** - Uses PHP 8.3+ attributes with strict typing
- ✅ **Protocol Bindings** - Support for all protocol-specific bindings (Kafka, MQTT, AMQP, HTTP, WebSockets, etc.)
- ✅ **Security Schemes** - Complete security scheme support (OAuth2, API Keys, HTTP Auth, etc.)
- ✅ **Reusable Components** - Full support for reusable components via the Components object
- ✅ **Specification Extensions** - Support for custom x-\* fields
- ✅ **PSR Compliant** - Follows PSR-12 coding standards and PSR-4 autoloading
- ✅ **Well Tested** - Comprehensive PHPUnit test suite
- ✅ **Portable** - Designed to be integrated into Symfony bundles, Laravel packages, and other frameworks

Requirements
------------

[](#requirements)

- PHP 8.3 or higher

Installation
------------

[](#installation)

Install via Composer:

```
composer require drmmr763/php-asyncapi-annotations
```

Usage
-----

[](#usage)

### Basic Example

[](#basic-example)

```
