PHPackages                             aensley/file - 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. aensley/file

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

aensley/file
============

A basic file/directory library.

1.0.0(8y ago)24271MITPHPPHP &gt;=5.6.0CI passing

Since Sep 5Pushed 4y ago1 watchersCompare

[ Source](https://github.com/aensley/file)[ Packagist](https://packagist.org/packages/aensley/file)[ Docs](https://github.com/aensley/media-organizer/)[ RSS](/packages/aensley-file/feed)WikiDiscussions master Synced 3d ago

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

File
====

[](#file)

A basic file/directory library.

[![MIT License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/aensley/file/blob/master/LICENSE)[![Latest Stable Version](https://camo.githubusercontent.com/24d1400bc369ddcffd7c4c436fe648c55bc05befd2302c8228a4b6f8085f2fa8/68747470733a2f2f706f7365722e707567782e6f72672f61656e736c65792f66696c652f762f737461626c65)](https://packagist.org/packages/aensley/file)[![Packagist Downloads](https://camo.githubusercontent.com/de3a9b0511b6251da9dd043a59582032c19c3e1e78e68f48b62f9352be6dda12/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f61656e736c65792f66696c652e737667)](https://packagist.org/packages/aensley/file)[![Build Status](https://camo.githubusercontent.com/3f43f79fd31d2068c5820d8a92c3f74d0103af9542f052909b87a7c4608051b7/68747470733a2f2f7472617669732d63692e6f72672f61656e736c65792f66696c652e737667)](https://travis-ci.org/aensley/file)[![GitHub Issues](https://camo.githubusercontent.com/334cff020f1e37d80343a1881edced5a333e9e8ae8423f2e17fa12c15faec058/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d7261772f61656e736c65792f66696c652e737667)](https://github.com/aensley/file/issues)

[![Tested Versions Status](https://camo.githubusercontent.com/47a05ef251ebfbc335cf6c2c548276bc4c2653ffa1e2ea99bee29648770eaaba/68747470733a2f2f7068702d6579652e636f6d2f62616467652f61656e736c65792f66696c652f7465737465642e7376673f6272616e63683d6465762d6d6173746572)](https://php-eye.com/package/aensley/file)[![Code Climate Grade](https://camo.githubusercontent.com/79d9e61aada90689b02aea12ed7bcb5cb2584f939c6835520afe4135bcc21b55/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f61656e736c65792f66696c652f6261646765732f6770612e737667)](https://codeclimate.com/github/aensley/file)[![Code Climate Issues](https://camo.githubusercontent.com/c87cd837b5eda0738686500d201ddf2b0ec6eb5e32b1c2e55c0a9239edfeb3e5/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6973737565732f6769746875622f61656e736c65792f66696c652e737667)](https://codeclimate.com/github/aensley/file/issues)[![Code Climate Test Coverage](https://camo.githubusercontent.com/7e235d94343fb70ce0eba9c70e81aed374a699057b3908d2bfffee851af3987c/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f61656e736c65792f66696c652f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/aensley/file/coverage)

What it does
------------

[](#what-it-does)

Basic file and directory access/manipulation.

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

[](#installation)

Install the latest version with

```
composer require aensley/file
```

Requirements
------------

[](#requirements)

- PHP &gt;= 5.6

Example usage
-------------

[](#example-usage)

### Simple example

[](#simple-example)

```
