Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chiiya/passes
PHP library for creating iOS and Android Wallet Passes
https://github.com/chiiya/passes
Last synced: 7 days ago
JSON representation
PHP library for creating iOS and Android Wallet Passes
- Host: GitHub
- URL: https://github.com/chiiya/passes
- Owner: chiiya
- License: mit
- Created: 2022-03-03T12:16:26.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-14T11:06:58.000Z (24 days ago)
- Last Synced: 2024-10-29T21:10:24.862Z (8 days ago)
- Language: PHP
- Size: 539 KB
- Stars: 35
- Watchers: 4
- Forks: 16
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# Passes
[![Latest Version on Packagist](https://img.shields.io/packagist/v/chiiya/passes.svg?style=flat-square)](https://packagist.org/packages/chiiya/passes)
[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/chiiya/passes/run-tests?label=tests)](https://github.com/chiiya/passes/actions?query=workflow%3Arun-tests+branch%3Amaster)
[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/chiiya/passes/lint?label=code%20style)](https://github.com/chiiya/passes/actions?query=workflow%3Alint+branch%3Amaster)
[![Total Downloads](https://img.shields.io/packagist/dt/chiiya/passes.svg?style=flat-square)](https://packagist.org/packages/chiiya/passes)PHP library for creating iOS and Android Wallet Passes.
## Installation
You can install the package via composer:
```bash
composer require chiiya/passes
```## Usage
First, acquire the necessary credentials and certificates as described in [documentation/requirements.md](documentation/requirements.md).
### Apple Examples
- [examples/apple_coupon.php](examples/apple_coupon.php)
### Google Examples
- [examples/google_offer.php](examples/google_offer.php)
- [examples/google_generic.php](examples/google_generic.php)## Testing
```bash
just test
```## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.