Project

General

Profile

Actions

Feature #106287

open

Make use of Flysystem

Added by Benni Mack 12 days ago. Updated 12 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
System/Bootstrap/Configuration
Start date:
2025-03-03
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Dear Core Team,

I think we could benefit from using Flysystem (https://packagist.org/packages/league/flysystem) under-the-hood. It has more than half a BILLION downloads on packagist.

1. Use flysystem with a custom LocalTypo3FileSystem

- This could replace all explicit calls to GeneralUtility::writeFile, GeneralUtility::mkdir_deep, GeneralUtility::fixPermissions.
- We could ensure that lockRootPath etc. is contained
- We might actually create wrappers to EXT:
- There are "Path Prefix" and "PublicUrlGenerator" solutions to overcome certain specialities which we had in the past

2. Use flysystem as default "LocalDriver" in FAL

- This would allow us to make custom drivers easier because we could allow to use other flysystem adapters in FAL
and make our API drastically smaller

There is an older version POC: https://github.com/cedricziel/fal-flysystem

Actions #1

Updated by Benni Mack 12 days ago

  • Description updated (diff)
Actions #2

Updated by Oliver Bartsch 12 days ago

Sound good. I support this idea!

Actions

Also available in: Atom PDF