PHPackages                             crcms/file-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. [File &amp; Storage](/categories/file-storage)
4. /
5. crcms/file-upload

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

crcms/file-upload
=================

php file upload

0.0.1(8y ago)31.1k↓100%2MITPHPPHP &gt;=7.0.0

Since Jan 9Pushed 7y agoCompare

[ Source](https://github.com/crcms/file-upload)[ Packagist](https://packagist.org/packages/crcms/file-upload)[ RSS](/packages/crcms-file-upload/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

File Upload
===========

[](#file-upload)

Config
------

[](#config)

```
[

    'default' => 'default',

    'uploads' => [

        'default' => [
            'driver' => \CrCms\Upload\Drives\DefaultUpload::class,//
            'options' => [
                'setFileSize' => 1024 * 1024 * 2,
                'setRename' => true,
                'setCheckMime' => true,
                'setCheckExtension' => true,
                'setExtensions' => ['jpg', 'jpeg', 'gif', 'png'],
                'setHashDirLayer' => 2,
                'setPath' => './uploads',
            ]
        ],
        'test' => [
            'driver' => \CrCms\Upload\Drives\WebUpload::class,//
            'options' => [
                'setFileSize' => 1024 * 1024 * 2,
                'setRename' => true,
                'setCheckMime' => true,
                'setCheckExtension' => true,
                'setExtensions' => ['jpg', 'jpeg', 'gif', 'png'],
                'setHashDirLayer' => 2,
                'setPath' => './uploads',
            ]
        ],
    ],

    'drives' => [
        'webupload' => [
            'chunk_name' => 'chunk',
            'chunks_name' => 'chunks',
            'size_name' => 'orig_size',
            'new_name' => 'new_name',
        ],
    ],

]

```

Example
-------

[](#example)

### DefaultUpload

[](#defaultupload)

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

$config = require '../config/upload.php';
$config = new \Illuminate\Config\Repository(['upload'=>$config]);

$upload = new \CrCms\Upload\FileUpload($config);

$file = $upload->config('test')->upload();
//default
$upload->upload();

print_r($file);

```

Install
-------

[](#install)

You can install the package via composer:

```
composer require crcms/file-upload

```

Laravel
-------

[](#laravel)

Modify `config / app.php`

```
'providers' => [
    CrCms\Upload\LaravelServiceProvider::class,
]

```

If you'd like to make configuration changes in the configuration file you can pubish it with the following Aritsan command:

```
php artisan vendor:publish --provider="CrCms\Upload\LaravelServiceProvider"

```

Laravel Testing
---------------

[](#laravel-testing)

View `test/upload.php`

License
-------

[](#license)

MIT

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

3042d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d399a94699f3b91de6be249975ed2dee389fe10d3975518f420143ded5762fd?d=identicon)[hiword](/maintainers/hiword)

---

Top Contributors

[![simondole](https://avatars.githubusercontent.com/u/13651984?v=4)](https://github.com/simondole "simondole (1 commits)")

---

Tags

file-uploadlaravel-uploadphpuploadupload-filephpuploadpluploadlaravel upload

### Embed Badge

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

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

###  Alternatives

[oneup/uploader-bundle

This Symfony bundle provides a server implementation for handling single and multiple file uploads using either FineUploader, jQuery File Uploader, YUI3 Uploader, Uploadify, FancyUpload, MooUpload, Plupload or Dropzone. Features include chunked uploads, orphanages, Gaufrette and Flysystem support.

6066.3M27](/packages/oneup-uploader-bundle)[sopamo/laravel-filepond

Laravel backend module for filepond uploads

215272.2k3](/packages/sopamo-laravel-filepond)[eddturtle/direct-upload

Composer Package to build an AWS Signature ready to Direct Upload to S3

88728.1k2](/packages/eddturtle-direct-upload)[blueimp/jquery-file-upload

File Upload widget for jQuery.

141.5M17](/packages/blueimp-jquery-file-upload)[pharaonic/laravel-has-files

Laravel - Model's files like Image, Picture, Cover, Video, Audio, file, ...etc.

101.1k1](/packages/pharaonic-laravel-has-files)

PHPackages © 2026

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