1tomany / data-uri-bundle
Symfony bundle that provides bindings for the 1tomany/data-uri package
Package info
github.com/1tomany/data-uri-bundle
Type:symfony-bundle
pkg:composer/1tomany/data-uri-bundle
v0.1.0
2026-03-11 22:24 UTC
Requires
- php: >=8.4
- 1tomany/data-uri: ^6.0.7
- symfony/config: ^7.2|^8.0
- symfony/console: ^7.2|^8.0
- symfony/dependency-injection: ^7.2|^8.0
- symfony/http-kernel: ^7.2|^8.0
- symfony/serializer: ^7.2|^8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.93
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^12.5
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
DataUriInterfacedenormalizer via theOneToMany\DataUriBundle\Serializer\DataUriNormalizerclass.onetomany:data-uri:encode-fileconsole command to generate a base64 encoded data URI representation of a file.
Credits
License
The MIT License