Skip to content

1.0.0

Latest

Choose a tag to compare

@dereuromark dereuromark released this 10 Nov 21:53
a277423

Initial Stable Release

This major release enables

  • Flexible file storage abstraction with FlySystem v3 support
  • Multiple storage backend support (Local, S3, Azure, GCS, FTP, Dropbox, etc.)
  • Token-based path templates with random path distribution
  • URL-safe filename sanitization

Features

Core Storage

  • StorageAdapterFactory for unified adapter creation
  • StorageService for managing multiple storage backends
  • FileStorage class for file operations
  • Full FlySystem v3 integration

Path Builder

  • Flexible template system with tokens: {model}, {collection}, {id}, {filename}, {extension}
  • Random path generation for better directory distribution
  • Variant path support with {hashedVariant} token
  • Customizable path templates

Filename Sanitization

  • URL-safe character replacement
  • URI reserved character removal
  • Configurable maximum length

Requirements

  • league/flysystem ^3.0
  • FlySystem adapters for chosen backends