PHPackages                             va/attachment - 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. va/attachment

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

va/attachment
=============

v1.1.3(2y ago)341MITBladePHP 7.\*|8.\*

Since Jun 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/imvahid/media-uploader-laravel)[ Packagist](https://packagist.org/packages/va/attachment)[ RSS](/packages/va-attachment/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (5)Used By (0)

Laravel Attachment Package
==========================

[](#laravel-attachment-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7fbac2cea6d282c8c88b62d8f61d3e88047cec4c42660873b738f635d1cb77fd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f76612f6174746163686d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/va/attachment)[![GitHub issues](https://camo.githubusercontent.com/7e388c75cda7599ae5d92dec2be89e7b221cbea8235c47f0fa5b7eb317a4563a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f696d76616869642f6174746163686d656e743f7374796c653d666c61742d737175617265)](https://github.com/imvahid/attachment/issues)[![GitHub stars](https://camo.githubusercontent.com/be7d1da9fc1112ac472c6a5894c09182b582ef2aa1ec45e5f29c0ac484dc4ecb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f696d76616869642f6174746163686d656e743f7374796c653d666c61742d737175617265)](https://github.com/imvahid/attachment/stargazers)[![GitHub forks](https://camo.githubusercontent.com/7d235857c7c643c0f13d12a4a4f069651716a50c769cb4ea3e098a59b4226326/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f696d76616869642f6174746163686d656e743f7374796c653d666c61742d737175617265)](https://github.com/imvahid/attachment/network)[![Total Downloads](https://camo.githubusercontent.com/5e205b7b2b91e40f4c4762cd6ee0022372a0529108e90f34e198d57242872dfa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f76612f6174746163686d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/va/attachment)[![GitHub license](https://camo.githubusercontent.com/6a48da353a8e2c7b356b8071f821f3efeaf8e57ffc080d31bc9d06ad22310f8c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f696d76616869642f6174746163686d656e743f7374796c653d666c61742d737175617265)](https://github.com/imvahid/attachment/blob/master/LICENSE)

A laravel package for manage you're uploads (images and files), that use ajax and bootstrap for client side and use [plank/laravel-mediable](https://github.com/plank/laravel-mediable) for server side and store files.

[![](https://camo.githubusercontent.com/6c4209360624fa60aab1a65776740d5a813d731288a3a5b806fa5fced10c862d/68747470733a2f2f7331372e7069636f66696c652e636f6d2f66696c652f383432313138393031382f64697a61746563685f6174746163686d656e742e6769663f7261773d74727565)](https://camo.githubusercontent.com/6c4209360624fa60aab1a65776740d5a813d731288a3a5b806fa5fced10c862d/68747470733a2f2f7331372e7069636f66696c652e636f6d2f66696c652f383432313138393031382f64697a61746563685f6174746163686d656e742e6769663f7261773d74727565)

How to install and config [va/attachment](https://github.com/imvahid/attachment) package?
-----------------------------------------------------------------------------------------

[](#how-to-install-and-config-vaattachment-package)

#### ⬇️ Installation

[](#️-installation)

```
PHP Package:
composer require va/attachment

NPM Package:
npm i va-attachment
```

#### Publish Config file

[](#publish-config-file)

```
php artisan vendor:publish --provider="Plank\Mediable\MediableServiceProvider"
php artisan vendor:publish --tag=attachment
```

#### Create a private disk in config/filesystems.php

[](#create-a-private-disk-in-configfilesystemsphp)

```
