PHPackages                             catname/productinfo - 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. catname/productinfo

ActiveLibrary

catname/productinfo
===================

Get product information by GS1 code

1.1.1(4y ago)09MITPHPPHP ^7.3

Since Sep 28Pushed 4y ago1 watchersCompare

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

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

 productInfo
=============

[](#-productinfo-)

 Get product information by GS1 code.

### Author: ZhangHQ

[](#author-zhanghq)

Installing
----------

[](#installing)

```
$ composer require catname/productinfo
```

Usage
-----

[](#usage)

```
use Catname\ProductInfo\ProductInfo;

class example
{
    public function aExample(Request $request)
    {
        $productInfo = new ProductInfo();
        return $productInfo->getProductInfo($request->code);
    }

    /**
    * array (size=4)
        'code' => string '06907992512570' (length=14)
        'supplier' => string '内蒙古伊利实业集团股份有限公司' (length=45)
        'name' => string '安慕希希腊风味酸奶205克' (length=33)
        'specs' => string '205克' (length=6)
    */
}
```

Update
------

[](#update)

```
composer update catname/productinfo
```

License
-------

[](#license)

MIT

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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 ~67 days

Total

3

Last Release

1559d ago

### Community

Maintainers

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

---

Top Contributors

[![Catname](https://avatars.githubusercontent.com/u/26786959?v=4)](https://github.com/Catname "Catname (7 commits)")

### Embed Badge

![Health badge](/badges/catname-productinfo/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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