PHPackages                             trungpv93/file-info-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. trungpv93/file-info-php

ActiveLibrary[File &amp; Storage](/categories/file-storage)

trungpv93/file-info-php
=======================

Detect file info from local or remote file (URL)

1.0(9y ago)227MITPHP

Since Sep 29Pushed 9y ago1 watchersCompare

[ Source](https://github.com/trungpv93/file-info-php)[ Packagist](https://packagist.org/packages/trungpv93/file-info-php)[ RSS](/packages/trungpv93-file-info-php/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

file-info-php
=============

[](#file-info-php)

Detect file info from local or remote file (URL).

\##Installation

```
composer require trungpv93/file-info-php
```

Usage
-----

[](#usage)

```
$finfo = new \Trungpv93\FileInfoPHP\FileInfo();
$i = $finfo->get($link);
```

### Laravel support

[](#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
-------

[](#licence)

MIT

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3560d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7832459?v=4)[Iron ](/maintainers/trungpv93)[@trungpv93](https://github.com/trungpv93)

---

Top Contributors

[![trungpv93](https://avatars.githubusercontent.com/u/7832459?v=4)](https://github.com/trungpv93 "trungpv93 (1 commits)")

---

Tags

phpmime-typefile extensionfile infoimage infofile datafile mimefile ext

### Embed Badge

![Health badge](/badges/trungpv93-file-info-php/health.svg)

```
[![Health](https://phpackages.com/badges/trungpv93-file-info-php/health.svg)](https://phpackages.com/packages/trungpv93-file-info-php)
```

###  Alternatives

[blueimp/jquery-file-upload

File Upload widget for jQuery.

141.5M19](/packages/blueimp-jquery-file-upload)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
