Skip to content

Commit 98d6392

Browse files
Init commit.
0 parents  commit 98d6392

File tree

11 files changed

+216
-0
lines changed

11 files changed

+216
-0
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
; This file is for unifying the coding style for different editors and IDEs.
2+
; More information at http://editorconfig.org
3+
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
indent_size = 4
9+
indent_style = space
10+
end_of_line = lf
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true
13+
14+
[*.md]
15+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Path-based git attributes
2+
# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
3+
4+
# Ignore all test and documentation with "export-ignore".
5+
/.gitattributes export-ignore
6+
/.gitignore export-ignore
7+
/.travis.yml export-ignore
8+
/phpunit.xml.dist export-ignore
9+
/.scrutinizer.yml export-ignore
10+
/.styleci.yml export-ignore
11+
/tests export-ignore
12+
/.editorconfig export-ignore

.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.DS_Store
2+
.buildpath
3+
.project
4+
.settings
5+
.phpunit.result.cache
6+
.idea
7+
build
8+
composer.lock
9+
composer.phar
10+
nbproject
11+
vendor
12+
phpunit.phar
13+
phpunit.xml
14+
Thumbs.db

.scrutinizer.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
filter:
2+
excluded_paths: [tests/*]
3+
4+
checks:
5+
php:
6+
remove_extra_empty_lines: true
7+
remove_php_closing_tag: true
8+
remove_trailing_whitespace: true
9+
fix_use_statements:
10+
remove_unused: true
11+
preserve_multiple: false
12+
preserve_blanklines: true
13+
order_alphabetically: true
14+
fix_php_opening_tag: true
15+
fix_linefeed: true
16+
fix_line_ending: true
17+
fix_identation_4spaces: true
18+
fix_doc_comments: true
19+

.styleci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
preset: laravel
2+
3+
disabled:
4+
- single_class_element_per_statement
5+
6+
finder:
7+
not-path:
8+
- "tests/ClassWithSyntaxError.php"

.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
language: php
2+
3+
php:
4+
- 7.1
5+
- 7.2
6+
- 7.3
7+
8+
install:
9+
- composer self-update
10+
- composer install
11+
12+
before_script:
13+
- travis_retry composer self-update
14+
- travis_retry composer install --no-interaction --prefer-source --dev
15+
16+
script:
17+
- vendor/bin/phpunit --testdox --coverage-text --coverage-clover=coverage.clover
18+
19+
after_script:
20+
- vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Changelog
2+
3+
Tất cả lịch sử tiến trình phát triển thư viện

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) PHP Viet
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<p align="center">
2+
<a href="https://github.com/laravel" target="_blank">
3+
<img src="https://avatars0.githubusercontent.com/u/958072" height="100px">
4+
</a>
5+
<h1 align="center">Laravel Omnipay</h1>
6+
<br>
7+
<p align="center">
8+
<a href="https://packagist.org/packages/phpviet/laravel-omnipay"><img src="https://img.shields.io/packagist/v/phpviet/laravel-omnipay.svg?style=flat-square" alt="Latest version"></a>
9+
<a href="https://travis-ci.org/phpviet/laravel-omnipay"><img src="https://img.shields.io/travis/phpviet/laravel-omnipay/master.svg?style=flat-square" alt="Build status"></a>
10+
<a href="https://scrutinizer-ci.com/g/phpviet/laravel-omnipay"><img src="https://img.shields.io/scrutinizer/g/phpviet/laravel-omnipay.svg?style=flat-square" alt="Quantity score"></a>
11+
<a href="https://styleci.io/repos/190297766"><img src="https://styleci.io/repos/190297766/shield?branch=master" alt="StyleCI"></a>
12+
<a href="https://packagist.org/packages/phpviet/laravel-omnipay"><img src="https://img.shields.io/packagist/dt/phpviet/laravel-omnipay.svg?style=flat-square" alt="Total download"></a>
13+
<a href="https://packagist.org/packages/phpviet/laravel-omnipay"><img src="https://img.shields.io/packagist/l/phpviet/laravel-omnipay.svg?style=flat-square" alt="License"></a>
14+
</p>
15+
</p>
16+
17+
## Thông tin
18+
19+
Laravel Omnipay hổ trợ tích hợp các cổng thanh toán trong nước dựa trên nền tảng [Omnipay League](https://github.com/thephpleague/omnipay).
20+
21+
## Cài đặt
22+
23+
Cài đặt Laravel Omnipay thông qua [Composer](https://getcomposer.org):
24+
25+
```bash
26+
composer require phpviet/laravel-omnipay
27+
```

composer.json

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"name": "phpviet/laravel-omnipay",
3+
"description": "Laravel Omnipay hổ trợ tích hợp các cổng thanh toán trong nước.",
4+
"keywords": [
5+
"phpviet",
6+
"laravel-omnipay",
7+
"omnipay",
8+
"vietnam-payment-gateways",
9+
"payment-gateways"
10+
],
11+
"homepage": "https://github.com/phpviet/laravel-omnipay",
12+
"license": "MIT",
13+
"authors": [
14+
{
15+
"name": "Vuong Xuong Minh",
16+
"email": "vuongxuongminh@gmail.com"
17+
}
18+
],
19+
"require": {
20+
"php": "^7.1",
21+
"ignited/laravel-omnipay": "^3.0",
22+
"illuminate/support": "^5.7"
23+
},
24+
"require-dev": {
25+
"orchestra/testbench": "^3.7",
26+
"phpunit/phpunit": "~7.5",
27+
"scrutinizer/ocular": "^1.5"
28+
},
29+
"autoload": {
30+
"psr-4": {
31+
"PHPViet\\Laravel\\Omnipay\\": "src"
32+
}
33+
},
34+
"autoload-dev": {
35+
"psr-4": {
36+
"PHPViet\\Laravel\\Omnipay\\Tests\\": "tests"
37+
}
38+
},
39+
"scripts": {
40+
"test": "\"vendor/bin/phpunit\""
41+
},
42+
"config": {
43+
"sort-packages": true
44+
},
45+
"extra": {
46+
"branch-alias": {
47+
"dev-master": "1.0-dev"
48+
},
49+
"laravel": {
50+
"providers": [
51+
"PHPViet\\Laravel\\Omnipay\\OmnipayServiceProvider"
52+
]
53+
}
54+
}
55+
}

0 commit comments

Comments
 (0)