composer require nowo-tech/barcode-input-bundleThe Flex recipe lives under .symfony/recipe/ (copy those files if Flex does not apply them).
Enable bundle if Flex does not do it automatically:
return [
Nowo\BarcodeInputBundle\NowoBarcodeInputBundle::class => ['all' => true],
];The bundle ships a built script at src/Resources/public/barcode-input.js. After composer require, install assets in your app:
php bin/console assets:installThis publishes files to public/bundles/nowobarcodeinput/. The bundle also registers a named Symfony asset package (nowo_barcode_input), so templates should load the script via that package instead of hard-coding the public path:
<script src="{{ asset('barcode-input.js', 'nowo_barcode_input') }}"></script>To rebuild TypeScript from this repository (contributors / custom builds):
pnpm install
pnpm run build
php bin/console assets:installThis package ships Twig templates. Host applications must install and enable Twig Extra:
composer require twig/extra-bundle twig/string-extraRegister Twig\Extra\TwigExtraBundle\TwigExtraBundle in config/bundles.php (Flex usually does this). Demos already include the same stack. The package release-check runs make check-twig-extra to guard this contract.