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)021112OSL-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 today

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 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

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

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

27.6k172.1k9](/packages/bagisto-bagisto)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[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!

1111.2k](/packages/abydahana-aksara)[venturedrake/laravel-crm

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

43311.2k](/packages/venturedrake-laravel-crm)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)[hipay/hipay-fullservice-sdk-magento2

The HiPay Fullservice module for Magento 2 is a PHP module which allows you to accept payments in your Magento 2 online store.

11203.0k2](/packages/hipay-hipay-fullservice-sdk-magento2)

PHPackages © 2026

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