mjohnson / transit
A file uploader with support for validation, image transformation and remote transportation.
Installs: 88 012
Dependents: 2
Suggesters: 0
Security: 0
Stars: 42
Watchers: 5
Forks: 16
Open Issues: 2
Requires
- php: >=5.4
- ext-curl: *
- ext-fileinfo: *
- ext-mbstring: *
Requires (Dev)
- ext-exif: *
- aws/aws-sdk-php: ~2.8
- phpunit/phpunit: ~4.7
- rackspace/php-opencloud: ~1.14
Suggests
- ext-exif: Extract exif data from images
- ext-gd: Enable the GD library for image transforming
- aws/aws-sdk-php: Upload files to Amazon S3 and Glacier
- rackspace/php-opencloud: Upload files to RackSpace OpenCloud
This package is auto-updated.
Last update: 2021-02-05 10:32:39 UTC
README
A lightweight file uploader that also provides extended support for file validation, file transformation (image resizing, cropping, etc) and file transportation (moving files to Amazon S3 or another external storage system).
Requirements
- PHP 5.4
- Fileinfo
- Multibyte
- Curl
- Exif (optional)
- Composer
- AWS SDK (optional)
- Rackspace OpenCloud SDK (optional)
Features
- Easily upload a file into the local file system
- Basic support for file moving and renaming through
File
- Overwrite protection and file name filtering
- Import a file from a remote location, local file system path or an input stream
- Transform and alter a file by running a
Transformer
on it - Create new files based off an original file by using transformers
- Transport to or delete a file from Amazon S3 or Glacier using a
Transporter
- Validate files and images using a defined set of rules using a
Validator
- Support for extending built in transporters, transformers and validators
- Exif reading support through
File
and orientation fixing throughExifTransformer
Contributors
- Serge Rodovnichenko (SergeR) -
FitTransformer
- Ricky Dunlop (rickydunlop) -
File::supportsExif()
- Safonov Nikita (ns3777k) -
removeLocal
option