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(5y ago)021212OSL-3.0PHP

Since Aug 14Pushed 5y 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 1w 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

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity52

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

1831d 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

[bagisto/bagisto

Bagisto Laravel E-Commerce

28.0k175.2k9](/packages/bagisto-bagisto)[abydahana/aksara

Aksara is a modern, developer-friendly framework and CMS built on CodeIgniter 4, featuring rapid CRUD development, modular architecture, smart routing, flexible access control, API integration, and an AI assistant to make content management faster and smarter.

1141.2k](/packages/abydahana-aksara)[krayin/laravel-crm

Krayin CRM

23.7k33.9k1](/packages/krayin-laravel-crm)[kimai/kimai

Kimai - Time Tracking

4.8k9.4k1](/packages/kimai-kimai)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1617.3k16](/packages/2lenet-crudit-bundle)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

45212.2k1](/packages/venturedrake-laravel-crm)

PHPackages © 2026

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