-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from evryn/2.x
Upgrade to 2.x
- Loading branch information
Showing
119 changed files
with
6,269 additions
and
1,721 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.{yml,yaml}] | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ phpunit.xml | |
coverage | ||
coverage.xml | ||
.phpunit.result.cache | ||
docker-compose.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
preset: laravel | ||
|
||
finder: | ||
exclude: | ||
- "tests" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
version: "3.4" | ||
|
||
services: | ||
php: | ||
image: php:7.3-alpine | ||
volumes: | ||
- .:/var/www/html | ||
|
||
composer: | ||
image: composer:2 | ||
volumes: | ||
- .:/app | ||
- composer-cache:/tmp/cache | ||
working_dir: /app | ||
command: '-V' | ||
|
||
volumes: | ||
composer-cache: | ||
name: composer-cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# About Toman (تومَن) | ||
Toman is a Laravel package that makes working with popular payment gateways much easier. | ||
|
||
There are dozens of gateway handlers; Here is why you may choose Laravel Toman: | ||
|
||
## Heavily Tested | ||
<a target="_blank" href="https://travis-ci.com/evryn/laravel-toman"> | ||
<img alt="Build Status" src="https://img.shields.io/travis/com/evryn/laravel-toman/master.svg?style=flat-square"> | ||
</a> | ||
<a target="_blank" href="https://codecov.io/gh/evryn/laravel-toman"> | ||
<img alt="Code Coverage" src='https://img.shields.io/codecov/c/github/evryn/laravel-toman?label=coverage&style=flat-square'> | ||
</a> | ||
|
||
Payment is a critical topic, and its handlers must be tested from all aspects. Laravel Toman has an automated test suit with 100% coverage. On every released build, we're forced to pass all tests so you can add a payment to your code with confidence. | ||
|
||
## Elegant API | ||
|
||
APIs are pretty much easy to use! Requesting a new payment and verifying it will add ~10 lines to your codebase! 😎 | ||
|
||
## Supports Multiple Gateways | ||
|
||
We are planning to add new gateway providers. They'll require minimum possible changes in your code. | ||
Currently, following gateways are available to use: | ||
✅ [Zarinpal.com](https://zarinpal.com) | ||
✅ [IDPay.ir](https://idpay.ir) | ||
🔘 [YekPay.com](https://yekpay.com/) | ||
🔘 [Pay.ir](https://pay.ir/) | ||
🔘 [PayPing.ir](https://www.payping.ir/) | ||
🔘 ... | ||
|
||
## Easy to Test | ||
|
||
Writing a test for your application and want to see if you're using the package correctly? No problem at all! | ||
|
||
See our testing instructions in your payment gateway section! | ||
|
||
<br></br> | ||
➡ Why don't you see yourself? [Quick Start](getting-started.md) | ||
|
||
➡ Looking for old documents? <a href="v1/index.html">V1 Docs</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* [English](/) | ||
* [<span class="fa">فارسی</span>](/fa/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
* [Introduction](introduction.md) | ||
* [Introduction](README.md) | ||
|
||
* Getting started | ||
|
||
* [Quick Start](quickstart.md) | ||
* [Configuration](configuration.md) | ||
* [Translations](translations.md) | ||
* [Getting Started](getting-started.md) | ||
|
||
* Available Gateways | ||
* Payment Gateways | ||
|
||
* [Zarinpal](gateways/zarinpal.md) | ||
|
||
* [Testing](testing.md) | ||
* [💳 Zarinpal](gateways/zarinpal.md) | ||
* [💳 IDPay](gateways/idpay.md) | ||
|
||
* [Contributing](contributing.md) | ||
* [Changelog](changelog.md) | ||
* [Support 💜](support.md) | ||
* [Contributing](../CONTRIBUTING.md) | ||
* [Changelog](../CHANGELOG.md) | ||
* [💜 Support](support.md) | ||
|
Oops, something went wrong.