PHPackages                             nbish11/fileinfo - 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. nbish11/fileinfo

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

nbish11/fileinfo
================

A FileInfo class for thos without support for PHP's finfo class.

v1.0.0(9y ago)195[4 issues](https://github.com/nbish11/FileInfo/issues)GPL-2.0PHPPHP &gt;=5.3.2

Since Jul 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/nbish11/FileInfo)[ Packagist](https://packagist.org/packages/nbish11/fileinfo)[ RSS](/packages/nbish11-fileinfo/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

FileInfo
========

[](#fileinfo)

[![Build Status](https://camo.githubusercontent.com/b4553369772e9c8f6c975fd7eb858942297243d2c48783cb7949ef810cbd08d5/68747470733a2f2f7472617669732d63692e6f72672f6e6269736831312f46696c65496e666f2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/nbish11/FileInfo)[![Code Climate](https://camo.githubusercontent.com/c8faa24b26d17b175348705f5992b5ec2b15c49dcd706fe9040011c1b4ac5803/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6e6269736831312f46696c65496e666f2f6261646765732f6770612e737667)](https://codeclimate.com/github/nbish11/FileInfo)[![Test Coverage](https://camo.githubusercontent.com/7c01449e7164f25d8129d42e94933d5e384615436c84752b6d8f695c4b96c085/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6e6269736831312f46696c65496e666f2f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/nbish11/FileInfo/coverage)

Provides a simple and flexible API wrapper around PHP's [pathinfo](http://php.net/manual/en/function.pathinfo.php) method.

Installation
------------

[](#installation)

The recommended way of installing this package is through [Composer](https://getcomposer.org/):

```
$ composer require nbish11/fileinfo
```

Basic Usage
-----------

[](#basic-usage)

```
