PHPackages                             avadaneidanut/sapphp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. avadaneidanut/sapphp

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

avadaneidanut/sapphp
====================

SAP Remote Function Modules Calls made easy using sapnwrfc.

v0.1.1(10y ago)1150[1 issues](https://github.com/avadaneidanut/sapphp/issues)MITPHPPHP &gt;=5.5.9

Since Apr 7Pushed 9y ago2 watchersCompare

[ Source](https://github.com/avadaneidanut/sapphp)[ Packagist](https://packagist.org/packages/avadaneidanut/sapphp)[ RSS](/packages/avadaneidanut-sapphp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

SapPhp package
==============

[](#sapphp-package)

> SAP Remote Function Modules Calls made easy using sapnwrfc and PHP.

[![Latest Stable Version](https://camo.githubusercontent.com/c4470ba64a610624210beb06cb9bcad9f52c1349275597cc12b0675be8712f04/68747470733a2f2f706f7365722e707567782e6f72672f61766164616e656964616e75742f7361707068702f762f737461626c65)](https://packagist.org/packages/avadaneidanut/sapphp)[![Total Downloads](https://camo.githubusercontent.com/db1544241fe19c29a9fcd4c6d0552d488f69f589aad84d729fea75dc45267caf/68747470733a2f2f706f7365722e707567782e6f72672f61766164616e656964616e75742f7361707068702f646f776e6c6f616473)](https://packagist.org/packages/avadaneidanut/sapphp)[![Latest Unstable Version](https://camo.githubusercontent.com/e833bc3e00e9de21727669e3dc10e7cec9622bc024dcd6b898395d0da19be642/68747470733a2f2f706f7365722e707567782e6f72672f61766164616e656964616e75742f7361707068702f762f756e737461626c65)](https://packagist.org/packages/avadaneidanut/sapphp)[![License](https://camo.githubusercontent.com/113091d2c177e75f35eeda9747b728883353b95d7c7c68719b8672039f27e12b/68747470733a2f2f706f7365722e707567782e6f72672f61766164616e656964616e75742f7361707068702f6c6963656e7365)](https://packagist.org/packages/avadaneidanut/sapphp)

Legal notice
------------

[](#legal-notice)

SAP and other SAP products and services mentioned herein are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries.

Summary
-------

[](#summary)

Welcome to SapPhp package. This packages is not a connector, it uses [php-sapnwrfc](https://github.com/piersharding/php-sapnwrfc) extension to handle client - server communication. This package is intended to provide a clean object oriented interface to handle extensive data extraction using RFC calls. My development plan is to extend this class with PHP Interfaces to SAP FMs (check [RfcReadTable](src/SapPhp/Functions/RfcReadTable.php) interface)

This is an early version and I expect you to raise issues and bugs and maybe give me some suggestions.

Install
-------

[](#install)

Make sure you have the [php-sapnwrfc](https://github.com/piersharding/php-sapnwrfc) extension installed.

```
composer require avdaneidanut/sapphp

```

SAP Systems details
-------------------

[](#sap-systems-details)

The package uses two methods for retrievieng SAP Systems details (ashost, sysnr, description and name) by parsing files using the \\SapPhp\\Repository class.

1. Parsing saplogon.ini file from: `C:/Users/{currentUser}/AppData/Roaming/SAP/Common/`.
2. Parsing sapphp.xml from package root folder.

If the first method fails or returns no result the second method will be performed.

Connecting to SAP
-----------------

[](#connecting-to-sap)

```
