Download the PHP package zenditplatform/zendit-php-sdk without Composer

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

Zendit SDK for PHP

The Zendit SDK for PHP allows developers to easily interact with the Zendit API using PHP. The SDK provides convenient methods for making API requests and handling responses, abstracting away the details of HTTP requests.

Installation & Usage

Requirements

PHP 7.4 and later. Also compatible with PHP 8.0 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:

Note: Your API key can be found on the Zendit Dashboard.

Example Application

If you prefer, you can get started with our example app as a base.

Step 1: Setup a New Project

Begin by copying the example app to your own directory. Once done, install the necessary dependencies by running the following command in your terminal:

Step 2: Configuration

Next, you'll need to set the ZENDIT_API_KEY environment variable. You can find this key on your dashboard.

Fill in a .env file in the root directory of the example application, and replace YOUR_KEY_HERE with your actual API key:

Step 3: Run the Example

Now you're all set! To run the example and see the Zendit SDK for PHP in action, execute the following command:

This will run the example.php script, which demonstrates the basic usage of the Zendit SDK.

SDK Guide

For additional documentation checkout the SDK Guide

Getting help

If you need assistance with installing or using the library, please refer to the Developers site first. If you cannot find the answer to your question, you can contact support.

If you've instead found a bug in the library or would like new features added, go ahead and open issues or pull requests against this repo!

Contributing

Bug fixes, docs, and library improvements are always welcome. Please refer to our Contributing Guide for detailed information on how you can contribute.

You are welcome to suggest changes and submit PRs illustrating the changes. You can find more info about this in the Contributing Guide.

If you're not familiar with the GitHub pull request/contribution process, this is a nice tutorial.


All versions of zendit-php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
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 zenditplatform/zendit-php-sdk contains the following files

Loading the files please wait ....