From 6d68fd28355140eb1289dc3902cb64dc71601aee Mon Sep 17 00:00:00 2001 From: Joseph Ajibodu Date: Sun, 8 Sep 2024 22:19:49 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/README.md b/README.md index a71364c8..c87be51f 100644 --- a/README.md +++ b/README.md @@ -9,24 +9,4 @@ ## Introduction -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. - -## Official Documentation - -Documentation for Cashier can be found on the [Laravel website](https://laravel.com/docs/billing). - -## Contributing - -Thank you for considering contributing to Cashier! You can read the contribution guide [here](.github/CONTRIBUTING.md). - -## Code of Conduct - -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). - -## Security Vulnerabilities - -Please review [our security policy](https://github.com/laravel/cashier/security/policy) on how to report security vulnerabilities. - -## License - -Laravel Cashier is open-sourced software licensed under the [MIT license](LICENSE.md). +This will be a Paystack variant of Laravel Cashier for Nigerian and African market. From 0365f94cc2adce144b52a83dadfaa26ac605a114 Mon Sep 17 00:00:00 2001 From: cremirdevio Date: Sun, 8 Sep 2024 22:39:19 +0100 Subject: [PATCH 2/2] preparation --- .gitignore | 2 ++ LICENSE.md | 1 + README.md | 51 +++++++++++++++++++++++++++++++++++++++++++++++++-- composer.json | 18 +++++++----------- 4 files changed, 59 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 660fc15e..fc8653e5 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ composer.lock /phpunit.xml .phpunit.result.cache +.idea +.vscode \ No newline at end of file diff --git a/LICENSE.md b/LICENSE.md index 79810c84..8384e008 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -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 diff --git a/README.md b/README.md index c87be51f..22530234 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,53 @@ License

-## Introduction +# Laravel Cashier for Paystack -This will be a Paystack variant of Laravel Cashier for Nigerian and African market. +[![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) + +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. + +## Installation + +You can install the package via composer: + +```bash +composer require josephajibodu/cashier-paystack +``` + +## Usage + +// TODO: Add usage instructions + +## Testing + +```bash +composer test +``` + +## Changelog + +Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently. + +## Contributing + +Please see [CONTRIBUTING](CONTRIBUTING.md) for details. + +## 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 + +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. \ No newline at end of file diff --git a/composer.json b/composer.json index b4a4441e..46d2cf6f 100644 --- a/composer.json +++ b/composer.json @@ -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": {