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

ActiveLibrary[API Development](/categories/api)

keinher/circle-php
==================

PHP implementation of Cirlce's API as an SDK.

v0.0.1(4y ago)01221[1 PRs](https://github.com/IribarrenWeb/circle-php/pulls)MITPHPPHP &gt;=7.3|^8.0

Since Aug 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/IribarrenWeb/circle-php)[ Packagist](https://packagist.org/packages/keinher/circle-php)[ RSS](/packages/keinher-circle-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (7)Versions (2)Used By (0)

Circle php sdk
==============

[](#circle-php-sdk)

Circle php sdk support for laravel.

Supported circle apis
---------------------

[](#supported-circle-apis)

- Payments
- Payouts

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

[](#installation)

Use the package manager composer to install the circle sdk.

```
composer require keinher/circle-php
```

Oficial circle documentation
----------------------------

[](#oficial-circle-documentation)

[Circle documentation](https://developers.circle.com/docs)

Usage
-----

[](#usage)

Create a instance of circle sdk.

```
use Keinher\Circle;

$circle = new Circle('sandbox',['payments' => $payments_api_key), 'payouts' => $payouts_api_key]);
```

### - Payments api

[](#--payments-api)

```
use Keinher\Circle\Entities\User;
use Keinher\Circle\Entities\Billing;

$circle->payments->create(
		array $source,
		User $userMetadata,
		float $amount,
		string $currency = 'USD',
		string $verification = 'none',
		string $description = 'Payment description',
		?array $data = null
	); // Create payment

$circle->payments->createCard(
		Billing $billing,
		string $encryptedData,
		string $keyId,
		User $userMetadata,
		string $expMonth,
		string $expYear
	); // Create card

$circle->payments->createAchBank(
		string $plaidToken,
		Billing $billing,
		User $userMetadata
	); // Create Ach bank

$circle->payments->get($id); // Get payment
$circle->payments->getCard($id); // Get card
$circle->payments->getBank($id); // Get bank
$circle->payments->cancel($id); // Cancel/refund payment
```

### - Payouts api

[](#--payouts-api)

```
$circle->payouts->create(
        string $type = 'ach',
        float $amount,
        string $destination_id,
        string $beneficiary_email,
        string $currency = 'USD',
        ?array $source = null
    ); // Create payout

$circle->payouts->get($id); // Get payout
```

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

[](#contributing)

Pull requests are welcome.

License
-------

[](#license)

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

1746d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ed0f36421eff960015bc512b33ed8619f73742b6f05865a71d2ec253fdb53c6?d=identicon)[IribarrenWeb](/maintainers/IribarrenWeb)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[mpociot/laravel-apidoc-generator

Generate beautiful API documentation from your Laravel application

3.5k3.1M12](/packages/mpociot-laravel-apidoc-generator)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

169425.2k8](/packages/pocketmine-bedrock-protocol)[specialtactics/l5-api

Dependencies for the Laravel API Boilerplate package

3672.8k2](/packages/specialtactics-l5-api)[esign/laravel-conversions-api

A laravel wrapper package around the Facebook Conversions API

69145.4k](/packages/esign-laravel-conversions-api)[allyans3/steam-market-api-v2

Steam Market API v2

1937.3k](/packages/allyans3-steam-market-api-v2)[didww/didww-api-3-php-sdk

PHP SDK for DIDWW API 3

1218.2k](/packages/didww-didww-api-3-php-sdk)

PHPackages © 2026

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