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

ActiveLibrary

pfrug/file-upload
=================

Trait to manage the upload images in laravel models

v1.0.0(2y ago)08MITPHP

Since Jul 26Pushed 2y ago1 watchersCompare

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

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

file-upload
===========

[](#file-upload)

Trait to simplify uploading images in Laravel

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

[](#installation)

```
composer require pfrug/file-upload 1.0
```

```
// config/app.php
'providers' => [
    ...
    Pfrug\FileUpload\FileUploadServiceProvider::class,
];
```

Usage
-----

[](#usage)

Implement HasImageUploads in you model
Specify the fields that are of type file

```
