-
Notifications
You must be signed in to change notification settings - Fork 2.5k
zend-barcode without zend-servicemanager and zend-validator #6293
Comments
@oscherler do you have any specific failures to report on this? Wondering what API is failing if those two components are not included. |
I made a sample in this gist. Apparently,
I copy the relevant portion of the gist below: use Zend\Barcode\Barcode;
$barcodeOptions = array('text' => 'ZEND-FRAMEWORK');
$barcode = new Zend\Barcode\Object\Code39( $barcodeOptions );
$rendererOptions = array();
$renderer = new Zend\Barcode\Renderer\Image( $rendererOptions );
$renderer->setBarcode( $barcode )->render();
|
Yeah, so I suppose that the A bit annoying, but better than having failures (for now) |
Yes, and maybe the |
Correct. @oscherler want to send a PR or should I do it later? |
I’ll make a PR. |
…rk/zf2#6293-zend-barcode-dependencies' Close zendframework/zendframework#6310 Close zendframework/zendframework#6293
Is there any way to use
zendframework/zend-barcode
withoutzendframework/zend-servicemanager
andzendframework/zend-validator
? I’d say “no” forzend-validator
and “yes, albeit in a convoluted way” forzend-servicemanager
.If not, they should be in the
require
section of thecomposer.json
.The text was updated successfully, but these errors were encountered: