PHPackages                             nexpcb/phpoctopart - 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. nexpcb/phpoctopart

ActiveLibrary[API Development](/categories/api)

nexpcb/phpoctopart
==================

The php restful api sdk of octopart.

32301PHP

Since Mar 28Pushed 7y ago2 watchersCompare

[ Source](https://github.com/nexpcb/phpoctopart)[ Packagist](https://packagist.org/packages/nexpcb/phpoctopart)[ RSS](/packages/nexpcb-phpoctopart/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

phpoctopart
===========

[](#phpoctopart)

A php library for octopart v3 restful API. If using Laravel, install [laravel-octopart package](https://github.com/nexpcb/laravel-octopart)

Installation
------------

[](#installation)

(If using laravel-octopart package, skip below steps)

1. `composer require "nexpcb/phpoctopart"`
2. Get Octopart apikey from its dashboard

Examples
--------

[](#examples)

- Get single brand by uid

`NexPCB\PHPOctopart\OctopartClient::create(['apikey' => 'xxxxxxx'])->getBrandByUID('2239e3330e2df5fe');`

- Search brands

`NexPCB\PHPOctopart\OctopartClient::create(['apikey' => 'xxxxxxx'])->searchBrands(['q' => 'texas']);`

- Get multiple brands with multiple uids

`NexPCB\PHPOctopart\OctopartClient::create(['apikey' => 'xxxxxxx'])->getMultipleBrands(['uid' => ['2239e3330e2df5fe', '56b297b87fa88175']]);`

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 78.6% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/809fed3a2eaae79c717374c959b0059eb9f3f547166826b00c0dad1fd9f0a3ab?d=identicon)[BalaWxd](/maintainers/BalaWxd)

---

Top Contributors

[![oh-bala](https://avatars.githubusercontent.com/u/20467964?v=4)](https://github.com/oh-bala "oh-bala (11 commits)")[![balawang](https://avatars.githubusercontent.com/u/5396151?v=4)](https://github.com/balawang "balawang (2 commits)")[![zhongende](https://avatars.githubusercontent.com/u/8032345?v=4)](https://github.com/zhongende "zhongende (1 commits)")

### Embed Badge

![Health badge](/badges/nexpcb-phpoctopart/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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