chargebee / chargebee-php

PHP library for the Chargebee API.

Home Page:https://apidocs.chargebee.com/docs/api?lang=php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Requiring ext-json

mihai-stancu opened this issue · comments

Hello,

For Composer based usage specifying ext-json in composer.json require field would be better than the runtime validation used in AbstractChargeBee, allowing composer to check for the presence of the extensions at install time rather than seeing the error at runtime.

const extensions = ['json'];

"require" : {

I can submit this as a PR if relevant.