astropayments/astropayments-php

AstroPayments php sdk

2.0.1 2020-03-03 00:01 UTC

This package is auto-updated.

Last update: 2024-05-29 05:08:13 UTC


README

AstroPayments PHP SDK version 2.1.6

Requirements

PHP 5.5 and later

Composer

Installation & Usage

Composer

To install run composer require astropayments/astropayments-php then run composer install

Or clone git and run composer install within the project directory

Dependencies

  • curl
  • json
  • mbstring

Getting Started

After following installation instructions run the following:

<?php
require_once(__DIR__ . '/vendor/autoload.php');

AstroPayments\API::setAuthentication('Enter_API_Key_Here','Enter_API_Pin_Here');

$result=AstroPayments\Transactions::get();
?>

Author

706@astropayments.com