定制 ridhima/mediamanager 二次开发

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

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

ridhima/mediamanager

最新稳定版本:v1.1.0

Composer 安装命令:

composer require ridhima/mediamanager

包简介

README 文档

README

Packagist Downloads Packagist License

This extension integrates barryvdh/laravel-elfinder media manager.

Requirements

Installation

Install with composer

Require this package with Composer

composer require ridhima/mediamanager

Add the ServiceProvider to the providers array in config/app.php

Ridhima\MediaManager\Providers\MediaManagerServiceProvider::class

Run below commands before publishing assets to the public folder:

composer dump-autoload
php artisan config:clear
php artisan cache:clear
php artisan route:clear
php artisan storage:link

Run below artisan command to download the required assets files to the public folder

php artisan mediamanager:publish

Remember to publish the assets after each update (or add the command to your post-update-cmd in composer.json)

Run below command to publish config and additional assets files to make it compatible with Bagisto backend theme

php artisan vendor:publish --provider='Ridhima\MediaManager\Providers\MediaManagerServiceProvider'

Add below lines of code in config\filesystems.php to add a new disk.

'mediamanager' => [
    'driver' => 'local',
    'root'   => storage_path('app/public/media'),
]

In your config/elfinder.php, you can change the default folder, the access callback or define your own roots. Rest of the configuration details are mentioned in barryvdh/laravel-elfinder media manager.

Install with package folder

  1. Unzip all the files to packages/Ridhima/MediaManager.
  2. Run composer command to download the required package
composer require barryvdh/laravel-elfinder:^0.4.7
  1. Goto composer.json file inside the Bagisto root directory then add the following line under 'psr-4'
"Ridhima\\MediaManager\\": "packages/Ridhima/MediaManager/src"
  1. Goto config/app.php file then add the following line under 'webkul packages'
Ridhima\MediaManager\Providers\MediaManagerServiceProvider::class
  1. Run below commands before publishing assets to the public folder:
composer dump-autoload
php artisan config:clear
php artisan cache:clear
php artisan storage:link
  1. Run below artisan command to download the required assets files to the public folder:
php artisan mediamanager:publish
  1. After that run below command to publish config and additional assets files to make it compatible with Bagisto backend theme
php artisan vendor:publish --provider='Ridhima\MediaManager\Providers\MediaManagerServiceProvider'
  1. Add below lines of code in config\filesystems.php to add a new disk.
'mediamanager' => [
    'driver' => 'local',
    'root'   => storage_path('app/public/media'),
]

Now you can manage the static media files from the dedicated section as well as from the editor.

统计信息

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

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-11-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固