mediashare/show-content 问题修复 & 功能扩展

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

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

mediashare/show-content

Composer 安装命令:

composer require mediashare/show-content

包简介

Detect file type & generate html view for web interface user-friendly. (Image/Video/Audio/Text/Markdown)

README 文档

README

Detect file type & generate html view for web interface user-friendly.

File Types Supported

  • Image
  • Video
  • Audio
  • Text
  • Markdown

Installation

composer require mediashare/show-content

Usages

<?php
include 'vendor/autoload.php';
use Mediashare\ShowContent\ShowContent;

$file = "files/image.png";
$showContent = new ShowContent($file);
$showContent->show();

$file = "files/video.webm";
$showContent = new ShowContent($file);
$showContent->show();

$file = "files/audio.mp3";
$showContent = new ShowContent($file);
$showContent->show();

$file = "files/text.txt";
$showContent = new ShowContent($file);
$showContent->show();

$file = "files/text.md";
$showContent = new ShowContent($file);
$showContent->show();

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-04-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固