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 2w 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 36% 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

1959d ago

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

0.2.0PHP &gt;=7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4557329?v=4)[Sebastian Köller](/maintainers/gringlas)[@gringlas](https://github.com/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

[cakephp/cakephp

The CakePHP framework

8.8k19.1M1.7k](/packages/cakephp-cakephp)[laravel/octane

Supercharge your Laravel application's performance.

4.0k24.7M205](/packages/laravel-octane)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[cakephp/bake

Bake plugin for CakePHP

11211.7M190](/packages/cakephp-bake)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

333972.2k49](/packages/dereuromark-cakephp-tools)[dereuromark/cakephp-queue

The Queue plugin for CakePHP provides deferred task execution.

308914.0k25](/packages/dereuromark-cakephp-queue)

PHPackages © 2026

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