bicycle / tesseract-bridge-bundle
Symfony bundle for integration with tesseract bridge
Installs: 102
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >7.4.0
- bicycle/tesseract-bridge: ~0.100
- symfony/config: ^4.4.18 || ^5.2
- symfony/dependency-injection: ^4.4.18 || ^5.2
- symfony/http-kernel: ^4.4.18 || ^5.2
- symfony/yaml: ^4.4.18 || ^5.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.17.3
- phing/phing: ^2.16.3
- phpmd/phpmd: ^2.9.1
- phpunit/phpunit: ^9.5.0
- sebastian/phpcpd: ^6.0.3
- squizlabs/php_codesniffer: ^3.5.8
- symfony/web-profiler-bundle: ^4.4.18 || ^5.2
- vimeo/psalm: ^4.4.1
This package is auto-updated.
Last update: 2024-12-09 16:06:43 UTC
README
Symfony bundle for integration with bicycle/tesseract-bridge
package
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.