Download the PHP package cgm/zf2-file-upload-examples without Composer
On this page you can find all versions of the php package cgm/zf2-file-upload-examples. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download cgm/zf2-file-upload-examples
More information about cgm/zf2-file-upload-examples
Files in cgm/zf2-file-upload-examples
Download cgm/zf2-file-upload-examples
More information about cgm/zf2-file-upload-examples
Files in cgm/zf2-file-upload-examples
Vendor cgm
Package zf2-file-upload-examples
Short Description Form file upload examples for Zend Framework 2
License BSD-3-Clause
Homepage https://github.com/cgmartin/ZF2FileUploadExamples
Package zf2-file-upload-examples
Short Description Form file upload examples for Zend Framework 2
License BSD-3-Clause
Homepage https://github.com/cgmartin/ZF2FileUploadExamples
Please rate this library. Is it a good library?
Informations about the package zf2-file-upload-examples
ZF2 File Upload Examples Module
A set of form file upload examples to test the new features in the upcoming ZF 2.1 release.
NOTE: These examples are only compatible with Zend Framework version 2.1 (or greater).
You can find a good primer on file uploading in the documentation.
List of Examples
- Using a single File element.
- Using multiple File elements in a Collection.
- Using a single File element with the HTML5 "multiple" attribute.
- Temporarily save uploaded file(s) until a form is completely valid.
- Using file uploads with the Post-Redirect-Get plugin.
- Using AJAX to upload files and displaying progress with Session Upload Progress (Requires PHP 5.4).
- Complex example using Session Upload Progress with a partially valid form (Requires PHP 5.4).
See the Example Controllers for more details.
If there is a use-case for file uploading that you'd like to see and isn't currently included here, please create a GitHub issue.
Installation
- Install the ZendSkeletonApplication.
- Clone this project into your
./vendor/
directory (or use composer, see below). - Enable
ZF2FileUploadExamples
in yourapplication.config.php
file. - Create a
./data/tmpuploads
directory, and make writeable by the webserver. - Download the jQuery Form plugin into
./public/js/jquery.form.js
(for the Upload Progress example). - Navigate to
/file-upload-examples
in your browser to see the list of examples.
You may also need to change/verify these php.ini
settings:
Composer
All versions of zf2-file-upload-examples with dependencies
PHP Build Version
Package Version
The package cgm/zf2-file-upload-examples contains the following files
Loading the files please wait ....