PHPackages                             acceptcrypto/acceptcryptophp - 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. [Payment Processing](/categories/payments)
4. /
5. acceptcrypto/acceptcryptophp

ActiveProject[Payment Processing](/categories/payments)

acceptcrypto/acceptcryptophp
============================

AcceptCryptoPHP is a library by AcceptCrypto to interact with AcceptCrypto Checkout.

1.0(8y ago)0281MITPHPPHP &gt;=5.4

Since Feb 23Pushed 7y ago1 watchersCompare

[ Source](https://github.com/AcceptCrypto/AcceptCryptoPHP)[ Packagist](https://packagist.org/packages/acceptcrypto/acceptcryptophp)[ RSS](/packages/acceptcrypto-acceptcryptophp/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

AcceptCrypto PHP library
========================

[](#acceptcrypto-php-library)

Documentation:

The PHP library is meant for creating custom checkout forms and verifying a payment in the back-end. It's a good practise to keep verifying the payment till its fully confirmed.

### Getting started

[](#getting-started)

You can either install our library using composer `composer require acceptcrypto/acceptcryptophp` or download the source code directly from [GitHub](https://github.com/acceptcrypto/acceptcryptophp)

### Integrating

[](#integrating)

#### Start checkout process

[](#start-checkout-process)

Add an email address to a payment automatically, to make sure customers use the same email as they did on your website for example. Email address is optional but recommended.

```
$response = AcceptCrypto::checkout({{TOKEN}}, {{CUSTOMER EMAIL ADDRESS}});
```

The response will be as followed;

1. error
    - Boolean, returns if the request has encountered any errors.
2. message
    - String, only returns after an error has occurred
3. token
    - String, payment token to be used in our Javascript library or API.
4. url
    - String, can be redirected to to let the user pay

#### Create a custom checkout form

[](#create-a-custom-checkout-form)

This code can be used to create a custom checkout form in the back-end rather than on our dashboard. The background and customer email address are both optional parameters but recommended. The background color will be the AcceptCrypto color #FABD58 by default.

```
$response = AcceptCrypto::custom({{NAME}}, {{AMOUNT}}, {{CURRENCY}}, {{BACKGROUND}}, {{CUSTOMER EMAIL ADDRESS}}, {{API KEY}});
```

The response will be as followed;

1. error
    - Boolean, returns if the request has encountered any errors.
2. message
    - String, only returns after an error has occurred
3. token
    - String, payment token to be used in our Javascript library or API.
4. url
    - String, can be redirected to to let the user pay

#### Checking payment id

[](#checking-payment-id)

Check if the payment has been successful from the above returned payment id.

```
$tx = AcceptCrypto::tx({{ID}}, {{API KEY}});
```

The response will be as followed;

1. error
    - Boolean, returns if the request has encountered any errors.
2. message
    - String, only returns after an error has occurred.
3. paid
    - Boolean, returns if the payment has been paid.
4. confirmed
    - Boolean, returns if the payment has been fully confirmed.
5. date
    - Timestamp, returns when the payment was made.

#### Checking email

[](#checking-email)

Check if the given email address has paid successfully.

```
$email = AcceptCrypto::email({{EMAIL}}, {{API KEY}});
```

The response will be as followed;

1. error
    - Boolean, returns if the request has encountered any errors.
2. message
    - String, only returns after an error has occurred.
3. paid
    - Boolean, returns if the payment has been paid.
4. confirmed
    - Boolean, returns if the payment has been fully confirmed.
5. lastPaid
    - Timestamp, returns the date when the email has paid last.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

3002d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3b38f2b6a5c0c866a5aaf87cef3637e8749043e3bc3867b597861737ccc09ef8?d=identicon)[svenvdz](/maintainers/svenvdz)

---

Top Contributors

[![svenvdz](https://avatars.githubusercontent.com/u/17217352?v=4)](https://github.com/svenvdz "svenvdz (27 commits)")

---

Tags

bitcoinlitecoincryptocurrencymerchantsrippleethereumdashMoneroBitcoinCashMuntPHP

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/acceptcrypto-acceptcryptophp/health.svg)

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

###  Alternatives

[ccxt/ccxt

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

41.5k328.9k1](/packages/ccxt-ccxt)[kornrunner/ccxt

A PHP cryptocurrency trading library with support for more than 90 bitcoin/altcoin exchanges

371.6k](/packages/kornrunner-ccxt)[coinpaymentsnet/coinpayments-php

A PHP wrapper for the CoinPayments.net v1 API.

55126.2k](/packages/coinpaymentsnet-coinpayments-php)[plisio/plisio-api-php

155.8k](/packages/plisio-plisio-api-php)

PHPackages © 2026

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