PHPackages                             undjike/nmfs-uploads - 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. undjike/nmfs-uploads

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

undjike/nmfs-uploads
====================

This package allows you to perform uploads of no matter file size to your PHP server

v1.0.1(6y ago)29MITJavaScript

Since Apr 11Pushed 6y ago1 watchersCompare

[ Source](https://github.com/undjike/nmfs-uploads)[ Packagist](https://packagist.org/packages/undjike/nmfs-uploads)[ RSS](/packages/undjike-nmfs-uploads/feed)WikiDiscussions master Synced 4w ago

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

Nmfs-uploads (No Matter File Size Uploads to your PHP server)
=============================================================

[](#nmfs-uploads-no-matter-file-size-uploads-to-your-php-server)

[![Issues](https://camo.githubusercontent.com/e3d18aa792c722dc859dfe4806f5282499a1e270f4221926f8acc762cbbcf237/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f756e646a696b652f6e6d66732d75706c6f616473)](https://github.com/undjike/nmfs-uploads/issues)[![Stars](https://camo.githubusercontent.com/157c68976cd7d91343613ab16632b4db4b14f62fe42af77ae1e49eb4a818d7c0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f756e646a696b652f6e6d66732d75706c6f6164733f636f6c6f723d707572706c65)](https://github.com/undjike/nmfs-uploads)[![Total Downloads](https://camo.githubusercontent.com/40f9406fba0d3f2c969f335433c8251716bcd5ee8d2ea928831333ed02675fc0/68747470733a2f2f706f7365722e707567782e6f72672f756e646a696b652f6e6d66732d75706c6f6164732f646f776e6c6f616473)](https://github.com/undjike/nmfs-uploads)[![License](https://camo.githubusercontent.com/b973452de6c7d2699309add7dce10c23d803765b341f1c1352b7b96c5bfa5dcf/68747470733a2f2f706f7365722e707567782e6f72672f756e646a696b652f6e6d66732d75706c6f6164732f6c6963656e7365)](https://github.com/undjike/nmfs-uploads)

Introduction
------------

[](#introduction)

Nmfs-uploads package allows you to perform uploads of no matter file size to your PHP server.

You certainly know that the default PHP server's configuration limits the size of files upload to 2 Mb maximum. With this package, you need not to change the default configuration in your php.ini or other.

Nmfs-uploads package provides you with some tools and implements chunk uploads. This means that whatever size the file to upload is, the server will chunk the file in small parts of size under 2 Mb and automatically will merge the parts at the end.

Installation
------------

[](#installation)

Require this package with composer using the following command:

```
composer require undjike/nmfs-uploads
```

After updating composer, add the service provider to the `providers` array in `config/app.php` if you are using a Laravel version under 5.5.

```
Undjike\NmfsUploads\NmfsUploadsServiceProvider::class
```

**Laravel 5.5** or later version uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

After installing the package via composer, you will need to publish the configurations of the package. Use the following artisan command:

```
php artisan vendor:publish --provider="Undjike\NmfsUploads\NmfsUploadsServiceProvider"
```

This will publish all the necessaries for the package to work and some files to demonstrate how to use this package.

Now, you can just visit your server page at `/uploads` (with your Laravel Development Server : `localhost:8000/uploads`) to have a demonstration of how this stuff works.

Usage
-----

[](#usage)

Configuration publication will generate for you:

- A configuration file in the config directory of your project, `config/nmfs-uploads.php`.

```
