Download the PHP package nocego/yii2-wallet without Composer
On this page you can find all versions of the php package nocego/yii2-wallet. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nocego/yii2-wallet
More information about nocego/yii2-wallet
Files in nocego/yii2-wallet
Package yii2-wallet
Short Description Wallet functionality for Yii2 applications.
License MIT
Informations about the package yii2-wallet
yii2-wallet
A simple wallet management module for Yii2 framework.
Features
PKPass Support
- Create PKPass tickets for Apple Wallet
Google Wallet Support
- Create Google Wallet class
- Check if a Google Wallet class exists
- Create a Google Wallet ticket
- Get a Google Wallet ticket
- Expire a Google Wallet ticket
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
Initial Setup
After you have installed the extension, you need to configure the module in your application configuration file:
Usage
You can use the wallet module in your application as follows:
PKPass examples
Google Wallet create class example
Google Wallet create ticket example
REST API
The module also provides a REST API for managing wallets. You can access the API endpoints at /rest/wallet/.
The following endpoints are available:
POST /rest/wallet/pkpassGet a PKPass ticketPOST /rest/wallet/google-wallet/classCreate a Google Wallet classGET /rest/wallet/google-wallet/{$id}/class-existsCheck if a Google Wallet class existsPOST /rest/wallet/google-wallet/ticketCreate a Google Wallet ticketGET /rest/wallet/google-wallet/ticket/{$id}Get a Google Wallet ticketDELETE /rest/wallet/google-wallet/ticket/{$id}Expire a Google Wallet ticket
Contributing
Contributions are welcome! Please submit a pull request or open an issue to discuss changes.
License
This project is licensed under the MIT License.
All versions of yii2-wallet with dependencies
yiisoft/yii2 Version ^2.0.20
google/auth Version ^1.18
guzzlehttp/guzzle Version *
google/apiclient Version ^2.15
google/apiclient-services Version ~0.300
pkpass/pkpass Version ^2.5.0