PHPackages                             yappes/ypconnector - 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. [API Development](/categories/api)
4. /
5. yappes/ypconnector

ActiveLibrary[API Development](/categories/api)

yappes/ypconnector
==================

PHP SDK for integrating APIs published via Yappes platform

v1.2.0(7y ago)016MITPHPPHP &gt;=5.3.0

Since Aug 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/yappes-technologies/ypconnector-php)[ Packagist](https://packagist.org/packages/yappes/ypconnector)[ Docs](https://github.com/yappes-technologies/ypconnector-php)[ RSS](/packages/yappes-ypconnector/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (6)Used By (0)

ypconnector-php
===============

[](#ypconnector-php)

Ypconnector is a PHP SDK used for integrating the Yappes Published APIs with your application. SDK is installed via npm.

Ypconnector provides individual action methods and a common method for making API requests.Currently it supports GET,POST,POST,DELETE and PATCH.

Install:

```
composer require yappes/ypconnector

```

Usage:

```
require_once dirname(dirname(__FILE__)) . '/vendor/autoload.php';
use Yappes\Ypconnector;

//Yappes-Token obtained from yappes portal
$yappesToken = "YOUR X-YAPPES-KEY";
$ypconnectorObj = new Ypconnector($yappesToken);

//Data needed to call the library methods - individual Actions(GET/POST/PUT)
$url = "http://localhost:8081/getdata";
$jsonData = '{
 "headers": {
  "Content-Type":"application/json"
 },
 "queryparams": {
  "queryParam1" : "value1"
 },
 "payload": {
  "key":"value"
 }
}';

// the $requestData should be in array or associative array format
$requestData = json_decode($jsonData,true);

//GET Request with empty payload: {}
$responseObj = $ypconnectorObj->get($url, $requestData);
$body = (array)json_decode($responseObj["body"]);
var_dump($responseObj);

//POST Request
$responseObj = $ypconnectorObj->post($url, $requestData);
$body = (array)json_decode($responseObj["body"]);
var_dump($responseObj);

//PUT Request
$responseObj = $ypconnectorObj->put($url, $requestData);
$body = (array)json_decode($responseObj["body"]);
var_dump($responseObj);

//Common Method
//Data needed to call the library methods - common action (call)
$url = "http://localhost:8081/getdata";
$jsonData = '{
 "method":"get"
 "headers": {
  "Content-Type":"application/json"
 },
 "queryparams": {
  "queryParam1" : "value1"
 },
 "payload": {
  "key":"value"
 }
}';

// the $requestData should be in array or associative array format
$requestData = json_decode($jsonData,true);

$responseObj = $ypconnectorObj->call($url, $requestData);
$body = (array)json_decode($responseObj["body"]);
var_dump($responseObj);

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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 ~197 days

Total

2

Last Release

2627d ago

### Community

Maintainers

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

---

Top Contributors

[![SnehilBanerji](https://avatars.githubusercontent.com/u/39896422?v=4)](https://github.com/SnehilBanerji "SnehilBanerji (6 commits)")[![rajagopalsom](https://avatars.githubusercontent.com/u/8401236?v=4)](https://github.com/rajagopalsom "rajagopalsom (1 commits)")

---

Tags

phpyappes

### Embed Badge

![Health badge](/badges/yappes-ypconnector/health.svg)

```
[![Health](https://phpackages.com/badges/yappes-ypconnector/health.svg)](https://phpackages.com/packages/yappes-ypconnector)
```

PHPackages © 2026

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