Weave Code
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 Laravel Package

1tomany/data-uri

Parse data URIs, base64 strings, plain text, URLs, or local files into a temporary file via an immutable value object. Auto-detect or override MIME type, set an optional display name, and the temp file is deleted automatically on destruct.

View on GitHub
Deep Wiki
Context7
v6.0.9

Added

  • Support Symfony 8.1 (#56)

Fixed

  • N/A
v6.0.8

Added

  • Allow the type to be set when decoding data (#54)

Fixed

  • N/A
v6.0.7

Added

  • Store the original path or URL when used to create a DataUriInterface object (#52)

Fixed

  • N/A
v6.0.6

Added

  • Library standardization improvements

Fixed

  • N/A
v6.0.5

Added

  • Library standardization improvements

Fixed

  • N/A
v6.0.4

Added

  • Library standardization improvements

Fixed

  • N/A
v6.0.3

Added

  • Support .aac, .aiff, .flac, .oga, and .wav files (#49)
  • Support .js, .md, .xls and files (#50)

Fixed

  • N/A
v6.0.2

Added

  • Memoize the hash and URI generations (#47)

Fixed

  • N/A
v6.0.1

Added

  • Updated composer.json to support symfony/filesystem versions ^7.2|^8.0.

Fixed

  • N/A
v6.0.0

Added

  • Shorten the remoteKey length (#41)
  • Rename mimeType to format and fileType to type (#42)
  • Only generate a random file name if necessary (#43)

Fixed

  • N/A
v5.0.5

Added

  • Change the name of the FileType::JsonLines from "JSON Lines" to "JSONL" (#39)

Fixed

  • N/A
v5.0.4

Added

  • Copy files instead of streaming them in parse_data() (#37)

Fixed

  • N/A
v5.0.3

Added

  • Add Json and JsonLines as FileType cases (#35)

Fixed

  • N/A
v5.0.2

Added

  • Update SmartFileInterface to allow for publicly accessible hooked properties (#33)

Fixed

  • N/A
v5.0.1

Added

  • Add FileType::getName() (#31)

Fixed

  • N/A
v5.0.0

Added

  • Create SmartFileInterface (#29)

Fixed

  • N/A
v4.5.1

Added

  • Add FileType::Heic (#26)

Fixed

  • SmartFile::$type can never be null (#25)
v4.5.0

Added

  • Add FileType enum (#23)

Fixed

  • N/A
v4.4.5

Added

  • Add method to generate the base64 encoded version of a SmartFile (#21)

Fixed

  • N/A
v4.4.4

Added

  • Attempt to extract a filename from URLs (#19)

Fixed

  • N/A
v4.4.3

Added

  • N/A

Fixed

  • parse_data() fails on data that implements \Stringable (#17)
v4.4.2

Added

  • N/A

Fixed

  • Removes extra period when generate a file name in parse_text_data().
v4.4.1

Added

  • Create a parse_text_data() function to convert a string of text to a SmartFile (#15)

Fixed

  • N/A
v4.4.0

Added

  • Create a method named parse_base64_data() to easily parse non-data URI base64 encoded data (#13)

Fixed

  • N/A
v4.3.0

Added

  • Improve the SmartFile property names (#9)
  • Allow a SmartFile to read itself (#10)

Fixed

  • N/A
v4.2.2

Added

  • Allow files to be downloaded and parsed (#7)

Fixed

  • N/A
v4.2.1

Added

  • N/A

Fixed

  • URL decode non-base64 data when no ;base64 option is provided (#4)
v4.2.0

Added

  • New SmartFile::$clientName property to store the original filename (#1)

Fixed

  • N/A
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.
anousss007/vigilance
supportpal/eloquent-model
ardenexal/fhir-models
laravel-at/laravel-image-sanitize
romalytar/yammi-audit-log-laravel
ardenexal/fhir-validation
arshaviras/weather-widget
laravel-chronicle/core
sunchayn/nimbus
daikazu/eloquent-salesforce-objects
unseen-codes/chat
romalytar/yammi-jobs-monitoring-laravel
kisame76/filament-db-table-state
nqxcode/laravel-lucene-search
dpfx/laravel-livewire-wizards
workos/workos-php-laravel
sofa/laravel-global-scope
nawasara/auth-primitives
adhocrat-io/arkhe-main
make-dev/orca-harpoon