Skip to content

Commit 1579c13

Browse files
imdhemyCopilot
andauthored
feat(purchase): Get subscription v2 (#132)
Co-authored-by: Copilot <[email protected]>
1 parent ca6cb5d commit 1579c13

File tree

71 files changed

+2366
-301
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+2366
-301
lines changed

Dockerfile

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
FROM php:8.3-fpm
2+
3+
# Install dependencies
4+
RUN apt-get update && apt-get install -y \
5+
libfreetype6-dev \
6+
libjpeg62-turbo-dev \
7+
libpng-dev \
8+
libzip-dev \
9+
zip \
10+
unzip \
11+
git \
12+
curl \
13+
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
14+
&& docker-php-ext-install -j$(nproc) gd \
15+
&& docker-php-ext-install pdo pdo_mysql zip
16+
17+
# Install Xdebug
18+
RUN pecl install xdebug \
19+
&& docker-php-ext-enable xdebug
20+
21+
# Install Composer
22+
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
23+
24+
# Set working directory
25+
COPY . /var/www
26+
WORKDIR /var/www
27+
28+
# Expose port 9003 for Xdebug
29+
EXPOSE 9003
30+
31+
# Start PHP-FPM server
32+
CMD ["php-fpm"]

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@
1010
<a href="https://github.com/imdhemy/google-play-billing/actions/workflows/ci.yaml"><img src="https://github.com/imdhemy/google-play-billing/actions/workflows/ci.yaml/badge.svg" alt="Continuous Integration"></a>
1111
</p>
1212

13-
## About Google Play Billing
13+
## PHP Google Play Billing
1414

15-
Google Play Billing is a PHP package to handle App Store purchase verification and Server Notifications with expressive
16-
and elegant syntax. This package takes the pain out of development by allowing you to mock receipts and implement their
17-
business logic without actual Google Play receipts!
15+
PHP Google Play Billing provides a simple and easy-to-use interface to interact with
16+
the [Google Play Billing Ecosystem](https://developer.android.com/google/play/billing), whether you want to monetize
17+
through one-time purchases or offer subscriptions to your services. This package covers the Subscriptions and In-App
18+
Purchases API.
1819

1920
## Installation
2021

@@ -29,10 +30,6 @@ composer require imdhemy/google-play-billing
2930
The Google Play Billing documentation can be found in
3031
the [Google Play Billing manual](https://imdhemy.com/laravel-iap-docs/docs/category/google-play-billing/).
3132

32-
# Versions and Changelog
33-
34-
All notable changes to `imdhemy/google-play-billing` will be documented on [Changelog](/CHANGELOG.md).
35-
3633
## Contributing
3734

3835
Feel free to check the [contributing guide](/CONTRIBUTING.md).

0 commit comments

Comments
 (0)