PHPackages                             reizinixc/blogattachment - 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. reizinixc/blogattachment

ActiveOctober-plugin

reizinixc/blogattachment
========================

File attachment plugin for RainLab blog module

v1.0.0(11y ago)0110MITPHPPHP &gt;=5.4

Since Nov 9Pushed 11y agoCompare

[ Source](https://github.com/Reizinixc/october-blogattachment-plugin)[ Packagist](https://packagist.org/packages/reizinixc/blogattachment)[ RSS](/packages/reizinixc-blogattachment/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Blog File Attachment plugin
===========================

[](#blog-file-attachment-plugin)

This plugin extends the [RainLab Blog plugin](https://github.com/rainlab/blog-plugin) with file attachment features.

Plugin dependency
-----------------

[](#plugin-dependency)

This plugin wants you to install RainLab Blog plugin first.

How to install
--------------

[](#how-to-install)

```
composer require reizinixc/blogattachment && echo /plugins/reizinixc/blogattachment >> .gitignore
```

How to use
----------

[](#how-to-use)

After install this plugin, you will see the "Attachments" option in "Manage" tab.

### How to attach files

[](#how-to-attach-files)

If you can upload featured images, you can upload files by click the plus icon and choose the files.

### How to get attached files

[](#how-to-get-attached-files)

When you retrieve the blog post. You can get all attached files by `attachments` attribute e.g. `posts.attachments` and get attached files by iterating through `attachments` or use an array index.

Here are some accessible fields of attachment object.

FieldsDescriptioncontent\_typeGet MIME type of filecreated\_atGet a creation datetime of filedescriptionGet a file descriptionextensionGet a file extensionfile\_nameGet a file namefile\_sizeGet a file size in BytespathGet a download URI of filetitleGet a file title### Example usage

[](#example-usage)

```
{% for attachment in post.attachments %}
    {{ attachment.file_name }} ({{ attachment.file_size }}B)
{% endfor %}
```

Found bugs/Translation/Enhancement
----------------------------------

[](#found-bugstranslationenhancement)

I will salute you if you create an issue or a pull request. Please feel free to do it :)

License
-------

[](#license)

MIT

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

4202d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d72133202d2ce00c04379168179b005ab8bb0685190a2bd8aa234cd8e3eff73?d=identicon)[Reizinixc](/maintainers/Reizinixc)

---

Top Contributors

[![Reizinixc](https://avatars.githubusercontent.com/u/1935919?v=4)](https://github.com/Reizinixc "Reizinixc (1 commits)")

---

Tags

plugincmsattachmentoctober

### Embed Badge

![Health badge](/badges/reizinixc-blogattachment/health.svg)

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

###  Alternatives

[martin/forms-plugin

Create easy (and almost magic) AJAX forms

601.3k](/packages/martin-forms-plugin)

PHPackages © 2026

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