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.
Download zenditplatform/zendit-php-sdk
More information about zenditplatform/zendit-php-sdk
Files in zenditplatform/zendit-php-sdk
Package zendit-php-sdk
Short Description PHP client for Zendit API
License MIT
Homepage https://zendit.io
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
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0