bicycle/tesseract-bridge-bundle

Symfony bundle for integration with tesseract bridge

1.0 2021-01-20 06:53 UTC

This package is auto-updated.

Last update: 2024-12-09 16:06:43 UTC


README

Symfony bundle for integration with bicycle/tesseract-bridge package

Minimum PHP Version Build Status Codacy Badge codecov Scrutinizer Code Quality Latest stable version on packagist Total downloads Monthly downloads License

Installation

First af all you need to create configuration, something like:

bicycle_tesseract_bridge:
  integrations:
    cli:
      path: tesseract
    ffi: # Please note that FFI integration depends on php settings and not available in fpm by default
      path: libtesseract.so.4

And install bundle via Composer:

$ composer require bicycle/tesseract-bridge-bundle

Usage

Depend on the configuration you will get services which implement Bicycle\Tesseract\BridgeInterface:

  • bicycle.tesseract_bridge.integrations.cli for CLI integration (in case enabled)
  • bicycle.tesseract_bridge.integrations.ffi for FFI integration (in case enabled)

How to contribute

You can contribute to this project by:

  • Opening an Issue if you found a bug or wish to propose a new feature;
  • Opening PR if you want to improve/create/fix something

License

tesseract-bridge is released under the MIT License.