PHPackages                             ads2/reporting-api - 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. ads2/reporting-api

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

ads2/reporting-api
==================

Tools for communicating with AdsSquared's reporting server

v1.0(5y ago)0472PHP

Since Sep 18Pushed 4y ago2 watchersCompare

[ Source](https://github.com/DncDev/reporting-api-php)[ Packagist](https://packagist.org/packages/ads2/reporting-api)[ RSS](/packages/ads2-reporting-api/feed)WikiDiscussions production Synced today

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

AdsSquared Reporting API
========================

[](#adssquared-reporting-api)

The AdsSquared Reporting API allows you to retrieve various reports for your AdsSquared account.

Installation
------------

[](#installation)

```
composer require ads2/reporting-api

```

Usage
-----

[](#usage)

To load reports, use the Reporter facade. Provide each method with the required arguments and a report will be created and a jobID returned to the object.

Once a jobID is available, you can fetch the report with the fetchReport() method. Successfully fetched reports are available on the report's CSV property.

Available Reports:

- Device
- DeviceType
- Source
- SourceType
- DeviceHourly
- DeviceTypeHourly
- SourceHourly
- Tags

```
use AdsSquared\Facade\Reporter;

// Instantiate your report object, begin the creation of this report
$device = Reporter::Device('myUsername', 'myAPIKey', 'Jan 1, 2020', 'Jan 30, 2020', 'us', 10000);

// Retrieve the report
$device->fetchReport(); // Returns true if it retrieves the report; false otherwise

// Write the CSV report to a file
$pointer = fopen('JanReport.csv', 'w');
fputcsv($pointer, $device->csv);
fclose($pointer);

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.1% 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 ~2 days

Total

2

Last Release

2112d ago

Major Versions

v0.99 → v1.02020-09-21

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14075597?v=4)[ads2](/maintainers/ads2)[@ADS2](https://github.com/ADS2)

---

Top Contributors

[![rsteiner-dnic](https://avatars.githubusercontent.com/u/7559389?v=4)](https://github.com/rsteiner-dnic "rsteiner-dnic (4 commits)")[![bsmith-dnc](https://avatars.githubusercontent.com/u/53493071?v=4)](https://github.com/bsmith-dnc "bsmith-dnc (3 commits)")

### Embed Badge

![Health badge](/badges/ads2-reporting-api/health.svg)

```
[![Health](https://phpackages.com/badges/ads2-reporting-api/health.svg)](https://phpackages.com/packages/ads2-reporting-api)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M45](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

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

751291.4k43](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[oat-sa/tao-core

TAO core extension

66143.7k124](/packages/oat-sa-tao-core)

PHPackages © 2026

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