PHPackages                             celxkodez/laravel-model-file-manager - 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. celxkodez/laravel-model-file-manager

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

celxkodez/laravel-model-file-manager
====================================

manage file upload on model fields

1.0.1(3y ago)531MITPHPPHP ^7.3|^7.4|^8.0

Since Dec 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/celxkodez/laravel-model-file-manager)[ Packagist](https://packagist.org/packages/celxkodez/laravel-model-file-manager)[ RSS](/packages/celxkodez-laravel-model-file-manager/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

laravel-model-file-manager
==========================

[](#laravel-model-file-manager)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c362de05980dec638e8a8853c3a78fd9ff4bb8ebe116b161646576b6cfc3163f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63656c786b6f64657a2f6c61726176656c2d6d6f64656c2d66696c652d6d616e616765722e737667)](https://packagist.org/packages/celxkodez/laravel-model-file-manager)[![Total Downloads](https://camo.githubusercontent.com/be6da7be4d4aba0eae3047f659dc41232d6a5c43798300112f5f7acefdfda9de/687474703a2f2f706f7365722e707567782e6f72672f63656c786b6f64657a2f6c61726176656c2d6d6f64656c2d66696c652d6d616e616765722f646f776e6c6f616473)](https://packagist.org/packages/celxkodez/laravel-model-file-manager)[![Latest Unstable Version](https://camo.githubusercontent.com/0226a0b7330c43428a1e660e2a29675c67790f6fb01812a074d8ad17e9cb2fc6/687474703a2f2f706f7365722e707567782e6f72672f63656c786b6f64657a2f6c61726176656c2d6d6f64656c2d66696c652d6d616e616765722f762f756e737461626c65)](https://packagist.org/packages/celxkodez/laravel-model-file-manager)[![License](https://camo.githubusercontent.com/6aaacf5d0455039734b7197e328829e416822badfd009a2961a7b75237b4c3d7/687474703a2f2f706f7365722e707567782e6f72672f63656c786b6f64657a2f6c61726176656c2d6d6f64656c2d66696c652d6d616e616765722f6c6963656e7365)](https://packagist.org/packages/celxkodez/laravel-model-file-manager)[![PHP Version Require](https://camo.githubusercontent.com/3fc507d22bcb5181bc493f7b1071c1b86c981b130b32ef2c01bb8a839574b7ca/687474703a2f2f706f7365722e707567782e6f72672f63656c786b6f64657a2f6c61726176656c2d6d6f64656c2d66696c652d6d616e616765722f726571756972652f706870)](https://packagist.org/packages/celxkodez/laravel-model-file-manager)

> A Laravel Package for handling file upload associated with model with ease

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

[](#installation)

[PHP](https://php.net) 7.3+ and [Composer](https://getcomposer.org) are required.

To get the latest version of Laravel model file manager, simply require it

```
composer require celxkodez/laravel-model-file-manager
```

Or add the following line to the require block of your `composer.json` file.

```
"celxkodez/laravel-model-file-manager": "1.0.*"

```

You'll then need to run `composer install` or `composer update` to download it and have the autoloader updated.

Configuration
-------------

[](#configuration)

You can publish the configuration file using this command:

```
php artisan vendor:publish --provider="Celxkodez\LaravelModelFileManager\LaravelModelFileManagerServiceProvider"
```

A configuration-file named `modelfilemanager.php` with some sensible defaults will be placed in your `config` directory:

```
