Download the PHP package sitegeist/fusionform-upload without Composer

On this page you can find all versions of the php package sitegeist/fusionform-upload. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package fusionform-upload

Sitegeist.FusionForm.Upload

Alternate implementations of Neos.Fusion.Forms:Upload

The package implements file uploads for Fusion.Forms with the main deviation that uploaded files are persisted in a cache and not as persistent resources. This has the advantage that resources do not have to manually cleaned and are deleted after the configured cache period automatically.

To achieve this the package adds the classes \Sitegeist\FusionForm\Upload\Domain\CachedUploadedFile which is a version of the psr-uploaded file that has an additional cache-identifier. For uploading multiple files the collection \Sitegeist\FusionForm\Upload\Domain\CachedUploadedFileCollection is added aswell. For both classed type converters are provided that ensure that values are cached and previously submitted values are restored for processing.

!!! This package does not support the RuntimeForm MultiStepProcess yet, this may be added in future versions !!!

Authors & Sponsors

The development and the public-releases of this package is generously sponsored by our employer http://www.sitegeist.de.

Fusion prototype - Sitegeist.FusionForm.Upload:Field.Upload

Single file upload

The prototype Sitegeist.FusionForm.Upload:Field.Upload allows to render a single file field. It will usually be rendered in a field-container together with a rendering of previously uploaded files. The submitted value should be interpreted as \Sitegeist\FusionForm\Upload\Domain\CachedUploadedFile by the receiving controller or the runtime form schema.

The according schema runtime forms will likely look like this.

Multio file upload

For multiple uploads the prototype Sitegeist.FusionForm.Upload:Field.Upload supports the field.multiple property. It will usually be rendered in a field-container together with a rendering of previously uploaded files. The submitted value should be interpreted as \Sitegeist\FusionForm\Upload\Domain\CachedUploadedFileCollection by the receiving controller or the runtime form schema.

The according schema runtime forms will likely look like this.

Attaching uploaded files in emails

Since the files implement the interface \Psr\Http\Message\UploadedFileInterface the existing Email Action can already handle those types.

CachedUploadedFileCollection can be assigned directly to the mail attachments.

UploadedFile caching

The uploaded files are persisted in the Sitegeist_FusionForm_Upload_UploadedFileCache which allows to configure altenate cache backends and the cache lifetime.

Installation

Sitegeist.Taxonomy is available via packagist run composer require sitegeist/fusionform-upload to install.

We use semantic-versioning so every breaking change will increase the major-version number.

Contribution

We will gladly accept contributions. Please send us pull requests.

License

See LICENSE


All versions of fusionform-upload with dependencies

PHP Build Version
Package Version
Requires neos/fusion-form Version ^3.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sitegeist/fusionform-upload contains the following files

Loading the files please wait ...