Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gareth Nicholson committed Apr 17, 2020
1 parent a9c557c commit ac67c0a
Show file tree
Hide file tree
Showing 48 changed files with 11,106 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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]
indent_size = 2

[{*Makefile,*.mk}]
indent_style = tab
indent_size = 4
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/.idea
/.vscode
npm-debug.log
/node_modules
/vendor
.php_cs.cache
.phpunit.result.cache
.DS_Store
27 changes: 27 additions & 0 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

$finder = PhpCsFixer\Finder::create()
->in(__DIR__)
->exclude(['bootstrap', 'storage', 'vendor', 'nova'])
->name('*.php')
->name('_ide_helper')
->notName('*.blade.php')
->ignoreDotFiles(true)
->ignoreVCS(true);

return PhpCsFixer\Config::create()
->setRules([
'@PSR2' => true,
'array_syntax' => ['syntax' => 'short'],
'ordered_imports' => ['sortAlgorithm' => 'alpha'],
'no_unused_imports' => true,
'no_extra_consecutive_blank_lines' => true,
'single_blank_line_before_namespace' => true,
'trailing_comma_in_multiline_array' => true,
'no_whitespace_in_blank_line' => true,
'no_extra_consecutive_blank_lines' => true,
'single_blank_line_before_namespace' => true,
'trailing_comma_in_multiline_array' => true,
'no_whitespace_in_blank_line' => true,
])
->setFinder($finder);
1 change: 1 addition & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
preset: laravel
8 changes: 8 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changelog

All notable changes to `PeachPayment` will be documented in this file.

## Version 1.0

### Added
- Everything
48 changes: 48 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"name": "iodigital/peachpayment",
"description": "A library to help integrate Peach Payments",
"license": "MIT",
"authors": [
{
"name": "IO",
"email": "[email protected]",
"homepage": "https://io.co.za/"
}
],
"homepage": "https://github.com/iodigital/peachpayment",
"keywords": ["Laravel", "PeachPayment"],
"require": {
"illuminate/support": "~5|~6|~7",
"guzzlehttp/guzzle": "^6.5"
},
"require-dev": {
"phpunit/phpunit": "^8.0",
"mockery/mockery": "^1.1",
"orchestra/testbench": "~3|~4",
"sempro/phpunit-pretty-print": "^1.0",
"phpmd/phpmd": "@stable",
"squizlabs/php_codesniffer": "3.*",
"friendsofphp/php-cs-fixer": "^2.0",
"php-vcr/php-vcr": "^1.4"
},
"autoload": {
"psr-4": {
"IoDigital\\PeachPayment\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"IoDigital\\PeachPayment\\Tests\\": "tests"
}
},
"extra": {
"laravel": {
"providers": [
"IoDigital\\PeachPayment\\PeachPaymentServiceProvider"
],
"aliases": {
"PeachPayment": "IoDigital\\PeachPayment\\Facades\\PeachPayment"
}
}
}
}
Loading

0 comments on commit ac67c0a

Please sign in to comment.