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

Transparency log

Statistics

Installs: 161

Dependents: 0

Suggesters: 1

Stars: 0

Open Issues: 0

v7.0.1 2026-07-31 07:37 UTC

This package is auto-updated.

Last update: 2026-07-31 07:37:44 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 objects that implement the interface OneToMany\DataUri\Contract\Record\TemporaryFileInterface is automatically tagged and configured.

Components

  • 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.

Credits

License

The MIT License