1

I have upgraded my Magento from Magento 2.2.7 to Magento 2.3.2 version. In my custom module, I used:

\Zend_Barcode::factory() function, but as per https://devdocs.magento.com/guides/v2.3/release-notes/backward-incompatible-changes/, the library Zend_Barcode has been removed.

Can anyone help me to find replacement of this library?

Thanks in advance.

1 Answer 1

5

The Zend_Barcode has not been removed, only upgraded.

You can use this class: \Zend\Barcode\Barcode.

Associated composer package => zendframework/zend-barcode

Best Regards

1
  • Thanks @Raf, Just got the same a few hours ago while digging into vendor directory. Anyway, +1 for the useful answer. Commented Oct 7, 2019 at 9:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.