Skip to content

1tomany/data-uri-bundle

Repository files navigation

Data URI Bundle for Symfony

This package wraps the 1tomany/data-uri library into an easy to use Symfony bundle.

Installation

Install the bundle using Composer:

composer require 1tomany/data-uri-bundle

Configuration

No configuration is necessary for the bundle. The denormalizer for OneToMany\DataUri\Contract\Record\DataUriInterface objects is automatically tagged and configured.

Components

  • DataUriInterface denormalizer via the OneToMany\DataUriBundle\Serializer\DataUriNormalizer class.
  • onetomany:data-uri:encode-file console command to generate a base64 encoded data URI representation of a file.

Credits

License

The MIT License

About

Symfony bundle that provides bindings for the 1tomany/data-uri package

Resources

License

Stars

Watchers

Forks

Contributors

Languages