PHPackages                             piurafunk/php-sdk-framework - 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. [Framework](/categories/framework)
4. /
5. piurafunk/php-sdk-framework

ActiveLibrary[Framework](/categories/framework)

piurafunk/php-sdk-framework
===========================

A framework for simple PHP SDK packages

0.1.3(8y ago)14631GPL-3.0-or-laterPHPPHP &gt;=5.6

Since Dec 14Pushed 8y agoCompare

[ Source](https://github.com/piurafunk/php-sdk-framework)[ Packagist](https://packagist.org/packages/piurafunk/php-sdk-framework)[ RSS](/packages/piurafunk-php-sdk-framework/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (24)Used By (0)

php-sdk-framework
=================

[](#php-sdk-framework)

A framework for simple PHP SDK packages

Installation
============

[](#installation)

`composer require piurafunk/php-sdk-framework`

Usage
=====

[](#usage)

ApiClientContract
-----------------

[](#apiclientcontract)

Implement the `Piurafunk\PhpSdkFramework\ApiClientContract` interface and define the functionality for the `makeRequest` method. This function should handle firing the HTTP request off to the API, and returning an appropriate data type to the calling method.

Models
------

[](#models)

Extend the `Piurafunk\PhpSdkFramework\BaseModel` class. Override the `$attributeKeys` array. Each element should have the following structure:

```
'propertyName' => [
  'attribute' => '',
  'type' => '',
  'returnType' => '',
  'arrayOf' => '',
  'callable' => '',
  'description' => ''
]

```

Where each index means the following:

IndexDescriptionValid InputattributeThe attribute name as returned by the APIAnytypeThe type used by the faker to generate appropriate data. This is only used in dev modestring, integer, boolean, float, double, \\namespace\\model::classreturnTypeThe type of data this variable will be returned asAny valid type (ie, primitives, models, primitive\[\], models\[\])descriptionA description of this variableAnycallableA function that mutates the data every time it is retrieved from the modelA callback

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~5 days

Total

23

Last Release

3000d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12569976?v=4)[James Funk](/maintainers/piurafunk)[@piurafunk](https://github.com/piurafunk)

---

Top Contributors

[![piurafunk](https://avatars.githubusercontent.com/u/12569976?v=4)](https://github.com/piurafunk "piurafunk (31 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/piurafunk-php-sdk-framework/health.svg)

```
[![Health](https://phpackages.com/badges/piurafunk-php-sdk-framework/health.svg)](https://phpackages.com/packages/piurafunk-php-sdk-framework)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k104.3M844](/packages/laravel-socialite)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k38.6M289](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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