PHPackages                             ibekzod/uploader - 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. ibekzod/uploader

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

ibekzod/uploader
================

Uploader with database integration and dynamic file structure

v1.0.2(3y ago)357MITPHPPHP &gt;=7.4.0

Since Jan 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/iBekzod/uploader)[ Packagist](https://packagist.org/packages/ibekzod/uploader)[ Docs](https://github.com/ibekzod/uploader)[ RSS](/packages/ibekzod-uploader/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (18)Versions (4)Used By (0)

Laravel Uploader with ready api endpoint
========================================

[](#laravel-uploader-with-ready-api-endpoint)

[![Latest Stable Version](https://camo.githubusercontent.com/fc7b73b9be199c7ba5b545823e67f02c903bd276795df4ddb751a1997701d0ed/687474703a2f2f706f7365722e707567782e6f72672f6962656b7a6f642f75706c6f616465722f76)](https://packagist.org/packages/ibekzod/uploader) [![Total Downloads](https://camo.githubusercontent.com/68e7e07b94426ade47befb349524ac9eb56370123c4e4bb68f37b73d45274f7a/687474703a2f2f706f7365722e707567782e6f72672f6962656b7a6f642f75706c6f616465722f646f776e6c6f616473)](https://packagist.org/packages/ibekzod/uploader) [![Latest Unstable Version](https://camo.githubusercontent.com/9f613e1b91eb8f392c0553bbd927c56b8f9ea89e0cfe61f1a9876e1e5c90d1b3/687474703a2f2f706f7365722e707567782e6f72672f6962656b7a6f642f75706c6f616465722f762f756e737461626c65)](https://packagist.org/packages/ibekzod/uploader) [![License](https://camo.githubusercontent.com/c44422a3373df4f4cb08cab8ed41931c6a9f08c98f06b9d58c1db952af1c52dc/687474703a2f2f706f7365722e707567782e6f72672f6962656b7a6f642f75706c6f616465722f6c6963656e7365)](https://packagist.org/packages/ibekzod/uploader) [![PHP Version Require](https://camo.githubusercontent.com/25ac9ba12d15f8ee9e2d7cd471fd631614fcef22defa4201a3964716778d339a/687474703a2f2f706f7365722e707567782e6f72672f6962656b7a6f642f75706c6f616465722f726571756972652f706870)](https://packagist.org/packages/ibekzod/uploader)

This is file uploader lightweight package with upload service and ready made api with controllers

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

[](#installation)

You can install the package via composer:

```
composer require ibekzod/uploader
```

Publish the config file (config/mediable.php) of the package using artisan.

```
php artisan vendor:publish --provider="IBekzod\Uploader\UploaderServiceProvider"
```

Run the migrations to add the required tables to your database.

```
php artisan migrate
```

Usage
-----

[](#usage)

Upload a file to the server, and place it in a directory on the filesystem disk named "uploads" with subdirectory "files" or your custom referring type

```
