Download the PHP package happyslucker/changenow-api without Composer

On this page you can find all versions of the php package happyslucker/changenow-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package changenow-api

PHP Version Type

About ChangeNOW API


ChangeNOW API is a type-safe, feature-complete PHP library for the ChangeNOW cryptocurrency exchange REST API. It wraps both v1 and v2 endpoints with strictly typed DTOs, modular services, and full test coverage — no magic arrays, no guesswork.

✨ Features


📦 Installation


Ensure you have ext-curl and ext-json installed.

🚀 Quick Start


1. Fetch Available Currencies

Retrieve all tradable assets from the ChangeNOW platform.

2. Estimate & Create an Exchange

Get a rate estimate and immediately create a standard-flow transaction.

3. Fixed-Rate Exchange (Reverse)

Create a fixed-rate transaction where you specify the exact output amount.

4. Validate an Address

Check if a cryptocurrency address is valid before sending funds.

🛠️ Architecture


Module Structure

The library is split into domain-aligned services, each accessible via a lazy-loaded property on the client.

Service Endpoints Description
$client->common() v1 Currencies, pairs, transaction status
$client->standardFlow() v1 Floating-rate estimation & creation
$client->fixedRateFlow() v1 Fixed-rate markets & creation
$client->markets() v2 Currencies, amounts, ranges, estimates
$client->exchangeActions() v2 Continue / refund public exchanges
$client->privateTransfer() v2 Private transfer estimation & creation
$client->validate() v2 Address & user address validation
$client->v2Exchange() v2 V2 exchange CRUD

Data Transfer Objects

Every API response is mapped to a readonly DTO. No associative arrays leak out of the library — you always work with typed objects.

Exception Handling

All API errors throw ChangeNowException with the upstream message and HTTP status code.

⚙️ Requirements


📜 License


The MIT License (MIT).

Created by HappySlucker. Happy coding! 🍻


All versions of changenow-api with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4
guzzlehttp/guzzle Version ^7.0
guzzlehttp/psr7 Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package happyslucker/changenow-api contains the following files

Loading the files please wait ...