Fresh code drop

Configure Read-Through File Storage

PHP

Read from an old disk and automatically copy missing files to the new primary disk.

PHP
CodeSnap // free canvas

Configure Read-Through File Storage

'assets' => [
    'driver' => 'read-through',
    'primary' => 'r2',
    'fallback' => 'legacy-s3',
],

Turn your code into a post.Five templates are free—no account needed.

Remix this snap