PHPackages                             zigtecnologia/upload - 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. zigtecnologia/upload

ActiveLibrary

zigtecnologia/upload
====================

A class for handling file uploads using PHP.

1.1.0(6mo ago)432MITPHPPHP &gt;=8.1

Since Oct 31Pushed 1mo agoCompare

[ Source](https://github.com/Zigtecnologia-web/uploadFiles)[ Packagist](https://packagist.org/packages/zigtecnologia/upload)[ RSS](/packages/zigtecnologia-upload/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

uploadFiles
===========

[](#uploadfiles)

A class for handling file uploads using PHP

🚀 Features
----------

[](#-features)

- Validate file size and extension
- Define allowed extensions
- Customizable max upload size
- Clean and simple API
- PSR-4 autoload compatible

🧩 Installation
--------------

[](#-installation)

```
composer require zigtecnologia/upload
```

To run unit tests with Pest, execute
------------------------------------

[](#to-run-unit-tests-with-pest-execute)

```
./vendor/bin/pest
```

Using the Upload Facade (Fluent API)
------------------------------------

[](#using-the-upload-facade-fluent-api)

```
require 'vendor/autoload.php';

use Zigtecnologia\Upload\Facades\Upload;

try {
    $path = Upload::make()
        ->extensions(['jpg', 'png', 'pdf'])
        ->maxSize(10)
        ->folder('uploads')
        ->upload($_FILES['arquivo']);

    echo "Saved in: {$path}";
} catch (Exception $e) {
    echo "Erro: " . $e->getMessage();
}
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance79

Regular maintenance activity

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70.8% 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 ~0 days

Total

2

Last Release

199d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95b25ae6c7b6c0484319d6706bc67791a1289106cceb62f8e174db934604f925?d=identicon)[Zigtecnologia-web](/maintainers/Zigtecnologia-web)

---

Top Contributors

[![Zigtecnologia-web](https://avatars.githubusercontent.com/u/233555856?v=4)](https://github.com/Zigtecnologia-web "Zigtecnologia-web (17 commits)")[![viniciusvts](https://avatars.githubusercontent.com/u/18272399?v=4)](https://github.com/viniciusvts "viniciusvts (7 commits)")

### Embed Badge

![Health badge](/badges/zigtecnologia-upload/health.svg)

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

PHPackages © 2026

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