charcoal-dev/buffers
Laravel/PHP package providing buffer utilities for handling and transforming data streams in memory. Useful for queueing, chunking, and processing data efficiently with a simple API, supporting common buffer operations for custom workflows.
Bytes class or immutable buffer support), this package could fill a gap. However, if Charcoal already provides similar functionality (e.g., via Charcoal\Bytes or Laravel\Buffer), this may introduce redundancy.App\Services\BufferManager)?Symfony\Component\HttpFoundation\File\UploadedFile)?Buffer::create()->append($data)->freeze())?Charcoal\Http\Request or Charcoal\Filesystem)?Symfony\Component\HttpFoundation\File\UploadedFile or Laravel\Filesystem suffice?Charcoal\Media, Charcoal\Crypto) require custom buffer extensions?stream_get_contents)?BufferManager) in CharcoalServiceProvider.Buffer facade for convenience (e.g., Buffer::createFromFile($path)).Illuminate\Http\Request to auto-convert uploaded files to buffers (e.g., via middleware).Charcoal\Media\File to use buffers for thumbnails or metadata.Charcoal\Crypto for buffer-based encryption/decryption.Charcoal\Queue to avoid serialization overhead.Symfony\Component\String or Symfony\Component\Mime for text/binary hybrid use cases.SplFixedArray or Stringable.file_get_contents()-heavy endpoint with the package’s buffer API.MyService::processUpload()).Charcoal\Media\Image).LegacyBufferAdapter).#[Deprecated]).^2.0).symfony/*, league/*, or spatie/* packages.composer why-not to resolve conflicts.Charcoal\Http\Livewire or Charcoal\Broadcasting if applicable.file_get_contents, fopen, base64_encode).config/app.php and CharcoalServiceProvider.Buffer facade and service class.Charcoal\Media, Charcoal\Queue).composer.json (e.g., ^1.0.0).Charcoal\Media").Charcoal\Bytes).finally blocks or use context managers).Buffer::create()->setMaxSize(10MB)).Buffer::stream()).How can I help you explore Laravel packages today?