Download the PHP package musheabdulhakim/paystack without Composer

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

GitHub Workflow Status (master) Total Downloads Latest Version License


Requirement

Requires Composer Requires PHP 8.2+

Paystack PHP SDK

A robust, fluent and object-oriented PHP SDK for the Paystack API, designed for ease of use and extensibility.


Table of Contents


Introduction

The SDK provides a comprehensive and intuitive way to interact with the Paystack API. Designed with developer experience in mind, it offers a fluent, object-oriented interface to various Paystack endpoints, making payment integration seamless and efficient for your PHP applications.

This SDK supports a wide array of Paystack services, including:


Key Features


Installation

The easiest way to install the Paystack PHP SDK is via Composer:

`


Quick Start

To get started, initialize the Paystack client with your secret key. You can then immediately begin interacting with any available Paystack API endpoint.

Simple Initialization

Advanced Initialization with Factory

For more granular control over the underlying HTTP client, base URI, or default headers, use the Paystack::factory() method. This is useful for advanced scenarios like proxying requests, custom logging, or integrating with a specific PSR-18 client implementation (e.g., Guzzle).


API Reference

The SDK is structured with dedicated classes for each major Paystack API resource, providing clear and organized access to their respective methods. Click on the links below to view detailed documentation and sample code for each class.


Extending the SDK

The SDK is built with extensibility at its core. If you need to customize how HTTP requests are sent (e.g., for specific logging, advanced error handling, or integrating with a custom HTTP client not directly supported by PSR-18), you can implement your own Transporter and provide it to the Factory. This allows you to tailor the SDK's behavior to your exact needs.

You can also easily add new API modules if Paystack introduces new endpoints not yet covered by the SDK, or if you wish to group specific functionalities into your own custom classes.


Contributing

We welcome contributions to the Paystack PHP SDK! Whether it's bug reports, feature requests, or pull requests, your input is valuable. Please refer to the CONTRIBUTING.md file (if available) for guidelines on how to contribute.


License

This Paystack PHP SDK is open-sourced software licensed under the MIT license.


All versions of paystack with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2|^8.3|^8.4
php-http/discovery Version ^1.20
php-http/multipart-stream-builder Version ^1.4
psr/http-client Version ^1.0
psr/http-client-implementation Version *
psr/http-factory-implementation Version *
psr/http-message Version ^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 musheabdulhakim/paystack contains the following files

Loading the files please wait ...