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)02.1k↑219%2MITPHP

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 yesterday

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

33

—

LowBetter than 72% of packages

Maintenance46

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community10

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.

###  Release Activity

Cadence

Every ~12 days

Total

7

Last Release

420d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/45585631?v=4)[Adnan Shoukat](/maintainers/dani821)[@dani821](https://github.com/dani821)

![](https://avatars.githubusercontent.com/u/10504548?v=4)[Torecan Celik](/maintainers/torecan)[@torecan](https://github.com/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

13232.4k10](/packages/crescat-io-saloon-sdk-generator)[saloonphp/pagination-plugin

Official Pagination Plugin For Saloon v3

102.0M106](/packages/saloonphp-pagination-plugin)[whatsdiff/whatsdiff

See what's changed in your project's dependencies

771.2k](/packages/whatsdiff-whatsdiff)[myoutdeskllc/salesforce-php

salesforce library for php8+

1579.5k](/packages/myoutdeskllc-salesforce-php)

PHPackages © 2026

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