Download the PHP package isahaq/barcode without Composer

On this page you can find all versions of the php package isahaq/barcode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package barcode

License Stars Issues PHP Version Packagist

๐Ÿ“Š Isahaq Barcode Generator

A universal barcode generator package supporting 32+ barcode types (linear, 2D, postal, stacked, and auto-detection variants), multiple output formats, CLI, and full Laravel integration (Service Provider & Facade).

Generate barcodes of any type, in any format, anywhere. Perfect for e-commerce, inventory management, ticketing, and more.


๐Ÿš€ Features

๐Ÿ“ฆ Installation

Via Composer

Requirements

๐Ÿ”ง Why Use This Package?

  1. Comprehensive Support: 32+ barcode types including industry standards and auto-detection
  2. Multiple Formats: Generate barcodes in PNG, SVG, HTML, JPG, and PDF
  3. Laravel Ready: Seamless integration with Laravel framework
  4. CLI Support: Generate barcodes from command line
  5. Advanced QR Codes: Customizable QR codes with logos and labels
  6. Validation: Built-in data validation for each barcode type
  7. Performance: Optimized for high-volume generation
  8. Extensible: Easy to add new barcode types and renderers

โšก Laravel Setup for Older Versions

If you are using an older version of Laravel (before package auto-discovery), add the service provider and facade alias manually in your config/app.php:

๐Ÿ“‹ Supported Barcode Types (32+ Types)

Linear Barcodes

EAN/UPC Family

Postal Barcodes

Specialized Barcodes

2D Matrix Codes

Stacked Linear Codes


๐Ÿ› ๏ธ Quick Usage Examples

Basic Barcode Generation

Laravel Usage (with Facade)

Display Barcode as HTML Image

Batch Generation

Validation

CLI Usage


๐Ÿ“š Documentation

Full documentation available at docs/ directory:


๐Ÿงช Testing

Run the test suite:

Test coverage includes:


๐Ÿค Contributing

We welcome contributions! Here's how you can help:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Write or update tests
  5. Commit your changes (git commit -m 'Add amazing feature')
  6. Push to the branch (git push origin feature/amazing-feature)
  7. Open a Pull Request

Contribution Guidelines


๐Ÿ“ License

This package is licensed under the MIT License. See the LICENSE file for details.


๐Ÿ› Bug Reports & Feature Requests

Found a bug or have an idea? Open an issue on GitHub.


๐Ÿ’ฌ Support


๐Ÿ“Š Barcode Types Reference

Type Example Best For
Code128 ABC123 General purpose, high data density
Code39 ABC-123 Alphanumeric, inventory
EAN13 5901234123457 Retail products (13 digits)
EAN8 96385074 Small products (8 digits)
QR Code Any data URLs, contact info, product data
DataMatrix Any data Small spaces, pharmaceutical
PDF417 Large data IDs, documents, certificates

๐Ÿ™ Acknowledgments


๐Ÿ“ˆ Changelog

See CHANGELOG.md for version history and updates.


Made with โค๏ธ by Isahaq

๐Ÿ› ๏ธ Usage

Basic PHP Usage

Display Barcode as Base64 Image (PNG)

QR Code with Logo and Watermark

Using the Service Class

QR Code Builder (Advanced)

๐ŸŽฏ Laravel Integration

Using Laravel Facade

QR Code with Logo (Laravel Facade)

Available Watermark Positions

Using Service Provider

Blade Templates & Routes

๐Ÿ–ฅ๏ธ CLI Usage

๐Ÿ“Š Advanced Features


All versions of barcode with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
ext-mbstring Version *
illuminate/support Version ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package isahaq/barcode contains the following files

Loading the files please wait ...