2017 © Pedro Peláez
 

library base64-encoded-file

Provides handling base64 encoded files, and the integration of symfony/form

image

hshn/base64-encoded-file

Provides handling base64 encoded files, and the integration of symfony/form

  • Sunday, April 8, 2018
  • by hshn
  • Repository
  • 1 Watchers
  • 14 Stars
  • 29,667 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 2 Open issues
  • 6 Versions
  • 19 % Grown

The README.md

base64-encoded-file

Provides handling for base64 encoded files, (*1)

Build Status Latest Stable Version Total Downloads Latest Unstable Version License, (*2)

Installation

$ php composer.phar require hshn/base64-encoded-file

Usage

<?php

use Hshn\Base64EncodedFile\HttpFoundation\File\Base64EncodedFile;

$file = new Base64EncodedFile(base64_encode($data));

$file->getPathname(); // "/path/to/file"
$file instanceof Symfony\Component\HttpFoundation\File\File; // true

Integration for symfony/form

<?php

use Hshn\Base64EncodedFile\Form\Type\Base64EncodedFileType;

$form = $formBuilder
    // symfony 2.7
    ->add('file', new Base64EncodedFileType())
    // symfony 2.8~
    ->add('file', Base64EncodedFileType::class)
    ->getForm();

The Versions

08/04 2018

dev-master

9999999-dev

Provides handling base64 encoded files, and the integration of symfony/form

  Sources   Download

MIT

The Requires

 

The Development Requires

by Shota Hoshino

13/02 2018

dev-sf4-support

dev-sf4-support

Provides handling base64 encoded files, and the integration of symfony/form

  Sources   Download

MIT

The Requires

 

The Development Requires

by Shota Hoshino

17/02 2016

1.x-dev

1.9999999.9999999.9999999-dev

Provides handling base64 encoded files, and the integration of symfony/form

  Sources   Download

MIT

The Requires

 

The Development Requires

by Shota Hoshino

17/02 2016

v1.2.0

1.2.0.0

Provides handling base64 encoded files, and the integration of symfony/form

  Sources   Download

MIT

The Requires

 

The Development Requires

by Shota Hoshino

03/11 2015

v1.1.0

1.1.0.0

Provides handling base64 encoded files, and the integration of symfony/form

  Sources   Download

MIT

The Requires

 

The Development Requires

by Shota Hoshino

06/02 2015

v1.0.0

1.0.0.0

Provides handling base64 encoded files, and the integration of symfony/form

  Sources   Download

MIT

The Requires

 

The Development Requires

by Shota Hoshino