Add info about usage to php and jvm
This commit is contained in:
parent
b6def8697c
commit
e8564ec811
2 changed files with 20 additions and 2 deletions
|
@ -16,6 +16,14 @@ dependencies {
|
|||
}
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```kotlin
|
||||
import io.github.wulkanowy.signer.signContent
|
||||
|
||||
val signed = signContent(password, certificate, content)
|
||||
```
|
||||
|
||||
## Tests
|
||||
|
||||
```bash
|
||||
|
|
|
@ -4,12 +4,22 @@
|
|||
|
||||
## Instalation
|
||||
|
||||
Via composer:
|
||||
|
||||
```bash
|
||||
$ composer require wulkanowy/uonet-request-signer dev-master
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```php
|
||||
<?php
|
||||
|
||||
use function Wulkanowy\UonetRequestSigner\signContent;
|
||||
|
||||
require 'vendor/autoload.php';
|
||||
|
||||
$signed = signContent($password, $certificate, $content);
|
||||
```
|
||||
|
||||
## Tests
|
||||
|
||||
```bash
|
||||
|
|
Loading…
Reference in a new issue