This package wraps the 1tomany/data-uri library into an easy to use Symfony bundle.
Install the bundle using Composer:
composer require 1tomany/data-uri-bundle
No configuration is necessary for the bundle. The denormalizer for objects that implement the interface OneToMany\DataUri\Contract\Record\TemporaryFileInterface is automatically tagged and configured.
TemporaryFileInterface normalizer via the OneToMany\DataUriBundle\Serializer\TemporaryFileNormalizer class.onetomany:data-uri:encode-file console command to generate a base64 encoded data URI representation of a file.The MIT License
How can I help you explore Laravel packages today?