PHPackages                             tigerranger/barcodepos - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. tigerranger/barcodepos

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tigerranger/barcodepos
======================

Barcode Generator and POS machine Integration for Laravel 6.\*.\*

13PHP

Since Mar 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/TigerRanger/barcodepos)[ Packagist](https://packagist.org/packages/tigerranger/barcodepos)[ RSS](/packages/tigerranger-barcodepos/feed)WikiDiscussions master Synced today

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

TigerRanger Barcode Generator and POS machine Integration for Laravel 6.*.* | 7.*.*
===================================================================================

[](#tigerranger-barcode-generator-and-pos-machine-integration-for-laravel-6--7)

[![Laravel 6.x | 7.x](https://camo.githubusercontent.com/3b64e96ab97d9150d412cb11b6a5aca79e4efe0450a6cd77dff53e3572731007/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d362e782e78253743372e782e782d6f72616e67657265642e737667)](http://laravel.com)[![PHP 7.x](https://camo.githubusercontent.com/390bbe9f7a14a4652a68d31df9ceb920318b82b4a6d8ea56c5afa7ca144125f8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e782e782d626c75652e737667)](http://laravel.com)[![License](https://camo.githubusercontent.com/850eae1099d2b05f53383473d7cd51f9bc1ab09b7d0d9e5122f1dd930efdcc6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e737667)](https://packagist.org/packages/tigerranger/barcodepos)

This package is created to handle Barcode Iamge and POS Machine Integration.

Requirements
------------

[](#requirements)

- [PHP &gt;= 7.0](http://php.net/)
- [Laravel 6.x | 7.x ](https://github.com/laravel/framework)

Documentations
--------------

[](#documentations)

- [Github Docs](https://github.com/tigerranger/barcodepos-docs)
- [Official help](https://tigerranger.com/barcodepos/helper/)

Quick Installation
------------------

[](#quick-installation)

```
$ composer require tigerranger/barcodepos
```

#### Service Provider &amp; Facade (Optional on Laravel 6.x)

[](#service-provider--facade-optional-on-laravel-6x)

Register provider and facade on your `config/app.php` file.

```
'providers' => [
    ...,
    tigerranger\Barcode\Barcode::class,
	tigerranger\Barcode\POS::class
]

'aliases' => [
    ...,
    'Barcode' => tigerranger\Barcode\Barcode::class,
	'POS'=>tigerranger\Barcode\POS::class
]
```

And that's it! Start building out some awesome Barcode and POS Software!

Use in Controller
-----------------

[](#use-in-controller)

```
        $barcode = new \tigerranger\Barcode\Barcode;
        $pos = new \tigerranger\Barcode\POS;
        $image= 'abbas.jpg'; // Name of the image
        $code= '0001CLSK729237';
        $barcode->set_barcode($code)  // Barcode Data max 15
                ->set_basepath(base_path()) // base path
                ->set_image_path("/public/barcode/$image"); // image name with path
        return view('amp.test')->with(compact('barcode','code','pos'));
```

Use in Blade Template
---------------------

[](#use-in-blade-template)

```

{{$code}}

{!! $pos->setPOS(asset('')) !!}

    var pos= new POS({"fire":kmyfn}); // fire is function which call when POS machine read data
	pos.get_barcode() /* Change data when POS machine read data ---------
     -----------------   only for vue js , angular js , react js etc similar FM */
    function kmyfn(barcode){
        alert(barcode);   // write your own function and enjoy
    }

```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Tigerranger](https://github.com/tigerranger)
- [Md.Nazmul Alam](https://nazmul-alam.com)
- [Official Site : https://tigerranger.com ](https://tigerranger.com)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/tigerranger/barcodepos/blob/master/LICENSE.md) for more information.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/36f20e697c1bc9254db0251ced1b4c1b283474a90a36d4e6b2b526a7290c24b9?d=identicon)[TigerRanger](/maintainers/TigerRanger)

### Embed Badge

![Health badge](/badges/tigerranger-barcodepos/health.svg)

```
[![Health](https://phpackages.com/badges/tigerranger-barcodepos/health.svg)](https://phpackages.com/packages/tigerranger-barcodepos)
```

###  Alternatives

[laracademy/generators

This package will generate a Laravel Model based on your database table itself, filling in the required fields automatically.

355346.4k4](/packages/laracademy-generators)[beyondcode/laravel-vouchers

Allow users to redeem vouchers that are bound to models..

70763.4k2](/packages/beyondcode-laravel-vouchers)[firegento/magesetup2

MageSetup provides the necessary configuration (system config, tax, agreements, etc. for a national market.

123328.5k1](/packages/firegento-magesetup2)[sixlive/nova-text-copy-field

Laravel Nova text field with click to copy support

70708.2k2](/packages/sixlive-nova-text-copy-field)[happyr/message-serializer

Serialize classes the good way.

80491.3k](/packages/happyr-message-serializer)[percymamedy/laravel-dev-booter

Boost your Laravel app by registering Prod services only on Prod.

35320.7k1](/packages/percymamedy-laravel-dev-booter)

PHPackages © 2026

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