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

ActiveLibrary[API Development](/categories/api)

alfacoins/alfacoins-api-php
===========================

PHP Library for interacting with the ALFAcoins.com API.

v1.2(3y ago)15094MITPHPPHP &gt;=5.4

Since Oct 3Pushed 3y agoCompare

[ Source](https://github.com/ALFAcoins/alfacoins-api-php)[ Packagist](https://packagist.org/packages/alfacoins/alfacoins-api-php)[ RSS](/packages/alfacoins-alfacoins-api-php/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)DependenciesVersions (4)Used By (0)

Description
-----------

[](#description)

**alfacoins-api-php** is a PHP Library for interacting with [ALFAcoins API](https://www.alfacoins.com/developers).

**alfacoins-api-php** provides cryptocurrency payment integration on your website via [ALFAcoins](https://www.alfacoins.com).

**alfacoins-api-php** allows you to integrate payments with the following cryptocurrencies:

- Bitcoin (BTC)
- Ethereum (ETH)
- XRP (XRP)
- Bitcoin Cash (BCH)
- Litecoin (LTC)
- Dash (DASH)

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

[](#installation)

alfacoins-api-php is available on [Packagist](https://packagist.org/packages/alfacoins/alfacoins-api-php) (using semantic versioning), and installation via [composer](https://getcomposer.org) is the recommended way to install alfacoins-api-php. Just add this line to your `composer.json` file:

```
"alfacoins/alfacoins-api-php": "~v1.2"
```

or run

```
composer require alfacoins/alfacoins-api-php
```

Note that the `vendor` folder and the `vendor/autoload.php` script are generated by composer; they are not part of alfacoins-api-php.

Alternatively, if you're not using composer, copy the contents of the alfacoins-api-php folder somewhere and load each class file manually:

```
