PHPackages                             cozmot/module-customvariableapi - 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. cozmot/module-customvariableapi

ActiveMagento2-module[API Development](/categories/api)

cozmot/module-customvariableapi
===============================

Magento 2 Custom Variable Api Extension

1.0.0(2y ago)06proprietaryPHP

Since Aug 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/cozmot/module-customvariableapi)[ Packagist](https://packagist.org/packages/cozmot/module-customvariableapi)[ RSS](/packages/cozmot-module-customvariableapi/feed)WikiDiscussions main Synced 1mo ago

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

magento2-chatgpt
================

[](#magento2-chatgpt)

Cozmot Custom\_Variable\_API Extension for Magento 2 to return Custom Variables value in Rest API.

### POST API

[](#post-api)

[https://magento.test/rest/V2/cozmot/customvariable?storeVariable=banner\_1](https://magento.test/rest/V2/cozmot/customvariable?storeVariable=banner_1)

### API Request on Postman

[](#api-request-on-postman)

[![alt text](https://github.com/zaheercena/screenshots/raw/5e0dae38ff74453e6f096a41022d0b163502c36b/sc1.png?raw=true)](https://github.com/zaheercena/screenshots/blob/5e0dae38ff74453e6f096a41022d0b163502c36b/sc1.png?raw=true)

### Add Custom Variable

[](#add-custom-variable)

[![alt text](https://github.com/zaheercena/screenshots/raw/5e0dae38ff74453e6f096a41022d0b163502c36b/sc2.png?raw=true)](https://github.com/zaheercena/screenshots/blob/5e0dae38ff74453e6f096a41022d0b163502c36b/sc2.png?raw=true)

#### 1.1 Install

[](#11-install)

```
composer require cozmot/module-customvariableapi
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

```

#### 1.2 Upgrade

[](#12-upgrade)

```
composer update cozmot/module-customvariableapi
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

```

Run compile if your store in Production mode:

```
php bin/magento setup:di:compile

```

Version
-------

[](#version)

v1.0.0 Initial Commit v1.0.1 Initial Code Commit

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

1019d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/07f9d209b1f775ef8e2919e2dd0a42199a2a659b473757a3ea375cb27e371a6f?d=identicon)[zaheercena](/maintainers/zaheercena)

---

Top Contributors

[![zaheercena](https://avatars.githubusercontent.com/u/17334109?v=4)](https://github.com/zaheercena "zaheercena (1 commits)")

### Embed Badge

![Health badge](/badges/cozmot-module-customvariableapi/health.svg)

```
[![Health](https://phpackages.com/badges/cozmot-module-customvariableapi/health.svg)](https://phpackages.com/packages/cozmot-module-customvariableapi)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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