PHPackages                             netliva/filetype - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. netliva/filetype

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

netliva/filetype
================

Netliva File Type

v1.0.3(5mo ago)01201MITPHPPHP &gt;=7.4

Since Oct 13Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/netliva/FileType)[ Packagist](https://packagist.org/packages/netliva/filetype)[ RSS](/packages/netliva-filetype/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (15)Used By (1)

netliva/filetype
================

[](#netlivafiletype)

This package adds file type to Symfony Form

Installation
============

[](#installation)

Applications that use Symfony Flex
----------------------------------

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
$ composer require netliva/filetype
```

Applications that don't use Symfony Flex
----------------------------------------

[](#applications-that-dont-use-symfony-flex)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require netliva/filetype
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
