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: 63

Dependents: 0

Suggesters: 1

Stars: 0

Open Issues: 0

v0.1.0 2026-03-11 22:24 UTC

This package is auto-updated.

Last update: 2026-03-11 22:25:09 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