Skip to content

Commit

Permalink
remove work-in-progress message and add short usage information
Browse files Browse the repository at this point in the history
  • Loading branch information
gregor-j committed Jan 24, 2019
1 parent aec388f commit 54fb9f8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,30 @@

This repository implements the [PHP/SAP][phpsap] interface for [Eduard Kouckys legacy saprfc PHP module][koucky].

## Usage

```sh
composer require php-sap/saprfc-harding:^1.0
```

```php
<?php
use phpsap\saprfc\SapRfcConfigA;
use phpsap\saprfc\SapRfcConnection;

$result = (new SapRfcConnection(new SapRfcConfigA([
'ashost' => 'sap.example.com',
'sysnr' => '001',
'client' => '002',
'user' => 'username',
'passwd' => 'password'
])))
->prepareFunction('MY_COOL_SAP_REMOTE_FUNCTION')
->invoke(['INPUT_PARAM' => 'value']);
```

For further documentation, please read the documentation on [PHP/SAP][phpsap]!

[phpsap]: https://php-sap.github.io
[koucky]: http://saprfc.sourceforge.net/ "SAPRFC extension module for PHP"
[license-mit]: https://img.shields.io/badge/license-MIT-blue.svg
Expand Down

0 comments on commit 54fb9f8

Please sign in to comment.