Download the PHP package gravitypdf/upload without Composer
On this page you can find all versions of the php package gravitypdf/upload. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gravitypdf/upload
More information about gravitypdf/upload
Files in gravitypdf/upload
Download gravitypdf/upload
More information about gravitypdf/upload
Files in gravitypdf/upload
Vendor gravitypdf
Package upload
Short Description Handle file uploads with extensible validation and storage strategies
License MIT
Homepage https://github.com/gravitypdf/upload
Package upload
Short Description Handle file uploads with extensible validation and storage strategies
License MIT
Homepage https://github.com/gravitypdf/upload
Please rate this library. Is it a good library?
Informations about the package upload
Upload
This component simplifies file validation and uploading.
Why was this library forked?
- Original library was abandoned (untouched since 2018)
- Adjusted namespace from \Upload to \GravityPdf\Upload
- Bumped minimum PHP version to 7.3+
- Sanitized filename and extension, and add UTF-8 filename support
- Strict type checking
- Added
FileSystem::getDirectory()
andFileInfo::setNameWithExtension()
methods - Included unreleased code from upstream repo
- PSR-12 Code Formatting
- Automated tools: PHPUnit, PHPStan, PHPCS, and PHP Syntax Checker
TODO: PSR-7 and PSR-17 support (help wanted)
Installation
Usage
Assume a file is uploaded with this HTML form:
When the HTML form is submitted, the server-side PHP code can validate and upload the file like this:
Authors
License
MIT Public License
All versions of upload with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.3 || ~8.0.0 || ~8.1.0 || ~8.2.0
ext-fileinfo Version *
ext-fileinfo Version *
The package gravitypdf/upload contains the following files
Loading the files please wait ....