braadiv / yii2-oas3
Yii2 Open Api Swagger 3 integration (PHP 8.4 LTS Modernized Fork)
Requires
- php: >=8.1 || ^8.2 || ^8.3 || ^8.4
- ext-json: *
- bower-asset/swagger-ui: ^3.20
- braadiv/swagger-php: ^3.3
- yiisoft/yii2: ~2.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
- genxoft/yii2-oas3: v0.2.1
README
⚠️ This is a PHP 8.4 compatibility fork — NOT an original work.
Credits & Attribution
This package is a modernized fork of the original genxoft/yii2-oas3, created and maintained by Simon Rodin.
All original code, design, and intellectual property belong to the original author(s).
The only modifications made in this fork are:
- Updating dependency to
braadiv/swagger-php(PHP 8.4 compatible) - Updating
composer.jsonto support PHP 8.1–8.4 LTS - Adding
"replace": {"genxoft/yii2-oas3": "self.version"}as a drop-in replacement - Retaining 100% backward compatibility as a drop-in replacement
Why this fork?
The original package pins its dependency to zircote/swagger-php: ^3.0, which had deprecation warnings under PHP 8.4 LTS. This fork pairs with braadiv/swagger-php to provide a safe, drop-in replacement under PHP 8.4.
Installation
composer require braadiv/yii2-oas3
Original Package Information
| Original Package | genxoft/yii2-oas3 |
| Original Version | v0.2-stable |
| Original Author | Simon Rodin |
| Original License | MIT |
| Fork Maintainer | braadiv (github.com/braadiv) |
| PHP Compatibility | `>=8.1 |
Changes from Original
See CHANGELOG.md for a detailed list of all modifications.
License
This fork retains the same license as the original package (MIT).
All rights and credits belong to the original author.