tomatophp/filament-browser 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tomatophp/filament-browser

最新稳定版本:v2.0.4

Composer 安装命令:

composer require tomatophp/filament-browser

包简介

File & Folders & Media Browser With Code Editor

README 文档

README

Screenshot

Filament File Browser

Latest Stable Version 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')
        ])
        ->hiddenExtensions([
            "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"

Other Filament Packages

Checkout our Awesome TomatoPHP

统计信息

  • 总下载量: 6.33k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 40
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 40
  • Watchers: 3
  • Forks: 10
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-04-08