PHPackages                             znck/attach - 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. znck/attach

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

znck/attach
===========

Attach and forget about media management.

v0.1.0(9y ago)0988MITPHPPHP &gt;=7.0

Since Jun 2Pushed 9y ago1 watchersCompare

[ Source](https://github.com/znck/attach)[ Packagist](https://packagist.org/packages/znck/attach)[ Docs](https://github.com/znck/attach)[ RSS](/packages/znck-attach/feed)WikiDiscussions master Synced 4w ago

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

Attach
======

[](#attach)

A fluent way to manage media attachments for Laravel. **Attach** is a Laravel package that attaches (associates) all kind of files to any Eloquent model. It also provides essential features including privacy control, easy file uploads, signed urls and streaming downloads.

> See [docs](http://znck.me/attach/installation) for installing, using and contributing.

[![](https://camo.githubusercontent.com/38a42a93676404d878f14259295b69ff45704a5bc3ff2f92f9ec5faf32197eba/687474703a2f2f7a6e636b2e6d652f6174746163682f6173736574732f696d616765732f636f7665722e706e67)](https://camo.githubusercontent.com/38a42a93676404d878f14259295b69ff45704a5bc3ff2f92f9ec5faf32197eba/687474703a2f2f7a6e636b2e6d652f6174746163682f6173736574732f696d616765732f636f7665722e706e67)

 [ ![StyleCI Status](https://camo.githubusercontent.com/6f2ab5060592582c3ba8be1b629a3fe2c385f2563d5db4eaf21471e81d9c4fe6/68747470733a2f2f7374796c6563692e696f2f7265706f732f35393933303638342f736869656c64) ](https://styleci.io/repos/59930684) [ ![Build Status](https://camo.githubusercontent.com/efe1bb56e5b9348f03ee79f5146f00eab1dde214bb90a5a322230fca24a4251d/68747470733a2f2f636972636c6563692e636f6d2f67682f7a6e636b2f6174746163682e7376673f7374796c653d737667) ](https://circleci.com/gh/znck/attach) [ ![Coverage Status](https://camo.githubusercontent.com/1a7b474f889528d0b5c95d333adc9ccac3a2e4e36da1a9c0996401f2a5b8fe52/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7a6e636b2f6174746163682f62616467652e7376673f6272616e63683d6d6173746572267374796c653d666c61742d737175617265) ](https://coveralls.io/github/znck/attach?branch=master) [ ![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265) ](LICENSE) [ ![Packagist](https://camo.githubusercontent.com/d93ea13ee51efcd8396d66d2fdc0b27de214e60185e43dc60031223055f48cfc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a6e636b2f6174746163682e7376673f7374796c653d666c61742d737175617265) ](https://packagist.org/packages/znck/attach) [ ![Latest Version](https://camo.githubusercontent.com/ab1ed0864d23b655254a11e9deba73378d44dc9fa845ed5b57e097a97b67105f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7a6e636b2f6174746163682e7376673f7374796c653d666c61742d737175617265) ](https://github.com/znck/attach/releases) [ ![Issues](https://camo.githubusercontent.com/a85586ad5881c9191d75319b308a8a51be0f4d1e7c571da214223208ed39d949/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f7a6e636b2f6174746163682e7376673f7374796c653d666c61742d737175617265) ](https://github.com/znck/attach/issues)

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Rahul Kadyan](https://github.com/znck)
- [All Contributors](https://github.com/znck/attach/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](http://znck.me/attach/license) for more information.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~189 days

Total

2

Last Release

3492d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/79c0b664c035ee2af1f8988190a505d9fd559649b56711d31670f6717e3ec441?d=identicon)[znck](/maintainers/znck)

---

Top Contributors

[![znck](https://avatars.githubusercontent.com/u/2596484?v=4)](https://github.com/znck "znck (49 commits)")[![sereno-deployer](https://avatars.githubusercontent.com/u/24370745?v=4)](https://github.com/sereno-deployer "sereno-deployer (1 commits)")

---

Tags

attachmentfile-uploadlaravelattachznck

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/znck-attach/health.svg)

```
[![Health](https://phpackages.com/badges/znck-attach/health.svg)](https://phpackages.com/packages/znck-attach)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M341](/packages/psalm-plugin-laravel)[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.5M82](/packages/unisharp-laravel-filemanager)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k19](/packages/fleetbase-core-api)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45544.2k1](/packages/pressbooks-pressbooks)[intervention/image-laravel

Laravel Integration of Intervention Image

1588.9M161](/packages/intervention-image-laravel)[api-platform/laravel

API Platform support for Laravel

59156.3k11](/packages/api-platform-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
