trungpv93/file-info-php
Composer 安装命令:
composer require trungpv93/file-info-php
包简介
Detect file info from local or remote file (URL)
README 文档
README
Detect file info from local or remote file (URL).
##Installation
composer require trungpv93/file-info-php
Usage
$finfo = new \Trungpv93\FileInfoPHP\FileInfo();
$i = $finfo->get($link);
Laravel support
add provider and alias in config/app.php
'providers' => [ ... Trungpv93\FileInfoPHP\FileInfoPHPServiceProvider::class ] ... 'aliases' => [ ... 'FileInfo' => Trungpv93\FileInfoPHP\FileInfoPHPFacade::class, ],
and in laravel you use it
FileInfo::get($link);
Licence
MIT
统计信息
- 总下载量: 27
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-09-29