diff --git a/.gitignore b/.gitignore index 3777eb7..ffe9778 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,6 @@ typings/ # next.js build output .next .idea/ + +# php +vendor diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..0c95d0e --- /dev/null +++ b/composer.json @@ -0,0 +1,23 @@ +{ + "name": "wulkanowy/uonet-request-signer", + "description": "UONET+ Request Signer", + "type": "library", + "license": "MIT", + "authors": [ + { + "name": "MikoĊ‚aj Pich", + "email": "m.pich@outlook.com" + } + ], + "require": { + "php": "^7.0" + }, + "autoload": { + "files": [ + "php/src/signer.php" + ] + }, + "scripts": { + "test": "php php/tests/signer_test.php" + } +} diff --git a/composer.lock b/composer.lock new file mode 100644 index 0000000..7779b05 --- /dev/null +++ b/composer.lock @@ -0,0 +1,19 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "This file is @generated automatically" + ], + "content-hash": "d1e5ca66a91f32aba91951d63ead0797", + "packages": [], + "packages-dev": [], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": { + "php": "^7.0" + }, + "platform-dev": [] +} diff --git a/index.html b/index.html index 514bb5d..65c02a3 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ UONET+ Request Signer by Wulkanowy - + @@ -58,6 +58,7 @@