Download the PHP package devdraftengineer/php without Composer

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

devdraft

A comprehensive payment processing and business management API that enables seamless integration of cryptocurrency and traditional payment methods.

Installation & Usage

Requirements

PHP 8.1 and later.

Composer

To install the bindings via Composer, add the following to composer.json:

Then run composer install

Manual Installation

Download the files and include autoload.php:

Getting Started

Please follow the installation procedure and then run the following:

Examples

This SDK includes comprehensive examples demonstrating common use cases. Each example includes simple usage, advanced workflows, and error handling scenarios.

Quick Start Example

Available Example Files

Example Structure

Each example file contains:

For detailed examples, see the examples directory.

API Endpoints

All URIs are relative to https://api.devdraft.ai

Class Method HTTP request Description
APIHealthApi healthControllerCheckV0 GET /api/v0/health Authenticated health check endpoint
APIHealthApi healthControllerPublicHealthCheckV0 GET /api/v0/health/public Public health check endpoint
AppBalancesApi balanceControllerGetAllBalances GET /api/v0/balance Get all stablecoin balances for an app
AppBalancesApi balanceControllerGetEURCBalance GET /api/v0/balance/eurc Get EURC balance for an app
AppBalancesApi balanceControllerGetUSDCBalance GET /api/v0/balance/usdc Get USDC balance for an app
CustomersApi customerControllerCreate POST /api/v0/customers Create a new customer
CustomersApi customerControllerFindAll GET /api/v0/customers Get all customers with filters
CustomersApi customerControllerFindOne GET /api/v0/customers/{id} Get a customer by ID
CustomersApi customerControllerUpdate PATCH /api/v0/customers/{id} Update a customer
ExchangeRatesApi exchangeRateControllerGetEURToUSDRate GET /api/v0/exchange-rate/eur-to-usd Get EUR to USD exchange rate
ExchangeRatesApi exchangeRateControllerGetExchangeRate GET /api/v0/exchange-rate Get exchange rate between specified currencies
ExchangeRatesApi exchangeRateControllerGetUSDToEURRate GET /api/v0/exchange-rate/usd-to-eur Get USD to EUR exchange rate
InvoicesApi invoiceControllerCreate POST /api/v0/invoices Create a new invoice
InvoicesApi invoiceControllerFindAll GET /api/v0/invoices Get all invoices
InvoicesApi invoiceControllerFindOne GET /api/v0/invoices/{id} Get an invoice by ID
InvoicesApi invoiceControllerUpdate PUT /api/v0/invoices/{id} Update an invoice
LiquidationAddressesApi liquidationAddressControllerCreateLiquidationAddress POST /api/v0/customers/{customerId}/liquidation_addresses Create a new liquidation address for a customer
LiquidationAddressesApi liquidationAddressControllerGetLiquidationAddress GET /api/v0/customers/{customerId}/liquidation_addresses/{liquidationAddressId} Get a specific liquidation address
LiquidationAddressesApi liquidationAddressControllerGetLiquidationAddresses GET /api/v0/customers/{customerId}/liquidation_addresses Get all liquidation addresses for a customer
PaymentIntentsApi paymentIntentControllerCreateBankPaymentIntent POST /api/v0/payment-intents/bank Create a bank payment intent
PaymentIntentsApi paymentIntentControllerCreateStablePaymentIntent POST /api/v0/payment-intents/stablecoin Create a stable payment intent
PaymentLinksApi paymentLinksControllerCreate POST /api/v0/payment-links Create a new payment link
PaymentLinksApi paymentLinksControllerFindAll GET /api/v0/payment-links Get all payment links
PaymentLinksApi paymentLinksControllerFindOne GET /api/v0/payment-links/{id} Get a payment link by ID
PaymentLinksApi paymentLinksControllerUpdate PUT /api/v0/payment-links/{id} Update a payment link
ProductsApi productControllerCreate POST /api/v0/products Create a new product
ProductsApi productControllerFindAll GET /api/v0/products Get all products
ProductsApi productControllerFindOne GET /api/v0/products/{id} Get a product by ID
ProductsApi productControllerRemove DELETE /api/v0/products/{id} Delete a product
ProductsApi productControllerUpdate PUT /api/v0/products/{id} Update a product
ProductsApi productControllerUploadImage POST /api/v0/products/{id}/images Upload images for a product
TaxesApi taxControllerCreate POST /api/v0/taxes Create a new tax
TaxesApi taxControllerDeleteWithoutId DELETE /api/v0/taxes Tax ID required for deletion
TaxesApi taxControllerFindAll GET /api/v0/taxes Get all taxes with filters
TaxesApi taxControllerFindOne GET /api/v0/taxes/{id} Get a tax by ID
TaxesApi taxControllerRemove DELETE /api/v0/taxes/{id} Delete a tax
TaxesApi taxControllerUpdate PUT /api/v0/taxes/{id} Update a tax
TaxesApi taxControllerUpdateWithoutId PUT /api/v0/taxes Tax ID required for updates
TestPaymentsApi testPaymentControllerCreatePaymentV0 POST /api/v0/test-payment Process a test payment
TestPaymentsApi testPaymentControllerGetPaymentV0 GET /api/v0/test-payment/{id} Get payment details by ID
TestPaymentsApi testPaymentControllerRefundPaymentV0 POST /api/v0/test-payment/{id}/refund Refund a payment
TransfersApi transferControllerCreateDirectBankTransfer POST /api/v0/transfers/direct-bank Create a direct bank transfer
TransfersApi transferControllerCreateDirectWalletTransfer POST /api/v0/transfers/direct-wallet Create a direct wallet transfer
TransfersApi transferControllerCreateExternalBankTransfer POST /api/v0/transfers/external-bank-transfer Create an external bank transfer
TransfersApi transferControllerCreateExternalStablecoinTransfer POST /api/v0/transfers/external-stablecoin-transfer Create an external stablecoin transfer
TransfersApi transferControllerCreateStablecoinConversion POST /api/v0/transfers/stablecoin-conversion Create a stablecoin conversion
WalletsApi walletControllerGetWallets GET /api/v0/wallets Get wallets for an app
WebhooksApi webhookControllerCreate POST /api/v0/webhooks Create a new webhook
WebhooksApi webhookControllerFindAll GET /api/v0/webhooks Get all webhooks
WebhooksApi webhookControllerFindOne GET /api/v0/webhooks/{id} Get a webhook by id
WebhooksApi webhookControllerRemove DELETE /api/v0/webhooks/{id} Delete a webhook
WebhooksApi webhookControllerUpdate PATCH /api/v0/webhooks/{id} Update a webhook

Models

Authorization

Authentication schemes defined for the API:

x-client-key

x-client-secret

idempotency-key

Tests

To run the tests, use:

Author

About this package

This PHP package is automatically generated by the OpenAPI Generator project:


All versions of php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^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 devdraftengineer/php contains the following files

Loading the files please wait ...