Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyphp committed Nov 16, 2023
0 parents commit 7bc1041
Show file tree
Hide file tree
Showing 36 changed files with 4,630 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
* text=auto

*.php text diff=php
*.md text diff=markdown

test export-ignore

.editorconfig export-ignore
.gitattributes export-ignore
.gitignore export-ignore
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# phpstorm project files
.idea
vendor
composer.phar
.phpunit.result.cache
57 changes: 57 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"name": "sunnyphp/ttlock",
"type": "library",
"description": "TTLock SDK",
"minimum-stability": "stable",
"license": "WTFPL",
"readme": "readme.md",
"keywords": [
"ttlock",
"sdk",
"api"
],
"authors": [
{
"name": "Vitaliy Sunny",
"homepage": "https://github.com/sunnyphp"
}
],
"support": {
"issues": "https://github.com/sunnyphp/ttlock/issues"
},
"config": {
"platform": {
"php": "7.4"
},
"sort-packages": true,
"allow-plugins": {
"php-http/discovery": true
}
},
"suggest": {
"php-http/client-implementation": "Any compatible HTTP client (see https://docs.php-http.org/en/latest/clients.html)"
},
"require": {
"php": "^7.4 || ^8",
"ext-json": "*",
"php-http/discovery": "^1.19",
"symfony/polyfill-php80": "^1.28",
"webmozart/assert": "^1.11"
},
"require-dev": {
"nyholm/psr7": "^1.8",
"php-http/guzzle7-adapter": "^1.0",
"php-http/mock-client": "^1.6",
"phpunit/phpunit": "^9.6"
},
"autoload": {
"psr-4": {
"SunnyPHP\\TTLock\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"SunnyPHP\\TTLock\\Test\\": "test/"
}
}
}
Loading

0 comments on commit 7bc1041

Please sign in to comment.