PHPackages                             landofcoder/module-barcodeinventory - 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. landofcoder/module-barcodeinventory

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

landofcoder/module-barcodeinventory
===================================

Magento 2 extensoin Generate barcode for inventory product by landofcoder

1.0.0(4y ago)121012OSL-3.0PHP

Since Aug 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/landofcoder/module-pos-barcode-inventory)[ Packagist](https://packagist.org/packages/landofcoder/module-barcodeinventory)[ RSS](/packages/landofcoder-module-barcodeinventory/feed)WikiDiscussions master Synced 1mo ago

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

Magento 2 Module Lof BarcodeInventory
=====================================

[](#magento-2-module-lof-barcodeinventory)

```
``landofcoder/module-barcodeinventory``

```

- [Main Functionalities](#markdown-header-main-functionalities)
- [Installation](#markdown-header-installation)

Compatible with magento 2.3.6, 2.4.0, 2.4.1, 2.4.2, 2.4.2-p1, 2.4.3

Main Functionalities
--------------------

[](#main-functionalities)

- Generate barcode by inventory, mutil source stock
- Add product to cart with barcode (GraphQl, REST API)
- query find products by barcode (GraphQl, REST API)

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

[](#installation)

\* = in production please use the `--keep-generated` option

### Option 1 setup via composer (Recommended):

[](#option-1-setup-via-composer-recommended)

```
composer require landofcoder/module-barcodeinventory

```

### Option 2 setup via upload FTP:

[](#option-2-setup-via-upload-ftp)

- Unzip the zip file in `app/code/Lof`
- Install picqer library: `composer require picqer/php-barcode-generator`
- Install mpdf library: `composer require mpdf/mpdf`

### Final step:

[](#final-step)

- Enable the module by running `php bin/magento module:enable Lof_BarcodeInventory`
- Apply database updates by running `php bin/magento setup:upgrade`\*
- Flush the cache by running `php bin/magento cache:flush`

Example Graphql
---------------

[](#example-graphql)

1. Add Product To Cart by Barcode:

```
mutation{
  frontAddProductToCartByBarcode(
    cart_id: 22,
    barcode: "123456789"
  ){
    code
    message
  }
}

```

2. Get Product info by Barcode:

```

query{
  frontProductByBarcode(barcode: "123456789"){
    id
    name
    sku
		thumbnail{
      url
      label
      position
    }
    price_range{
      minimum_price{
        regular_price{
          value
          currency
        }
        final_price{
          value
          currency
        }
      }
      maximum_price{
        regular_price{
          value
          currency
        }
        final_price{
          value
          currency
        }
      }
    }
  }
}

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

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

1739d ago

### Community

Maintainers

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

---

Top Contributors

[![landofcoder](https://avatars.githubusercontent.com/u/194975?v=4)](https://github.com/landofcoder "landofcoder (13 commits)")[![andyhoanghuu](https://avatars.githubusercontent.com/u/19216611?v=4)](https://github.com/andyhoanghuu "andyhoanghuu (1 commits)")

---

Tags

graphqlmagento2-barcodemagento2-barcode-extensionmagento2-barcode-modulemagento2-extensionlandofcodermagento 2 barcode inventorybarcode inventorymagento 2 generate barcode for multi sourceslandofcoder barcode inventorylandofcoder barcode inventory magento 2 extension

### Embed Badge

![Health badge](/badges/landofcoder-module-barcodeinventory/health.svg)

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

###  Alternatives

[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/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[hubspot/api-client

Hubspot API client

23914.2M16](/packages/hubspot-api-client)[abydahana/aksara

Aksara is a CodeIgniter based CRUD Toolkit you can use to build complex applications become shorter, secure and more reliable just in a few lines of code. Serving both CMS or Framework, produce both HEADLESS (RESTful API) or TRADITIONAL (Browser Based), just by writing single controller. Yet it's reusable, scalable and ready to use!

1101.2k](/packages/abydahana-aksara)

PHPackages © 2026

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