I implemented this library to generate barcodes images in my laravel project https://github.com/milon/barcode
Everything works fine, the image is generated correctly, but now i want save the barcode image in my storage folder
For the barcode image i just add a value in my database and then i convert that value in a barcode image
This is the code where i add the value in my database:
<div class="form-group {{ $errors->first('barcode', 'has-error') }}">
<label for="title" class="col-sm-3 control-label">
Barcode
</label>
<div class="col-sm-6">
{{ Form::text('barcode', NULL, ['class' => 'form-control required', 'minlength' => 3]) }}
</div>
</div>
And this is the code i use to generate the barcode image:
{!! DNS1D::getBarcodeHTML("$employee->barcode", "C39")!!}