Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Data Uri Bundle Laravel Package

1tomany/data-uri-bundle

Symfony bundle wrapping 1tomany/data-uri: auto-configures a denormalizer for TemporaryFileInterface objects and adds a console command to encode files as base64 data URIs. No configuration needed.

View on GitHub
Deep Wiki
Context7

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

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator