PHPackages                             cygnite/file - 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. cygnite/file

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

cygnite/file
============

Cygnite File Component. This package use for File Upload, Image Thumbnail Creation etc.

v1.0.2(11y ago)234MITPHPPHP &gt;=5.4.0

Since Nov 23Pushed 11y ago2 watchersCompare

[ Source](https://github.com/cygnite/File)[ Packagist](https://packagist.org/packages/cygnite/file)[ RSS](/packages/cygnite-file/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)DependenciesVersions (4)Used By (0)

File Component
==============

[](#file-component)

\#Installation

Array Manipulator uses Composer for installation. For installing composer documentation, please refer to getcomposer.org. Add following into your composer.json.

```
"cygnite/file" : "1.*"

```

Cygnite file component handling file upload and creating thumbnail image etc.

Upload file using file component.

Example Usage:

```
use Cygnite\Common\File\Upload\Upload;

$status = Upload::process( function($upload)
{
	// Your code goes here
	$upload->file = 'document';
	$upload->ext = array("JPG");
	$upload->size = '32092';

	if ( $upload->save(array("destination"=> "upload", "fileName"=>"file_new_name")) ) {
		 // Upload Success
	} else {
		 // Error catch here
	}
});

// var_dump($status);

```

Image Cropping / Thumbnail Image:

Make thumbnail image.

Example Usage:

```
use Cygnite\Common\File\Thumbnail\Image;

$thumb = new Image();
$thumb->directory = 'Set your directory path';
$thumb->fixedWidth = 100;
$thumb->fixedHeight = 100;
$thumb->thumbPath = 'your thumbnail image path';
$thumb->thumbName = 'Your thumbnail image name';
// Optional. If you doen't want to have custom name then it will generate thumb as same name of original image.
$thumb->resize();

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 93.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 ~98 days

Total

3

Last Release

4044d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ad22d6413c8fa46d899602d422a4fbe23eb4a7adaac061f822fd1810c05ce23e?d=identicon)[Sanjoy](/maintainers/Sanjoy)

---

Top Contributors

[![sanjoydesk](https://avatars.githubusercontent.com/u/1744493?v=4)](https://github.com/sanjoydesk "sanjoydesk (15 commits)")[![deysanjoy0-eng](https://avatars.githubusercontent.com/u/280507467?v=4)](https://github.com/deysanjoy0-eng "deysanjoy0-eng (1 commits)")

---

Tags

thumbnailfileuploadCygnite

### Embed Badge

![Health badge](/badges/cygnite-file/health.svg)

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

###  Alternatives

[kartik-v/bootstrap-fileinput

An enhanced HTML 5 file input for Bootstrap 5.x, 4.x, and 3.x with features for file preview for many file types, multiple selection, ajax uploads, and more.

5.4k8.2M13](/packages/kartik-v-bootstrap-fileinput)[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.5M85](/packages/unisharp-laravel-filemanager)[sonata-project/media-bundle

Symfony SonataMediaBundle

4625.6M73](/packages/sonata-project-media-bundle)[kartik-v/yii2-widget-fileinput

An enhanced FileInput widget for Bootstrap 3.x, 4.x &amp; 5.x with file preview, multiple selection, and more features (sub repo split from yii2-widgets)

2357.1M97](/packages/kartik-v-yii2-widget-fileinput)[servocoder/richfilemanager

RichFilemanager - highly customizable open-source file manager

90964.5k2](/packages/servocoder-richfilemanager)[fof/upload

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

191192.5k18](/packages/fof-upload)

PHPackages © 2026

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