├── .codeclimate.yml ├── .editorconfig ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── README.md ├── Yii.php ├── composer.json ├── phpunit.xml ├── src ├── Channel.php ├── ChannelException.php ├── ChargeForm.php ├── CodeAutoCompletion │ ├── Charge.php │ ├── ListObj.php │ ├── Refund.php │ └── Retrieve.php ├── Hooks.php ├── HooksAction.php ├── HooksInterface.php ├── Model.php ├── PingppComponent.php ├── RedEnvelopeForm.php ├── TransferForm.php └── WechatTrait.php └── tests ├── ChannelTest.php ├── ChargeFormTest.php ├── HooksActionTest.php ├── HooksTest.php ├── PingppComponentTest.php ├── PingppHooksComponent.php ├── RedEnvelopeFormTest.php ├── TestCase.php ├── TransferFormTest.php ├── bootstrap.php ├── data ├── charge.php ├── red-envelope.php ├── transfer.php └── wechat-charge.php ├── main.php ├── rsa_private_key.pem └── rsa_public_key.pem /.codeclimate.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/.codeclimate.yml -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /composer.lock 3 | *.swp 4 | /.idea 5 | /runtime 6 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/README.md -------------------------------------------------------------------------------- /Yii.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/Yii.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/Channel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/src/Channel.php -------------------------------------------------------------------------------- /src/ChannelException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/src/ChannelException.php -------------------------------------------------------------------------------- /src/ChargeForm.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/src/ChargeForm.php -------------------------------------------------------------------------------- /src/CodeAutoCompletion/Charge.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/src/CodeAutoCompletion/Charge.php -------------------------------------------------------------------------------- /src/CodeAutoCompletion/ListObj.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/src/CodeAutoCompletion/ListObj.php -------------------------------------------------------------------------------- /src/CodeAutoCompletion/Refund.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/src/CodeAutoCompletion/Refund.php -------------------------------------------------------------------------------- /src/CodeAutoCompletion/Retrieve.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/src/CodeAutoCompletion/Retrieve.php -------------------------------------------------------------------------------- /src/Hooks.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/src/Hooks.php -------------------------------------------------------------------------------- /src/HooksAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/src/HooksAction.php -------------------------------------------------------------------------------- /src/HooksInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/src/HooksInterface.php -------------------------------------------------------------------------------- /src/Model.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/src/Model.php -------------------------------------------------------------------------------- /src/PingppComponent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/src/PingppComponent.php -------------------------------------------------------------------------------- /src/RedEnvelopeForm.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/src/RedEnvelopeForm.php -------------------------------------------------------------------------------- /src/TransferForm.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/src/TransferForm.php -------------------------------------------------------------------------------- /src/WechatTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/src/WechatTrait.php -------------------------------------------------------------------------------- /tests/ChannelTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/tests/ChannelTest.php -------------------------------------------------------------------------------- /tests/ChargeFormTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/tests/ChargeFormTest.php -------------------------------------------------------------------------------- /tests/HooksActionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/tests/HooksActionTest.php -------------------------------------------------------------------------------- /tests/HooksTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/tests/HooksTest.php -------------------------------------------------------------------------------- /tests/PingppComponentTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/tests/PingppComponentTest.php -------------------------------------------------------------------------------- /tests/PingppHooksComponent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/tests/PingppHooksComponent.php -------------------------------------------------------------------------------- /tests/RedEnvelopeFormTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/tests/RedEnvelopeFormTest.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/tests/TestCase.php -------------------------------------------------------------------------------- /tests/TransferFormTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/tests/TransferFormTest.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/tests/bootstrap.php -------------------------------------------------------------------------------- /tests/data/charge.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/tests/data/charge.php -------------------------------------------------------------------------------- /tests/data/red-envelope.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/tests/data/red-envelope.php -------------------------------------------------------------------------------- /tests/data/transfer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/tests/data/transfer.php -------------------------------------------------------------------------------- /tests/data/wechat-charge.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/tests/data/wechat-charge.php -------------------------------------------------------------------------------- /tests/main.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/tests/main.php -------------------------------------------------------------------------------- /tests/rsa_private_key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/tests/rsa_private_key.pem -------------------------------------------------------------------------------- /tests/rsa_public_key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/idarex/pingpp-yii2/HEAD/tests/rsa_public_key.pem --------------------------------------------------------------------------------