PHPackages                             artesaos/attacher - 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. artesaos/attacher

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

artesaos/attacher
=================

Annex and do what you want with your pictures! For Laravel 5

v0.6.5.beta(10y ago)494866[5 issues](https://github.com/artesaos/attacher/issues)MITPHP

Since Mar 31Pushed 8y ago7 watchersCompare

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

READMEChangelog (1)Dependencies (4)Versions (13)Used By (0)

Attacher - Pictures attachment tool for Laravel
===============================================

[](#attacher---pictures-attachment-tool-for-laravel)

**Upload** for S3, Copy, Local, Anything, **Manipulate** and **Attach Images in your Models**

> Current Build Status

[![Code Climate](https://camo.githubusercontent.com/a81a1eca97359bed8c111055002db92255ce542645aeb2b66239b88ae04d0596/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6172746573616f732f61747461636865722f6261646765732f6770612e737667)](https://codeclimate.com/github/artesaos/attacher)[![Codacy Badge](https://camo.githubusercontent.com/bc2554f87c4e83297eea96ac74690f684bd1a5d7a9d34486f211076e657a5348/68747470733a2f2f7777772e636f646163792e636f6d2f70726f6a6563742f62616467652f6663386464336638336265383433666538633966646366306434373235626338)](https://www.codacy.com/app/luiz-vinicius73/attacher)[![PullReview stats](https://camo.githubusercontent.com/409170be6d3f0a17e1b5a20dcb478974ea4be12d8e45f488a6e8c2b1375ae58c/68747470733a2f2f7777772e70756c6c7265766965772e636f6d2f6769746875622f6172746573616f732f61747461636865722f6261646765732f6d61737465722e7376673f)](https://www.pullreview.com/github/artesaos/attacher/reviews/master)

> Statistics

[![Latest Stable Version](https://camo.githubusercontent.com/f926ba65fd36b1783651a94e128330c766385897fb0076619e3141fbab489b93/68747470733a2f2f706f7365722e707567782e6f72672f6172746573616f732f61747461636865722f762f737461626c652e737667)](https://packagist.org/packages/artesaos/attacher)[![Total Downloads](https://camo.githubusercontent.com/696e7e3c6e2c434f33830bf742ffb76817cbc9999d061d0baecd919674cf20bc/68747470733a2f2f706f7365722e707567782e6f72672f6172746573616f732f61747461636865722f646f776e6c6f6164732e737667)](https://packagist.org/packages/artesaos/attacher)[![Latest Unstable Version](https://camo.githubusercontent.com/0f2b100c2301679ed07210ff7c7c8f0a6c29cab102948c7f981b37596e90538c/68747470733a2f2f706f7365722e707567782e6f72672f6172746573616f732f61747461636865722f762f756e737461626c652e737667)](https://packagist.org/packages/artesaos/attacher)[![License](https://camo.githubusercontent.com/676c9c112997f8b0d74a67660e2d44108bd29b8315c3d8a1370403c82f3c5d75/68747470733a2f2f706f7365722e707567782e6f72672f6172746573616f732f61747461636865722f6c6963656e73652e737667)](https://packagist.org/packages/artesaos/attacher)

[![Inssues](https://camo.githubusercontent.com/86f13819652aba2d9f62128e5f242068615830acd62ba0fd7275240e8f213b0d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6172746573616f732f61747461636865722e737667)](https://github.com/artesaos/attacher/issues)[![Inssues](https://camo.githubusercontent.com/921feefb994f013273fc81a63e811113bedaf7396fa0a6e097423557e2f0820f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6172746573616f732f61747461636865722e737667)](https://github.com/artesaos/attacher/network)[![Stars](https://camo.githubusercontent.com/eee9e75ed5518f8b25c7e4f34f40b382f61c99c47eeb684974e108a84ccddd85/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6172746573616f732f61747461636865722e737667)](https://github.com/artesaos/attacher/stargazers)

> Tips

[![Powered by ZenHub](https://raw.githubusercontent.com/ZenHubIO/support/master/zenhub-badge.png)](http://zenhub.io)

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

[](#installation)

### 1 - Dependency

[](#1---dependency)

The first step is using composer to install the package and automatically update your `composer.json` file, you can do this by running:

```
composer require artesaos/attacher
```

or manually update your `composer.json` file

```
{
    "require": {
        "artesaos/attacher": "~0.6"
    }
}
```

### 2 - Provider

[](#2---provider)

You need to update your application configuration in order to register the package so it can be loaded by Laravel, just update your `config/app.php` file adding the following code at the end of your `'providers'` section:

```
// file START ommited
    'providers' => [
        // other providers ommited
        \Artesaos\Attacher\Providers\AttacherServiceProvider::class,
    ],
// file END ommited
```

### 3 - Facade

[](#3---facade)

> Optional. You do not need to register the Facade of Attacher, but if you want to have access to some shortcuts feel free to use it.

In order to use the `Attacher` facade, you need to register it on the `config/app.php` file, you can do that the following way:

```
