filament-browser

File & Folders & Media Browser With Code Editor

Screenshot

Filament File Browser

Latest Stable Version PHP Version Require License Downloads

File & Folders & Media Browser With Code Editor

[!CAUTION] This package is for super-admin only and it's not recommended to use it for normal users. because it's give access to all files and folders in your server.

Screenshots

Browser File Types Create File Delete File Rename File Markdown Editor Code Editor Video File Audio File Excel File Image File PDF File

Installation

composer require tomatophp/filament-browser

after install your package please run this command

php artisan filament-browser:install

finally reigster the plugin on /app/Providers/Filament/AdminPanelProvider.php

->plugin(
    \TomatoPHP\FilamentBrowser\FilamentBrowserPlugin::make()
        ->hiddenFolders([
            base_path('app')
        ])
        ->hiddenFiles([
            base_path('.env')
        ])
        ->hiddenExtantions([
            "php"
        ])
        ->allowCreateFolder()
        ->allowEditFile()
        ->allowCreateNewFile()
        ->allowCreateFolder()
        ->allowRenameFile()
        ->allowDeleteFile()
        ->allowMarkdown()
        ->allowCode()
        ->allowPreview()
        ->basePath(base_path())
)

when you try to access the browser it will ask you about password it's password and you can change it from your .env file

DEVELOPER_GATE_PASSWORD=

Publish Assets

you can publish config file by use this command

php artisan vendor:publish --tag="filament-browser-config"

you can publish views file by use this command

php artisan vendor:publish --tag="filament-browser-views"

you can publish languages file by use this command

php artisan vendor:publish --tag="filament-browser-lang"

you can publish migrations file by use this command

php artisan vendor:publish --tag="filament-browser-migrations"

Support

you can join our discord server to get support TomatoPHP

Docs

you can check docs of this package on Docs

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security

Please see SECURITY for more information about security.

Credits

License

The MIT License (MIT). Please see License File for more information.

شارك على الشبكات الاجتماعية