imdhemy/google-play-billing

Google Play Billing

1.8.1 2025-07-02 08:41 UTC

README

Appstore IAP documentation

Packagist PHP Version Support Total Downloads Latest Stable Version License Continuous Integration

PHP Google Play In-App Purchases

Billing-related endpoints provided by the Google Play Developer API.

Google Play Billing for PHP provides a clean, developer-friendly to interact with https://developers.google.com/android-publisher. This package is ideal for applications that need validate purchases, manage subscriptions and interact with Google Play Product Catalog.

Features

  • Simple integration with the Google Play Developer API
  • Support for purchase and subscription validation
  • Handles authentication using Google service accounts
  • Lightweight, extensible, and framework-agnostic

Installation

Use composer

composer require imdhemy/google-play-billing

Getting Started

Refer to the documentation in the docs for setup instructions, configuration, and usage examples.

Requirements

  • PHP 8.3 or higher
  • Google Cloud project with access to the Android Publisher API
  • A service account with appropriate permissions

Contributing

Feel free to check the contributing guide.

License

The App Store IAP is an open-sourced software licensed under the MIT license.