github tomatophp/filament-media-manager v1.1.0

latest releases: v4.0.0, v1.1.6, v1.1.5...
14 months ago

Allow User Access

now you can allow user to access selected folder and restract user to access each other folders if the folder is not public on /app/Providers/Filament/AdminPanelProvider.php

->plugin(
    \TomatoPHP\FilamentMediaManager\FilamentMediaManagerPlugin::make()
        ->allowUserAccess()
)

NOTE don't forget to migrate after update the plugin

Folders API

now you can access your media and folders using API you have 2 endpoints

  • /api/folders to get all folders
  • /api/folders/{id} to get folder by id with sub folders and media files

to allow this feature you need to publish the config file by use this command

php artisan vendor:publish --tag="filament-media-manager-config"

then you can set api.active to true on the config file

'api' => [
    "active" => true,
],

Full Changelog: v1.0.10...v1.1.0

Don't miss a new filament-media-manager release

NewReleases is sending notifications on new releases.