定制 uidb-dev/laravel-filemanager 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

uidb-dev/laravel-filemanager

Composer 安装命令:

composer require uidb-dev/laravel-filemanager

包简介

README 文档

README

========

Installation

Laravel >= 5.5:

Require this package with composer:

composer require uidb-dev/laravel-filemanager

That's it :)

Configuration:

Register package's routes in the routes service provider file:

FileManager::routes();

Publish the config file using:

php artisan vendor:publish --tag="file-manager-config"

Include the tightenco/ziggy js routes putting the routes generator on your layout file (in the <head> tag):

@routes

For including the package assets add the next lines to your layout template:

// Inside the <head> tag
<meta name="csrf-token" content="{{ csrf_token() }}">
// And
@include('FileManager::partials.styles')

// Before closing the <body> tag
<script>
    $(function () {
        FileManagerModal.init();
    });
</script>
@include('FileManager::partials.scripts')
@include('FileManager::partials.file-manager-modal')

Add the crop validation translation to your validation.php translation file:

'is_croppable' => 'The :attribute is not croppable according to all sizes.',

Prepare a minimalist layout for popup state, then add it to the file-manager.php config file.

  • Make sure you choose a disk on the package configuration file - Files will be stored on that disk.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: Blade

其他信息

  • 授权协议: Unknown
  • 更新时间: 2022-09-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固