PHPackages                             64robots/products-api-accessor - 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. 64robots/products-api-accessor

ActiveLibrary[API Development](/categories/api)

64robots/products-api-accessor
==============================

This package is a command that will generate the access-token for a product-api project.

v1.0.0(6y ago)012PHPPHP ^7.1CI failing

Since Jan 28Pushed 6y ago2 watchersCompare

[ Source](https://github.com/64robots/products-api-accessor)[ Packagist](https://packagist.org/packages/64robots/products-api-accessor)[ RSS](/packages/64robots-products-api-accessor/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

A command to generate the access-tokens for a product-api project.
==================================================================

[](#a-command-to-generate-the-access-tokens-for-a-product-api-project)

This package is a command that will generate the access-token for a product-api project.

Installation and setup
----------------------

[](#installation-and-setup)

To get the latest version, simply require the package using [Composer](https://getcomposer.org):

```
$ composer require 64robots/products-api-accessor
```

Once installed, this package will automatically register its service provider.

Publish the config file to `config/products.php` run:

```
$ php artisan vendor:publish --provider="R64\ProductsApiAccessor\AccessorServiceProvider" --tag="config"
```

Usage
-----

[](#usage)

- Use passport's command `php artisan passport:client` to generate new Client ID and Client Secret from [Products api](https://gitlab.com/64robots/products-api). Copy the Client ID and Client Secret and set it in your .env like so;

```
PRODUCTS_API_BASE_URI=http://url-to-products-api
PRODUCTS_API_CLIENT_ID=x
PRODUCTS_API_CLIENT_SECRET=xxxx

```

- Ran the command `php artisan generate:products-api-access-token` to generate access token. The token will be automatically set in the .env.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

2300d ago

### Community

Maintainers

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

---

Top Contributors

[![NtimYeboah](https://avatars.githubusercontent.com/u/8011922?v=4)](https://github.com/NtimYeboah "NtimYeboah (6 commits)")

---

Tags

apiaccessorproducts64RobotsR64

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/64robots-products-api-accessor/health.svg)

```
[![Health](https://phpackages.com/badges/64robots-products-api-accessor/health.svg)](https://phpackages.com/packages/64robots-products-api-accessor)
```

###  Alternatives

[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[saloonphp/laravel-plugin

The official Laravel plugin for Saloon

765.7M125](/packages/saloonphp-laravel-plugin)[essa/api-tool-kit

set of tools to build an api with laravel

52680.5k](/packages/essa-api-tool-kit)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)[bmatovu/laravel-mtn-momo

Laravel MTN MOMO integration.

14310.9k](/packages/bmatovu-laravel-mtn-momo)

PHPackages © 2026

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