Download the PHP package mantix/app-store-connect-api without Composer
On this page you can find all versions of the php package mantix/app-store-connect-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mantix/app-store-connect-api
More information about mantix/app-store-connect-api
Files in mantix/app-store-connect-api
Package app-store-connect-api
Short Description A PHP client library for accessing App Store Connect APIs
License MIT
Informations about the package app-store-connect-api
App Store Connect APIs Client Library for PHP
Overview
This library enables developers to automate their interactions with App Store Connect. It's a fork of the excellent cantie/app-store-connect-api-php package, updated to work with modern PHP frameworks including Laravel 10+ and Carbon 3.x.
The client was originally modified from Google API PHP Client with resources specifically added for App Store Connect APIs.
Why This Fork?
This fork was created to address the following needs:
- Support for modern Laravel applications (10+)
- Compatibility with Carbon 3.x
- Future Laravel package development
- Ongoing maintenance and updates
- Enhanced documentation
We maintain high compatibility with the original package while ensuring it works in modern PHP environments.
Installation
The preferred method is via composer. Follow the installation instructions if you do not already have composer installed.
Once composer is installed, execute the following command in your project root to install this library:
Coming Soon: Laravel Package
We're working on a dedicated Laravel package that will provide:
- Simple configuration through Laravel's configuration system
- Integration with Laravel's service container
- Artisan commands for common App Store Connect operations
- Middleware for API rate limiting and token management
- Simple facade access to the API client
Stay tuned for mantix/laravel-app-store-connect
.
Usage Examples
Basic Example
Create New Client
Making a Request
For almost all requests except upload service, we use AppStore service:
For details, you can view the source code in src/Services/AppStore/Resource/*
Aliases
Basic classes are aliased for convenient use, see more at src/aliases.php
Upload Assets to App Store Connect
In this example we will upload one screenshot file to app screenshot set:
Initialize Classes
All object classes that extend from Model.php
can be initialized with an array of attribute names and values, as in the previous example:
Caching
JWT tokens are cached for 10 minutes and only generated if they don't exist or have expired. JWT tokens are not shared between clients. Each client has its own token as defined in src/Client.php
:
Laravel Integration
While we're working on our dedicated Laravel package, here's a simple approach to integrate this library into your Laravel applications:
Service Provider
Create a service provider for App Store Connect API:
Configuration
Update your config/services.php
file:
Usage in Laravel
Now you can inject the service where needed:
Acknowledgements
This package is a fork of cantie/app-store-connect-api-php. We express our gratitude to the original authors for their excellent work. Our goal is to build upon their foundation to ensure compatibility with modern PHP frameworks while maintaining the core functionality.
License
This library is licensed under the MIT License.
All versions of app-store-connect-api with dependencies
google/auth Version ^1.28
guzzlehttp/guzzle Version ^7.0.1
firebase/php-jwt Version ~6.0
monolog/monolog Version ^2.9||^3.0
nesbot/carbon Version ^2.0|^3.0