PHPackages                             aardwarq/aardwarq-php - 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. aardwarq/aardwarq-php

ActiveLibrary[API Development](/categories/api)

aardwarq/aardwarq-php
=====================

PHP client for aardwarq.com API

06[1 PRs](https://github.com/Aardwarq/aardwarq-php/pulls)PHP

Since Sep 15Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Aardwarq/aardwarq-php)[ Packagist](https://packagist.org/packages/aardwarq/aardwarq-php)[ RSS](/packages/aardwarq-aardwarq-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Aardwarq PHP library
====================

[](#aardwarq-php-library)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

This is the PHP API client for [Aardwarq.com](http://aardwarq.com).

Install
-------

[](#install)

Via Composer

```
$ composer require aardwarq/aardwarq-php
```

Usage
-----

[](#usage)

```
// Configure Aardwarq API Client
$provider = new Aardwarq\Api\OAuth2Provider([
    'clientId'     => 'CLIENT_ID',
    'clientSecret' => 'CLIENT_SECRET',
    'redirectUri'  => 'http://aardwarq.com/'
]);

$token = $provider->getAccessToken('clientCredentials');
$api = new Aardwarq\Api\Client($token->accessToken);

// You can set defaults for every event
\Aardwarq\Api\Event\Event::setDefaults([
    'context' => 'CLI', //
    'environment' => 'development',
    'version' => 'v0.1.1', // Version of your app
]);

// Register exception handler
set_exception_handler(function (\Exception $exception) use ($api) {
    echo 'Handling!';
    $apiException = new \Aardwarq\Api\Event\Exception();
    $apiException
        ->setMessage($exception->getMessage())
        ->setStackTrace($exception->getTrace())
    ;

    $result = $api->send($apiException);
});
```

Credits
-------

[](#credits)

- [Marin Crnković](https://github.com/anorgan)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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.

### Community

Maintainers

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

---

Top Contributors

[![anorgan](https://avatars.githubusercontent.com/u/1270389?v=4)](https://github.com/anorgan "anorgan (16 commits)")

### Embed Badge

![Health badge](/badges/aardwarq-aardwarq-php/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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