PHPackages                             egeloen/base64-file-bundle - 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. egeloen/base64-file-bundle

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

egeloen/base64-file-bundle
==========================

Provides a base64 file support for your Symfony2 Project.

1.0.1(9y ago)826.7k↓66.7%7[2 issues](https://github.com/egeloen/IvoryBase64FileBundle/issues)MITPHPPHP ^5.6|^7.0

Since Feb 19Pushed 9y ago3 watchersCompare

[ Source](https://github.com/egeloen/IvoryBase64FileBundle)[ Packagist](https://packagist.org/packages/egeloen/base64-file-bundle)[ RSS](/packages/egeloen-base64-file-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (7)Versions (3)Used By (0)

README
======

[](#readme)

[![Travis Build Status](https://camo.githubusercontent.com/990c7ca23e4f40b6a8978a4f67e9cea3a640b6c1385d7c5c0c7231920c510787/68747470733a2f2f7472617669732d63692e6f72672f6567656c6f656e2f49766f727942617365363446696c6542756e646c652e7376673f6272616e63683d6d6173746572)](http://travis-ci.org/egeloen/IvoryBase64FileBundle)[![AppVeyor Build Status](https://camo.githubusercontent.com/ce1c861587bdde0ff97d5236cce036280345440ce293e5d5107f42f89896b68a/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f74676672676b34306c687165626938352f6272616e63682f6d61737465723f7376673d74727565)](https://ci.appveyor.com/project/egeloen/ivorybase64filebundle/branch/master)[![Code Coverage](https://camo.githubusercontent.com/8c4f3b05089b2162dc5c282bef1cc04389ac7a78809b65970562d4d6e75fbb81/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6567656c6f656e2f49766f727942617365363446696c6542756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/egeloen/IvoryBase64FileBundle/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/058a11388674634e4343a232e283d5a873b13d037a51f700b2c3851e971d6091/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6567656c6f656e2f49766f727942617365363446696c6542756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/egeloen/IvoryBase64FileBundle/?branch=master)[![Dependency Status](https://camo.githubusercontent.com/4f18076495a093526bbbe0a3754741469c2bb35cb9f2f46c78da2c2b5c2d69e9/687474703a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f6567656c6f656e3a6261736536342d66696c652d62756e646c652f62616467652e737667)](http://www.versioneye.com/php/egeloen:base64-file-bundle)

[![Latest Stable Version](https://camo.githubusercontent.com/c9bd995ffde3e6d2a76e5233177f41f0698e37df743cf132c4edea260ca80cb9/68747470733a2f2f706f7365722e707567782e6f72672f6567656c6f656e2f6261736536342d66696c652d62756e646c652f762f737461626c652e737667)](https://packagist.org/packages/egeloen/base64-file-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/f28f8e73446fb33ec10a59ed99a87ebf62f463a2e68e77e01fad0c0bedbc4612/68747470733a2f2f706f7365722e707567782e6f72672f6567656c6f656e2f6261736536342d66696c652d62756e646c652f762f756e737461626c652e737667)](https://packagist.org/packages/egeloen/base64-file-bundle)[![Total Downloads](https://camo.githubusercontent.com/695476ba40c8502118dc30c141b27bbb2ae6811d7778f1200ba305123680032c/68747470733a2f2f706f7365722e707567782e6f72672f6567656c6f656e2f6261736536342d66696c652d62756e646c652f646f776e6c6f6164732e737667)](https://packagist.org/packages/egeloen/base64-file-bundle)[![License](https://camo.githubusercontent.com/25fd5d161f7352f984fdee51e2a55bddd62a6e0e4d4fdb6e41af2150cce07d75/68747470733a2f2f706f7365722e707567782e6f72672f6567656c6f656e2f6261736536342d66696c652d62756e646c652f6c6963656e73652e737667)](https://packagist.org/packages/egeloen/base64-file-bundle)

Overview
--------

[](#overview)

The bundle provides a way to upload base64 file transparently through the Symfony2 form component. It adds a new form option named `base64` on the file type which, when enabled, will convert you base64 input into a regular file. It is especially useful when you're using the [FOSRestBundle](http://symfony.com/doc/master/bundles/FOSRestBundle/index.html).

For example, the following payload will be handled by the bundle:

```
{
    "field": {
        "name": "filename.png",
        "value": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABh0lEQVQ4T23TO8iPYR..."
    }
}
```

Documentation
-------------

[](#documentation)

1. [Installation](/Resources/doc/installation.md)
2. [Usage](/Resources/doc/usage.md)

Testing
-------

[](#testing)

The bundle is fully unit tested by [PHPUnit](http://www.phpunit.de/) with a code coverage close to **100%**. To execute the test suite, check the travis [configuration](/.travis.yml).

Contribute
----------

[](#contribute)

We love contributors! Ivory is an open source project. If you'd like to contribute, feel free to propose a PR! You can follow the [CONTRIBUTING](/CONTRIBUTING.md) file which will explain you how to set up the project.

License
-------

[](#license)

The Ivory Base64 File Bundle is under the MIT license. For the full copyright and license information, please read the [LICENSE](/LICENSE) file that was distributed with this source code.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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

Every ~8 days

Total

2

Last Release

3367d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/808f1df1f6ccd749b9c985f3b4a8753788e9bf74e7cead639fcf49cd2a714fd0?d=identicon)[egeloen](/maintainers/egeloen)

---

Top Contributors

[![GeLoLabs](https://avatars.githubusercontent.com/u/149005863?v=4)](https://github.com/GeLoLabs "GeLoLabs (43 commits)")

---

Tags

base64file

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/egeloen-base64-file-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/egeloen-base64-file-bundle/health.svg)](https://phpackages.com/packages/egeloen-base64-file-bundle)
```

###  Alternatives

[sonata-project/media-bundle

Symfony SonataMediaBundle

4625.5M71](/packages/sonata-project-media-bundle)[helios-ag/fm-elfinder-bundle

ElFinder bundle, adds ElFinder file manager to your Symfony project

2814.8M27](/packages/helios-ag-fm-elfinder-bundle)[artgris/filemanager-bundle

FileManager is a simple Multilingual File Manager Bundle for Symfony

182420.8k9](/packages/artgris-filemanager-bundle)[ranky/media-bundle

A complete and friendly media file manager for Symfony

681.3k](/packages/ranky-media-bundle)

PHPackages © 2026

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