mikk150 / yii2-jsonx-parser
Yii2 extension for parsin JSONx requests
1.0.0
2022-04-25 14:00 UTC
Requires
- php: ^7.2 | ^8.0
- grom/jsonx: ^2.0
- yiisoft/yii2: ^2.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-10-25 16:49:59 UTC
README
Have you ever thought - How to mess with your fellow developers? How to enjoy big-blue's amazing idea "how to merge inferior XML with vastly superior JSON?". Fear not, JSONx is for you!
Yii2 module for parsing JSONx requests.
Installation:
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist mikk150/yii2-jsonx-parser "^1.0.0"
or add
"mikk150/yii2-jsonx-parser": "^1.0.0"
to the require section of your composer.json.
Configuration:
'components' => [
'request' => [
'parsers' => [
'application/xml' => mikk150\jsonx\JsonXParser::class,
]
]
]