PHPackages                             gringlas/cakephp-base64tofile - 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. gringlas/cakephp-base64tofile

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

gringlas/cakephp-base64tofile
=============================

Convert a base64 encoded string (like an image) to an actual file for usage in a standard file upload.

0.2.2(5y ago)0586[1 PRs](https://github.com/gringlas/cakephp-base64tofile/pulls)PHPPHP &gt;=7.2

Since Sep 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/gringlas/cakephp-base64tofile)[ Packagist](https://packagist.org/packages/gringlas/cakephp-base64tofile)[ RSS](/packages/gringlas-cakephp-base64tofile/feed)WikiDiscussions master Synced 1mo ago

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

Base64ToFile plugin for CakePHP
===============================

[](#base64tofile-plugin-for-cakephp)

About
-----

[](#about)

This plugin will convert a base64 encoded file string into a "classic" fileupload, like in $\_FILES, which can then be passed to other fileuploads, like josegonzalez/cakephp-upload.

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

[](#installation)

To install simply add it to your composer dependencies `composer require gringlas/cakephp-base64tofile`. The plugin is mainly a behavior, which you should attach to your file entity:

```
$this->addBehavior('Base64ToFile.Base64ToFile', [
        'field' => 'file'
    ]);
```

Where `field` contains the name of the field with the base64 encoded file.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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 ~296 days

Total

4

Last Release

1908d ago

PHP version history (2 changes)0.1.0PHP &gt;=5.5.9

0.2.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/356d738a5d09929aad45e38c6fbadf4faee0dc15538355af2c65b37f07180561?d=identicon)[gringlas](/maintainers/gringlas)

---

Top Contributors

[![gringlas](https://avatars.githubusercontent.com/u/4557329?v=4)](https://github.com/gringlas "gringlas (10 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gringlas-cakephp-base64tofile/health.svg)

```
[![Health](https://phpackages.com/badges/gringlas-cakephp-base64tofile/health.svg)](https://phpackages.com/packages/gringlas-cakephp-base64tofile)
```

###  Alternatives

[ecodev/graphql-upload

A middleware to support file uploads in GraphQL

902.2M12](/packages/ecodev-graphql-upload)[wyrihaximus/fly-pie

Flysystem integration plugin for CakePHP 5

38297.8k](/packages/wyrihaximus-fly-pie)[dereuromark/cakephp-file-storage

This plugin is giving you the possibility to store files in virtually any kind of storage backend. This plugin is wrapping the Gaufrette library (https://github.com/KnpLabs/Gaufrette) library in a CakePHP fashion and provides a simple way to use the storage adapters through the StorageManager class.

104.1k](/packages/dereuromark-cakephp-file-storage)

PHPackages © 2026

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