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

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

infw/file
=========

File Object for In Framework

0.0.1.9(9y ago)06.3k1MITPHPPHP ^5.6|^7.0

Since Oct 20Pushed 9y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (5)Versions (14)Used By (1)

In Framework - File
===================

[](#in-framework---file)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d10d976750f64c024fe7b5681aa8591965ada1d91ee87a6504ae8bba484cf192/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b706963617a612f66696c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/kpicaza/file/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/f58c635e9d17e389e7d8b2e75ca6a0bcd7cef8a4d8847b807aabdf344db767f7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b706963617a612f66696c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/kpicaza/file/?branch=master)[![Build Status](https://camo.githubusercontent.com/4c9e17f24179c9e04b7954e991a45abbcd5e1c190548ad4c1e88df8f62919c09/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b706963617a612f66696c652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/kpicaza/file/build-status/master)

File is a useful object used as base file at "In Framework" [FileManager](https://github.com/kpicaza/file-manager).

It can be very useful to validate file uploads.

Package contains two generic file types `GenericFile` and `Base64File`.

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

[](#installation)

```
composer require infw/file

```

Usage
-----

[](#usage)

```
