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 1mo ago

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 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

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

2064d ago

Major Versions

v0.99 → v1.02020-09-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/57655260795fde987db09ff53f4e4f4619a764a785eca04222fb9ec4db5333f6?d=identicon)[ads2](/maintainers/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

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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