承接 dcodegroup/fileman 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

dcodegroup/fileman

最新稳定版本:3.0.6

Composer 安装命令:

composer require dcodegroup/fileman

包简介

Laravel package for managing files.

README 文档

README

  • Legacy branch is for the pre php 8 and pre laravel 8 applications - maintain 1.4.x on packagist
  • master is for php 8+ and laravel 8 plus. use version 2.0.x on packagist

Installation

Install the package via composer:

composer require dcodegroup/fileman
npm install @vitejs/plugin-vue
npm install vue
npm install vite-svg-loader
npm install lodash
npm install vite-plugin-laravel-translations
npm install vue-i18n
npm install vue3-click-away

Publish the migrations:

php artisan vendor:publish --provider="DcodeGroup\Fileman\FilemanServiceProvider" --tag="migrations"

Publish the vendor front-end resources:

php artisan vendor:publish --provider="DcodeGroup\Fileman\FilemanServiceProvider" --tag="styles"

Add the following to your providers.php file:

DcodeGroup\Fileman\FilemanServiceProvider::class,

return [
    App\Providers\AppServiceProvider::class,
    \DcodeGroup\Fileman\FileManServiceProvider::class,
];

Add the package routes to your web.php file:

in web.php
\DcodeGroup\Fileman\Routes\Web::get();

in api.php
\DcodeGroup\Fileman\Routes\Api::get();

JS Add the following alias to vite.config.js

resolve: {
  alias: {
      "@fileman": path.resolve(__dirname, "./vendor/dcodegroup/fileman"),

Seem to need this in tailwind.config.js, Update the module exports under content:

content: [
  ...
    "./vendor/dcodegroup/**/*.{blade.php,vue,js,ts}",
  ...
],

in the app.js file or other file where you are registering your vue components add the following:

import { registerFileman } from "@fileman/src/resources/js";
registerFileman(app);

Fileman will connect to the applications S3 bucket automatically. You'll need to have fileman index the bucket first before it can be used. To index the S3 bucket run:

php artisan fileman:import

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 5
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2019-12-03