PHPackages                             furthestworld/audience-network - 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. [API Development](/categories/api)
4. /
5. furthestworld/audience-network

ActiveLibrary[API Development](/categories/api)

furthestworld/audience-network
==============================

audience network export api

v1.3(6y ago)27MITPHPPHP &gt;=7.0

Since Mar 27Pushed 6y ago1 watchersCompare

[ Source](https://github.com/xuanskyer/audience-network)[ Packagist](https://packagist.org/packages/furthestworld/audience-network)[ RSS](/packages/furthestworld-audience-network/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

audience-network
================

[](#audience-network)

[简体中文](README.md) | [ENGLISH](README_EN.md)

[![PHP Composer](https://github.com/xuanskyer/audience-network/workflows/PHP%20Composer/badge.svg?branch=master)](https://github.com/xuanskyer/audience-network/workflows/PHP%20Composer/badge.svg?branch=master)

获取 Facebook 的 Audience Network 广告报告

用法
--

[](#用法)

```

require_once   './vendor/autoload.php';
use AudienceNetwork\AudienceNetwork;

AudienceNetwork::init([
    'access_token' => 'your access token',
    'property_id' => 'your property id'
]);

$params = [
    'metric' => '',
    'breakdowns' => ['placement', 'platform'],
    'since' => date('Y-m-d'),
    'ordering_column' => 'time',
    'ordering_type' => 'descending',
    'aggregation_period' => 'day',

];
$body = AudienceNetwork::async($params);
var_dump($body);
var_dump(AudienceNetwork::$ret);
/**
* 等待Facebook的异步接口处理完成结果后，查询
*/
$res = AudienceNetwork::getAsyncResult();
var_dump(AudienceNetwork::$ret);
var_dump($res);

```

OR

```

require_once   './vendor/autoload.php';
use AudienceNetwork\AudienceNetwork;

$params = [
    'access_token' => 'your access token',
    'property_id' => 'your property id'
    'metric' => '',
    'breakdowns' => ['placement', 'platform'],
    'since' => date('Y-m-d'),
    'ordering_column' => 'time',
    'ordering_type' => 'descending',
    'aggregation_period' => 'day',

];
$body = AudienceNetwork::async($params);
var_dump($body);
var_dump(AudienceNetwork::$ret);
/**
* waiting for  facebook result completed
*/
$res = AudienceNetwork::getAsyncResult();
var_dump(AudienceNetwork::$ret);
var_dump($res);

```

BTW
---

[](#btw)

如果你想通过 `Ad Formats` 来查询细分数据，可以设置 breakdown 参数`display_format`：

```
   'breakdowns' => ['placement', 'platform', 'display_format'],

```

Facebook的官方文档中并没有说明这种用法，不过亲测确实可以这么用。

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~0 days

Total

4

Last Release

2234d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dc12e5659e4b7b49c74fdb0f525f11d4ea7120cac26a06b8bae0164a757068e7?d=identicon)[xuanskyer](/maintainers/xuanskyer)

---

Top Contributors

[![xuanskyer](https://avatars.githubusercontent.com/u/3071881?v=4)](https://github.com/xuanskyer "xuanskyer (10 commits)")

---

Tags

audience-networkfacebookreportphpaudience network

### Embed Badge

![Health badge](/badges/furthestworld-audience-network/health.svg)

```
[![Health](https://phpackages.com/badges/furthestworld-audience-network/health.svg)](https://phpackages.com/packages/furthestworld-audience-network)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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