Download the PHP package iamolayemi/laravel-paystack without Composer

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

Laravel Paystack

Latest Version on Packagist Total Downloads Build Status Code Quality Code Coverage PHP Version License

A comprehensive Laravel package for seamless integration with the Paystack payment gateway. This package provides an expressive and convenient way to interact with the Paystack API within your Laravel application.

โœจ Features

๐Ÿ“‹ Requirements

๐Ÿš€ Installation

You can install the package via Composer:

The package will automatically register itself if you're using Laravel's auto-discovery feature.

โš™๏ธ Configuration

Environment Variables

Add your Paystack credentials to your .env file:

Publishing Configuration (Optional)

๐Ÿ“– Quick Start

Basic Usage

Using Helper Function

Getting Specific Data

Verifying Transactions

๐Ÿ”ง Available Endpoints

The package provides access to all Paystack API endpoints:

Transactions

Customers

Transfers

Plans & Subscriptions

And Many More...

๐Ÿ›ก๏ธ Error Handling

The package provides comprehensive error handling with custom exception classes:

๐Ÿงช Testing

Running Tests

Mock Testing

๐Ÿ“š Documentation

For detailed documentation, visit https://laravel-paystack.netlify.app

Additional Resources

๐Ÿ”ง Development

Prerequisites

Quick Setup

Available Commands

The project uses a comprehensive Makefile for development tasks:

Testing Commands

Code Quality Commands

Security & Validation

CI/CD Commands

Maintenance Commands

Documentation Commands

Docker Commands (Optional)

Release Commands

Development Workflow

  1. Setup: make dev-setup
  2. Make changes: Edit code
  3. Test: make test
  4. Check quality: make analyse
  5. Fix style: make fix
  6. Full validation: make ci
  7. Commit: git commit -m "Your message"
  8. Push: git push

Code Quality Standards

The project enforces high code quality standards:

Testing Strategy

Static Analysis

Code Style

Troubleshooting

IDE Setup

For the best development experience:

  1. PHPStorm/IntelliJ: Enable PHPStan integration
  2. VS Code: Install PHP extensions
  3. EditorConfig: Project includes .editorconfig
  4. PHP CS Fixer: Configuration in .php-cs-fixer.php

Pre-commit Hooks

Consider setting up pre-commit hooks:

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Setup

  1. Fork the repository
  2. Clone your fork
  3. Install dependencies: composer install
  4. Run tests: make test
  5. Make your changes
  6. Ensure all tests pass: make ci
  7. Submit a pull request

๐Ÿ› Bug Reports

If you discover any bugs, please create an issue on GitHub.

๐Ÿ”’ Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

๐Ÿ“„ License

The MIT License (MIT). Please see License File for more information.

๐Ÿ™ Credits

๐Ÿ”— Links

๐Ÿ“Š Statistics


All versions of laravel-paystack with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2
guzzlehttp/guzzle Version ^7.3
illuminate/support Version ^9.0|^10.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 iamolayemi/laravel-paystack contains the following files

Loading the files please wait ....