# brandonsavage/Upload

File uploads with validation and storage strategies

Repository: https://github.com/brandonsavage/Upload
Canonical: https://ross.abutalabs.com/products/upload
Language: PHP
License: MIT
License Family: permissive
Archived: true
Last push: 2023-11-12T03:17:29+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5105, "days_push": 1025, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1654, forks 312 (observed 2026-08-28T04:05:17.749835+00:00)

## What it is
A PHP library that simplifies handling file uploads with validation rules (mimetype, size) and pluggable storage strategies such as the local filesystem. It wraps multipart form uploads in a File object providing metadata like name, extension, mime type, size, and dimensions.

## Use cases
- handle file uploads in php
- validate uploaded file mime type and size
- rename files on upload
- store uploaded images to a directory
- get uploaded file metadata like dimensions and md5

## When to choose
- you need simple, dependency-light file upload handling in a plain PHP project
- you want declarative validation rules for uploaded files
- you need pluggable storage backends for uploads

## When to avoid
- you use a full framework that already includes upload handling
- you need cloud storage integrations beyond the filesystem out of the box
- you need actively developed features or recent security updates

## Facets
- artifact type: library
- maturity: maintenance
- function: file-upload, form-handling, serialization
- domain: web-development, backend, files
- platform: php
- tags: file-validation, storage-strategies, composer, multipart-forms, web-server

## Member repositories
- brandonsavage/Upload (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:17.749835+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:44:55.272309+00:00, confidence not recorded.
  - readme: https://github.com/brandonsavage/Upload (fetched 2026-08-28T04:05:17.749835+00:00, sha ce9c6580db52)
- Data as of 2026-08-30T08:39:29.467469+00:00.
