PHPackages                             mjohnson/transit - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. mjohnson/transit

AbandonedArchivedLibrary[File &amp; Storage](/categories/file-storage)

mjohnson/transit
================

A file uploader with support for validation, image transformation and remote transportation.

2.0.0(10y ago)4294.0k↓41.7%16[2 issues](https://github.com/milesj/transit/issues)2MITPHPPHP &gt;=5.4

Since Dec 26Pushed 10y ago5 watchersCompare

[ Source](https://github.com/milesj/transit)[ Packagist](https://packagist.org/packages/mjohnson/transit)[ Docs](http://milesj.me/code/php/transit)[ RSS](/packages/mjohnson-transit/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (42)Used By (2)

Transit v2.0.0 [![Build Status](https://camo.githubusercontent.com/34eb200e139787676ccf027380bb113f7c53fdc4693d0cdd8e22f954da508683/68747470733a2f2f7472617669732d63692e6f72672f6d696c65736a2f7472616e7369742e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/milesj/transit)
========================================================================================================================================================================================================================================================================================

[](#transit-v200-)

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

[](#requirements)

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

Features
--------

[](#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 through `ExifTransformer`

Contributors
------------

[](#contributors)

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

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 90.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~22 days

Recently: every ~73 days

Total

41

Last Release

3991d ago

Major Versions

1.6.2 → 2.0.02015-06-14

PHP version history (4 changes)1.0.0-alphaPHP &gt;=5.3

1.0.1PHP &gt;=5.3.0

1.0.2PHP &gt;=5.3.3

2.0.0PHP &gt;=5.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/7fde949ba5bf8f6af95b77cf88fe1362c4cc7519edbcd4f8891f1564da621fdb?d=identicon)[milesj](/maintainers/milesj)

---

Top Contributors

[![milesj](https://avatars.githubusercontent.com/u/143744?v=4)](https://github.com/milesj "milesj (209 commits)")[![SergeR](https://avatars.githubusercontent.com/u/40233?v=4)](https://github.com/SergeR "SergeR (10 commits)")[![phindmarsh](https://avatars.githubusercontent.com/u/344000?v=4)](https://github.com/phindmarsh "phindmarsh (3 commits)")[![Schnauss](https://avatars.githubusercontent.com/u/94185541?v=4)](https://github.com/Schnauss "Schnauss (3 commits)")[![mfn](https://avatars.githubusercontent.com/u/87493?v=4)](https://github.com/mfn "mfn (2 commits)")[![sime](https://avatars.githubusercontent.com/u/216917?v=4)](https://github.com/sime "sime (1 commits)")[![ns3777k](https://avatars.githubusercontent.com/u/4613880?v=4)](https://github.com/ns3777k "ns3777k (1 commits)")[![redsoft7](https://avatars.githubusercontent.com/u/4151630?v=4)](https://github.com/redsoft7 "redsoft7 (1 commits)")[![rickydunlop](https://avatars.githubusercontent.com/u/52011?v=4)](https://github.com/rickydunlop "rickydunlop (1 commits)")

---

Tags

validators3cloudglacierimagearchiveaudiovideofiletextapplicationtransformerimporterexiftransitrackspaceopenclouduploadertransportercloudfiles

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mjohnson-transit/health.svg)

```
[![Health](https://phpackages.com/badges/mjohnson-transit/health.svg)](https://phpackages.com/packages/mjohnson-transit)
```

###  Alternatives

[league/flysystem

File storage abstraction for PHP

13.6k639.1M2.2k](/packages/league-flysystem)[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k511.3M2.2k](/packages/aws-aws-sdk-php)[fof/upload

The file upload extension for the Flarum forum with insane intelligence.

188171.7k15](/packages/fof-upload)[transloadit/php-sdk

Transloadit SDK

63393.6k2](/packages/transloadit-php-sdk)[reshadman/file-secretary

Get rid of anything related to files in Laravel, This package handles all for you. Anything we mean.

1131.8k](/packages/reshadman-file-secretary)[fedemotta/yii2-aws-sdk

This extension provides the AWS SDK integration for the Yii2 framework

15430.4k2](/packages/fedemotta-yii2-aws-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
