Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.x prep #1715

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
composer.lock
/phpunit.xml
.phpunit.result.cache
.idea
.vscode
1 change: 1 addition & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
The MIT License (MIT)

Copyright (c) 2024 Joseph Ajibodu
Copyright (c) Taylor Otwell

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
47 changes: 37 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,53 @@
<a href="https://packagist.org/packages/laravel/cashier"><img src="https://img.shields.io/packagist/l/laravel/cashier" alt="License"></a>
</p>

## Introduction
# Laravel Cashier for Paystack

Laravel Cashier provides an expressive, fluent interface to [Stripe's](https://stripe.com) subscription billing services. It handles almost all of the boilerplate subscription billing code you are dreading writing. In addition to basic subscription management, Cashier can handle coupons, swapping subscription, subscription "quantities", cancellation grace periods, and even generate invoice PDFs.
[![Latest Version on Packagist](https://img.shields.io/packagist/v/your-vendor/cashier-paystack.svg?style=flat-square)](https://packagist.org/packages/your-vendor/cashier-paystack)
[![Total Downloads](https://img.shields.io/packagist/dt/your-vendor/cashier-paystack.svg?style=flat-square)](https://packagist.org/packages/your-vendor/cashier-paystack)
[![License](https://img.shields.io/packagist/l/your-vendor/cashier-paystack.svg?style=flat-square)](https://packagist.org/packages/your-vendor/cashier-paystack)

## Official Documentation
Laravel Cashier for Paystack provides an expressive, fluent interface to [Paystack's](https://paystack.com) payment services. It handles almost all of the boilerplate payment code you are dreading writing. In addition to basic payment management, Cashier can handle subscriptions, invoicing, and more.

Documentation for Cashier can be found on the [Laravel website](https://laravel.com/docs/billing).
## Installation

## Contributing
You can install the package via composer:

```bash
composer require josephajibodu/cashier-paystack
```

## Usage

// TODO: Add usage instructions

## Testing

```bash
composer test
```

Thank you for considering contributing to Cashier! You can read the contribution guide [here](.github/CONTRIBUTING.md).
## Changelog

## Code of Conduct
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).
## Contributing

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

## Security Vulnerabilities

Please review [our security policy](https://github.com/laravel/cashier/security/policy) on how to report security vulnerabilities.
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

## Credits

- [Your Name](https://github.com/josephajibodu)
- [All Contributors](../../contributors)

## License

Laravel Cashier is open-sourced software licensed under the [MIT license](LICENSE.md).
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

## Acknowledgements

This package is based on [Laravel Cashier](https://github.com/laravel/cashier-stripe), adapted for use with Paystack.
18 changes: 7 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
{
"name": "laravel/cashier",
"description": "Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.",
"keywords": ["laravel", "stripe", "billing"],
"name": "josephajibodu/cashier-paystack",
"description": "Laravel Cashier provides an expressive, fluent interface to Paystack's payment services.",
"keywords": ["laravel", "paystack", "billing", "nigeria", "africa"],
"license": "MIT",
"support": {
"issues": "https://github.com/laravel/cashier/issues",
"source": "https://github.com/laravel/cashier"
"issues": "https://github.com/josephajibodu/cashier-paystack/issues",
"source": "https://github.com/josephajibodu/cashier-paystack"
},
"authors": [
{
"name": "Taylor Otwell",
"email": "taylor@laravel.com"
},
{
"name": "Dries Vints",
"email": "dries@laravel.com"
"name": "Joseph Ajibodu",
"email": "josephajibodu@gmail.com"
}
],
"require": {
Expand Down