1tomany/data-uri-bundle

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

Maintainers

Package info

github.com/1tomany/data-uri-bundle

Type:symfony-bundle

pkg:composer/1tomany/data-uri-bundle

Statistics

Installs: 121

Dependents: 0

Suggesters: 1

Stars: 0

Open Issues: 0

v0.1.1 2026-06-03 17:30 UTC

This package is auto-updated.

Last update: 2026-06-03 17:55:58 UTC


README

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