PHPackages                             monteiro/telescope-mail-attachments - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. monteiro/telescope-mail-attachments

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

monteiro/telescope-mail-attachments
===================================

Mail attachment support for Laravel Telescope

0.3.0(2mo ago)126MITPHPPHP ^8.1CI passing

Since Feb 12Pushed 2mo agoCompare

[ Source](https://github.com/monteiro/telescope-mail-attachments)[ Packagist](https://packagist.org/packages/monteiro/telescope-mail-attachments)[ Docs](https://github.com/monteiro/telescope-mail-attachments)[ RSS](/packages/monteiro-telescope-mail-attachments/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (6)Versions (6)Used By (0)

Telescope Mail Attachments
==========================

[](#telescope-mail-attachments)

[![Latest Version on Packagist](https://camo.githubusercontent.com/bb69cb5a68928afe821c6e79b2ab0705fb0413d978ce5a118c432e6587651b36/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6f6e746569726f2f74656c6573636f70652d6d61696c2d6174746163686d656e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/monteiro/telescope-mail-attachments)

Mail attachment support for [Laravel Telescope](https://github.com/laravel/telescope). Captures email attachments (filename, size, MIME type, content) during mail recording, stores them in Telescope entries, and provides download endpoints + UI.

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

[](#installation)

```
composer require monteiro/telescope-mail-attachments
```

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

[](#configuration)

In your `config/telescope.php`, replace `MailWatcher` with `MailAttachmentWatcher`:

```
'watchers' => [
    // Laravel\Telescope\Watchers\MailWatcher::class => env('TELESCOPE_MAIL_WATCHER', true),
    Monteiro\TelescopeMailAttachments\MailAttachmentWatcher::class => env('TELESCOPE_MAIL_WATCHER', true),
    // ... other watchers
],
```

Optionally publish the config file:

```
php artisan vendor:publish --tag=telescope-mail-attachments-config
```

### Config Options

[](#config-options)

OptionDefaultDescription`store_content``true`Store base64-encoded attachment content. Set to `false` to only store metadata (filename, size, MIME type) and reduce storage usage.You can also set `TELESCOPE_MAIL_ATTACHMENTS_STORE_CONTENT=false` in your `.env`.

Features
--------

[](#features)

- Paperclip badge with attachment count on the mail index page
- Attachments table with download links on the mail preview page
- Download endpoint for individual attachments
- Optional content storage toggle to manage database size

Screenshot
----------

[](#screenshot)

[![Captura de ecrã 2026-02-25, às 16 11 14](https://private-user-images.githubusercontent.com/74459/554858110-f72c5cac-bfca-4157-ab2b-417a73ae5475.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU0MTk2NjUsIm5iZiI6MTc3NTQxOTM2NSwicGF0aCI6Ii83NDQ1OS81NTQ4NTgxMTAtZjcyYzVjYWMtYmZjYS00MTU3LWFiMmItNDE3YTczYWU1NDc1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDA1VDIwMDI0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRmZjBkODMzNmY4NjI4NjZiYjQyYzBjZjBlMTBhZTBkOTI4NWIxMDZjMWY2MTczYzk2Y2M4MzY0YjNhZmVkZjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.CQx90jGJSYTj-d9NEe8GbKTNzLzpf9gqjMyVyy8ilHc)](https://private-user-images.githubusercontent.com/74459/554858110-f72c5cac-bfca-4157-ab2b-417a73ae5475.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU0MTk2NjUsIm5iZiI6MTc3NTQxOTM2NSwicGF0aCI6Ii83NDQ1OS81NTQ4NTgxMTAtZjcyYzVjYWMtYmZjYS00MTU3LWFiMmItNDE3YTczYWU1NDc1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDA1VDIwMDI0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRmZjBkODMzNmY4NjI4NjZiYjQyYzBjZjBlMTBhZTBkOTI4NWIxMDZjMWY2MTczYzk2Y2M4MzY0YjNhZmVkZjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.CQx90jGJSYTj-d9NEe8GbKTNzLzpf9gqjMyVyy8ilHc)Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

40

—

FairBetter than 87% of packages

Maintenance91

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 59.4% 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 ~4 days

Total

4

Last Release

73d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f59572f9a9f67cd2da93d51c77920b76be723776981eac17ec3713973cdde505?d=identicon)[monteiro](/maintainers/monteiro)

---

Top Contributors

[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (378 commits)")[![mvdnbrk](https://avatars.githubusercontent.com/u/802681?v=4)](https://github.com/mvdnbrk "mvdnbrk (46 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (31 commits)")[![Nielsvanpach](https://avatars.githubusercontent.com/u/10651054?v=4)](https://github.com/Nielsvanpach "Nielsvanpach (23 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (20 commits)")[![pforret](https://avatars.githubusercontent.com/u/474312?v=4)](https://github.com/pforret "pforret (16 commits)")[![sebastiandedeyne](https://avatars.githubusercontent.com/u/1561079?v=4)](https://github.com/sebastiandedeyne "sebastiandedeyne (14 commits)")[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (12 commits)")[![riasvdv](https://avatars.githubusercontent.com/u/3626559?v=4)](https://github.com/riasvdv "riasvdv (10 commits)")[![patinthehat](https://avatars.githubusercontent.com/u/5508707?v=4)](https://github.com/patinthehat "patinthehat (10 commits)")[![AdrianMrn](https://avatars.githubusercontent.com/u/12762044?v=4)](https://github.com/AdrianMrn "AdrianMrn (8 commits)")[![crynobone](https://avatars.githubusercontent.com/u/172966?v=4)](https://github.com/crynobone "crynobone (8 commits)")[![monteiro](https://avatars.githubusercontent.com/u/74459?v=4)](https://github.com/monteiro "monteiro (8 commits)")[![irfanm96](https://avatars.githubusercontent.com/u/42065936?v=4)](https://github.com/irfanm96 "irfanm96 (5 commits)")[![thecaliskan](https://avatars.githubusercontent.com/u/13554944?v=4)](https://github.com/thecaliskan "thecaliskan (5 commits)")[![IGedeon](https://avatars.githubusercontent.com/u/694313?v=4)](https://github.com/IGedeon "IGedeon (4 commits)")[![abenerd](https://avatars.githubusercontent.com/u/7523903?v=4)](https://github.com/abenerd "abenerd (3 commits)")[![jessarcher](https://avatars.githubusercontent.com/u/4977161?v=4)](https://github.com/jessarcher "jessarcher (3 commits)")[![koossaayy](https://avatars.githubusercontent.com/u/6431084?v=4)](https://github.com/koossaayy "koossaayy (3 commits)")[![lloricode](https://avatars.githubusercontent.com/u/8251344?v=4)](https://github.com/lloricode "lloricode (3 commits)")

---

Tags

laravelmailattachmentstelescopemonteiro

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/monteiro-telescope-mail-attachments/health.svg)

```
[![Health](https://phpackages.com/badges/monteiro-telescope-mail-attachments/health.svg)](https://phpackages.com/packages/monteiro-telescope-mail-attachments)
```

###  Alternatives

[vemcogroup/laravel-sparkpost-driver

SparkPost driver to use with Laravel 6.x|7.x|8.x|9.x|10.x

421.7M1](/packages/vemcogroup-laravel-sparkpost-driver)[railsware/mailtrap-php

The Mailtrap SDK provides methods for all API functions.

56770.5k](/packages/railsware-mailtrap-php)[modernmcguire/mailthief

A Laravel package to catch outbound mail (similar to Mailtrap) that also provides a UI to view them.

318.5k](/packages/modernmcguire-mailthief)

PHPackages © 2026

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