osw3/symfony-media

管理您的应用程序的媒体。

安装: 14

依赖: 1

建议者: 0

安全: 0

星标: 0

关注者: 0

分支: 0

公开问题: 0

类型:symfony-bundle

0.0.13 2024-10-01 14:34 UTC

This package is auto-updated.

Last update: 2024-10-01 14:34:58 UTC


README

将媒体管理器添加到您的应用程序页面。

如何安装

步骤 1: 下载 Bundle

打开命令行,进入您的项目目录,并执行以下命令以下载此 Bundle 的最新稳定版本

composer require osw3/symfony-media

步骤 2: 启用 Bundle

然后,通过将其添加到项目 config/bundles.php 文件中注册的 Bundle 列表中来启用 Bundle

// config/bundles.php

return [
    // ...
    OSW3\Media\MediaBundle::class => ['all' => true],
];

如何使用

如何配置

依赖

如果需要处理,请安装依赖项

图片

composer require claviska/simpleimage

音频

composer require james-heinrich/getid3

视频

composer require php-ffmpeg/php-ffmpeg

PDF

composer require setasign/fpdf
composer require setasign/fpdi