PHPackages                             oscar-team/axle - 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. oscar-team/axle

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

oscar-team/axle
===============

php sdk for axle

1.0.6(1y ago)01.3k↓50%1MITPHP

Since Feb 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/oscar-team/axle)[ Packagist](https://packagist.org/packages/oscar-team/axle)[ RSS](/packages/oscar-team-axle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

Axle PHP Integration
====================

[](#axle-php-integration)

This is a PHP library for integrating [Axle](https://docs.axle.insure/welcome) apis

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

[](#installation)

Use the package manager [composer](https://getcomposer.org/) to install.

```
composer require oscar-team/axle
```

Usage
-----

[](#usage)

```
require __DIR__ . '/vendor/autoload.php';

$client = new \OscarTeam\Axle\AxleClient(clientId: 'clientId', clientSecret: 'clientSecret' environment: 'test');
```

### [Ignition](https://docs.axle.insure/api-reference/ignition/start-ignition)

[](#ignition)

```
// Get the ignition or starting url for the axle verification
$client->ignition()->startIgnition($redirectUri, $user);
```

### [Tokens](https://docs.axle.insure/api-reference/tokens/exchange-token)

[](#tokens)

```
// Get the access token for the customer account
$client->tokens()->exchangeToken($authCode);

// Reduce scope for a specified access token.
$client->tokens()->descopeToken($accessToken);
```

### [Accounts](https://docs.axle.insure/api-reference/accounts/account)

[](#accounts)

```
// Get customer account
$client->accounts()->getAccount($accountId, $accessToken, $params);
```

### [Policies](https://docs.axle.insure/api-reference/policies/get-policy)

[](#policies)

```
// Get customer policy
$client->policies()->getPolicy($policyId, $accessToken, $params);

// Get policy report
$client->policies()->getPolicyReport($policyId, $accessToken, $params);

// Validate policies
$client->policies()->ValidatePolicy(string $policyId, string $accessToken, array $rules);
```

### Response:

[](#response)

All the apis will return the Saloon response class `use Saloon\Http\Response;`. Please refer to the [offical](https://docs.saloon.dev/the-basics/responses) documentation of saloon for more details.

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance49

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

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

Total

7

Last Release

375d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/2a3d9c4d98a14bed762d48cf1420c137fa2f5ced405183ad114533bfb81e0c8c?d=identicon)[torecan](/maintainers/torecan)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/oscar-team-axle/health.svg)

```
[![Health](https://phpackages.com/badges/oscar-team-axle/health.svg)](https://phpackages.com/packages/oscar-team-axle)
```

###  Alternatives

[crescat-io/saloon-sdk-generator

Simplified SDK Scaffolding for Saloon

13130.9k7](/packages/crescat-io-saloon-sdk-generator)

PHPackages © 2026

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