Download the PHP package makepay/makepay-php without Composer

On this page you can find all versions of the php package makepay/makepay-php. 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 makepay-php

MakePay PHP SDK

Official Composer SDK for MakePay server-side integrations. Use it to create crypto payment links, donation pages, anonymous public links, customer portals, subscriptions, POS terminals, products, Simple Shop storefronts, invoices, bookkeeping records, branded domains, operational settings, and signed webhook handlers from PHP backends.

Install

The SDK supports PHP 7.4 or newer and requires ext-json. ext-curl is used when available; otherwise JSON requests fall back to PHP streams.

Configure

Create a MakePay API key in MakeCrypto and keep the secret on your server only.

The client sends X-MakeCrypto-Key-Id and X-MakeCrypto-Key-Secret headers to the MakePay partner API. You can pass baseUrl for a non-production MakeCrypto API origin, and checkoutBaseUrl for a custom MakePay checkout origin.

Payment Links

Read, update, and email existing links:

Donations

Anonymous Payment Links

Anonymous links do not use a MakePay API key. They require an explicit settlement route because MakePay cannot read merchant wallet settings.

Checkout URLs And Embeds

Donation pages have URL helpers too:

Customers And Subscriptions

POS, Products, And Simple Shop

Invoices And Bookkeeping

Expenses can be created manually or from wallet activity:

Document uploads accept a local path string or CURLFile:

Branding And Operational APIs

Webhook Verification

Read the exact raw request body before parsing JSON.

Use Webhook::verify() when you only need a boolean result.

Method Coverage

Area SDK methods
Payment links createPaymentLink, listPaymentLinks, getPaymentLink, updatePaymentLink, sendPaymentRequestEmail
Donations createDonationLink, listDonationLinks, getDonationLink, updateDonationLink
Anonymous links Client::createAnonymousPaymentLink
Checkout hosted, embedded, modal, button, iframe, and donation URL helpers
Customers listCustomers, upsertCustomer, createCustomerPortal
Subscriptions listSubscriptions, createSubscription
POS terminals listPosTerminals, createPosTerminal, getPosTerminal, updatePosTerminal
Products listProducts, createProduct, getProduct, updateProduct, listProductDownloads, createProductDownload
Simple Shop getShop, updateShop, getShopBuilder, updateShopBuilder, getShopDomain, updateShopDomain, refreshShopDomain, coupon and order methods
Bookkeeping summary, invoice, expense, document upload/OCR, and reconciliation methods
Branding getBranding, updateBranding, refreshBrandingDomains
Operations getSettings, updateSettings, listDestinationAssets, listWebhookRequests
Webhooks Webhook::verify, Webhook::parse, plus client proxy methods

Data And Errors

Payload arrays use the same camelCase field names as the MakePay API and npm SDK. Use strings for decimal money values when precision matters, and ISO date strings for date fields such as issueDate.

API errors throw MakePay\MakePayException with the HTTP status code and decoded response body.


All versions of makepay-php with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-json Version *
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 makepay/makepay-php contains the following files

Loading the files please wait ...