PHPackages                             snow/apple - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. snow/apple

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

snow/apple
==========

这是一个Apple SDK.

v1.0.4(4y ago)025proprietaryPHP &gt;=7.2

Since Jun 28Compare

[ Source](https://github.com/zhaoyang1214/php-vendor-apple)[ Packagist](https://packagist.org/packages/snow/apple)[ RSS](/packages/snow-apple/feed)WikiDiscussions Synced 1w ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

php-vendor-apple
================

[](#php-vendor-apple)

这是一个Apple SDK.

基本使用：
-----

[](#基本使用)

***请求数据与Apple Search Ads各接口数据一致***

```
use Snow\Apple\Apple;
use Snow\Apple\Technology\SearchAds\CampaignGetAll;
use Snow\Apple\Technology\SearchAds\AdGroupLevelReports;

$privateKey = 'xxx';
$publicKey = 'xxxx';
$clientId = 'xxx';
$teamId = 'xxxx';
$keyId = 'xxx';
$audience = 'xxx';
$alg = 'ES256';

$app = new Apple($privateKey, $publicKey, $clientId, $teamId, $keyId, $audience, $alg);

// 获取数据，分页默认limit 10, offset 0
$data = $app->execute(CampaignGetAll::class);

// 分页
$data = $app->execute(CampaignGetAll::class, 0, 1000);

$campaignId = 100000;
$data = $app->execute(AdGroupLevelReports::class, $campaignId, [
            'selector' => [
                'orderBy' => [
                    [
                        'field' => 'installs',
                        'sortOrder' => 'ASCENDING',
                    ]
                ]
            ],
            'granularity' => 'DAILY',
            'startTime' => '2021-06-22',
            'endTime' => '2021-06-28',
        ]);
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~26 days

Total

6

Last Release

1743d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22496108?v=4)[赵阳](/maintainers/zhaoyang1214)[@zhaoyang1214](https://github.com/zhaoyang1214)

---

Tags

Apple SDKApple technologiesApple Search Ads

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/snow-apple/health.svg)

```
[![Health](https://phpackages.com/badges/snow-apple/health.svg)](https://phpackages.com/packages/snow-apple)
```

###  Alternatives

[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

762297.9k53](/packages/civicrm-civicrm-core)[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k113.1M997](/packages/laravel-socialite)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

121269.8k1](/packages/ellaisys-aws-cognito)[firefly-iii/data-importer

Firefly III Data Import Tool.

8165.8k](/packages/firefly-iii-data-importer)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
