This file provider extends the file provider of Sonata Media package and allows to store media files on a non public place.
The main purpose of this provider is to store media that are private and should not have a public url.
sonata_helpers:
sonata_media_private_file_provider:
url_prefix: '/admin/private' #default
storage_path: '%kernel.project_dir%/data/media' #default
allowed_extensions: [] #default
allowed_mime_types: [] #default
The allowed_extensions & allowed_mime_types if they are empty or not configured will be populated
with default values from SonataMedia file provider.
How can I help you explore Laravel packages today?