A lightweight file uploading library with image transformation and remote storage support.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Added docs. Mar 12, 2015
examples Converted tabs to spaces Oct 22, 2013
src/Transit Updated composer deps. Jun 14, 2015
tests Fix tests not deleting images. Jan 18, 2015
.gitignore Add a uniqid to fix file overwrites Sep 15, 2013
.gitmodules Converted tabs to spaces Oct 22, 2013
.travis.yml Updated to a PHP 5.4 requirement. Jun 14, 2015
composer.json Updated to a PHP 5.4 requirement. Jun 14, 2015
license.md Added docs Dec 18, 2012
phpunit.xml Added 5.6 May 3, 2014
readme.md 2.0.0 Jun 14, 2015
version.md 2.0.0 Jun 14, 2015


Transit v2.0.0 Build Status

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).


  • PHP 5.4
    • Fileinfo
    • Multibyte
    • Curl
    • Exif (optional)
  • Composer
    • AWS SDK (optional)
    • Rackspace OpenCloud SDK (optional)


  • 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 through ExifTransformer


  • Serge Rodovnichenko (SergeR) - FitTransformer
  • Ricky Dunlop (rickydunlop) - File::supportsExif()
  • Safonov Nikita (ns3777k) - removeLocal option