PHPackages                             shayand/sap-client - 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. shayand/sap-client

ActiveLibrary

shayand/sap-client
==================

library for SAP Business1 Integration

0.4.6(6y ago)0348MITPHPPHP &gt;=7.1.0

Since Nov 23Pushed 6y agoCompare

[ Source](https://github.com/shayand/sap-client)[ Packagist](https://packagist.org/packages/shayand/sap-client)[ RSS](/packages/shayand-sap-client/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (41)Used By (0)

### SAP (Business One) PHP API Client

[](#sap-business-one-php-api-client)

you can find usage of this library down here,

```
use shayand\sapClient\SapClient;

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

function get_string_between($string, $start, $end){
    $string = ' ' . $string;
    $ini = strpos($string, $start);
    if ($ini == 0) return '';
    $ini += strlen($start);
    $len = strpos($string, $end, $ini) - $ini;
    return substr($string, $ini, $len);
}

require "vendor/autoload.php";

$wsdl_internal = "http://192.168.100.34:8081/CheckPartnerService.asmx?wsdl";

$username = "XXX";
$password = "XXX";

$sap_client = new SapClient($wsdl_internal, $username, $password);

die();

//var_dump($sap_client->getBusinessPartnerByBPSapIdentifier('C0010702'));
//var_dump($sap_client->getBusinessPartnerByNationalCode('3732981134'));

die();
```

for accessing to local client (SAP Business 1) use below credentials:

```
DB: azki_test
USER: b1i
pass: 1234

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

40

Last Release

2226d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bf373d3b9f9a56ebbce66708d71440d0939e7e1e726ceb1bdd7130b730d48a1e?d=identicon)[shayand](/maintainers/shayand)

---

Top Contributors

[![shayand](https://avatars.githubusercontent.com/u/2535904?v=4)](https://github.com/shayand "shayand (45 commits)")[![mhndev](https://avatars.githubusercontent.com/u/5164182?v=4)](https://github.com/mhndev "mhndev (2 commits)")[![nextleadco](https://avatars.githubusercontent.com/u/50317451?v=4)](https://github.com/nextleadco "nextleadco (2 commits)")

### Embed Badge

![Health badge](/badges/shayand-sap-client/health.svg)

```
[![Health](https://phpackages.com/badges/shayand-sap-client/health.svg)](https://phpackages.com/packages/shayand-sap-client)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
