PHPackages                             technovistalimited/shongjukti - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. technovistalimited/shongjukti

ActivePackage[Utility &amp; Helpers](/categories/utility)

technovistalimited/shongjukti
=============================

Reusable component for attachments in Laravel-based web application.

v2.0.2(4y ago)1872MITPHP

Since Mar 7Pushed 4y ago3 watchersCompare

[ Source](https://github.com/technovistalimited/shongjukti)[ Packagist](https://packagist.org/packages/technovistalimited/shongjukti)[ RSS](/packages/technovistalimited-shongjukti/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (1)Versions (16)Used By (0)

[![Shongjukti - Laravel Package for Attachment Management by TechnoVista Limited](https://user-images.githubusercontent.com/4551598/64144194-3c31dc80-ce35-11e9-9c46-90a88c8db2a4.png)](https://user-images.githubusercontent.com/4551598/64144194-3c31dc80-ce35-11e9-9c46-90a88c8db2a4.png)

Shongjukti (সংযুক্তি)
=====================

[](#shongjukti-সংযুক্তি)

[![GitHub release](https://camo.githubusercontent.com/f31f301264b2a16efe08fa564e9fcb026cadf58d9bffdb567f118cfea593f609/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f746563686e6f76697374616c696d697465642f73686f6e676a756b74692e7376673f7374796c653d666c617426636f6c6f723d677265656e)](https://github.com/technovistalimited/shongjukti/releases)[![GitHub license](https://camo.githubusercontent.com/6f34665057c332387081678e1f556ea3da4bcd981599f620659dd7fc1d74ed9e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f746563686e6f76697374616c696d697465642f73686f6e676a756b74692e7376673f7374796c653d666c617426636f6c6f723d626c7565)](https://github.com/technovistalimited/shongjukti/blob/master/LICENSE)[![Laravel Package](https://camo.githubusercontent.com/0aedf3410e6090ca80cd404d9fbe3e14234f7eb093affda4ebdadb1f0f2dcdc7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d7965732d6f72616e67652e7376673f7374796c653d666c6174266c6f676f3d6c61726176656c26636f6c6f723d726564266c6f676f436f6c6f723d7768697465)](https://laravel.com/)

A reusable component for managing attachments in Laravel-based web application.

The repository was developed as a sub-project of an existing project, with a mission to re-use this code with less effort wherever necessary.

Table of Contents
-----------------

[](#table-of-contents)

- [Requirements](#user-content-requirements)
- [Features](#user-content-features)
- [Documentation](#user-content-documentation)
    - [Install &amp; Configure](#user-content-install--configure)
    - [How to Use](#user-content-how-to-use)
    - [Utilities](#user-content-utilities)
    - [Error Handling](#user-content-error-handling)
- [UI (User Interface)](#user-content-ui-user-interface)
- [Known Issues (When not to use)](#user-content-known-issues-when-not-to-use)
- [Roadmap](#user-content-roadmap)
- [License](#user-content-license)
- [Credits](#user-content-credits)

Requirements
------------

[](#requirements)

- Laravel 5.6+ (Tested up to 8.x)
- Bootstrap 3.4.1/4.x styles
    - Grids
    - Panels (Cards)
    - Forms
    - Alerts
    - Buttons
- jQuery 2.x+

Features
--------

[](#features)

- *Defined* attachments can be managed
- Attachments can be defined for any types of scopes
- A custom label can be accepted where necessary
- Mandatory and optional attachments can be defined and managed accordingly
- Maximum upload size \[per file\] can be defined globally
- Accepted file types can be managed globally
- Accepted file types can be defined for each of the types of attachment
- Translation-ready (English and Bengali are defined by default)

Features that *not* present can be found under "Known Issues" section.

Documentation
-------------

[](#documentation)

### Install &amp; Configure

[](#install--configure)

- [Installation](https://github.com/technovistalimited/shongjukti/wiki/Installation)
- [Configuration](https://github.com/technovistalimited/shongjukti/wiki/Configuration)

### How to Use

[](#how-to-use)

- [Implementation Guide](https://github.com/technovistalimited/shongjukti/wiki/Implementation)
- [Implementation Checklist](https://github.com/technovistalimited/shongjukti/wiki/Implementation-Checklist) (guideline from other perspective)
- [Overriding Things](https://github.com/technovistalimited/shongjukti/wiki/Overriding-Things)

### Utilities

[](#utilities)

- [Necessary Methods (Functions)](https://github.com/technovistalimited/shongjukti/wiki/Necessary-Methods-(Functions))
- [Pluggable Portions (Things can be modified)](https://github.com/technovistalimited/shongjukti/wiki/Pluggable-Portions-(Things-can-be-modified))

### Error Handling

[](#error-handling)

- [Error Handling](https://github.com/technovistalimited/shongjukti/wiki/Error-Handling)

UI (User Interface)
-------------------

[](#ui-user-interface)

The design is not the primary concern of the package and is not implemented as visible in the screenshots.

✔️ ***The basic functional UI with no blocking UX is implemented.***

But the screenshots are taken from the actual use case where we modified things to match with our custom layouts in Limitless admin framework with Bootstrap 3.3.7.

[📷 See Screenshots](https://github.com/technovistalimited/shongjukti/wiki/Screenshots)

Known Issues (When not to use)
------------------------------

[](#known-issues-when-not-to-use)

- **Variable number of Attachments not supported:**
    If you want to let the user add attachments on their choice, and there are no fixed attachments defined, this repository won't fit
- **No separate uploading (Larger files matter):**
    The module will store files (attachments) when the parent form will store data. If you are dealing with larger files and there are many types defined then the `max_input_vars` in `php.ini` needs to be revised, or altered using `.htaccess` with the resource [available here](https://stackoverflow.com/a/2364875/1743124). (**Solution:** A possible solution could be to use JavaScript-based file upload)
- **JavaScript-based upload will change file path:**
    If the file upload part is managed using JavaScript upload, then the `/scope_key/scope_id/file.ext` concept won't work, and the files will be stored in `/year/month/file.ext` path, unless the `scope_id` is managed by any way

Roadmap
-------

[](#roadmap)

- Facilitate to employ multiple segments in the same scope to accept segmented attachments
- Make it more robust to use like a Laravel package
- If a Laravel package is been developed, publish it to packagist.org

License
-------

[](#license)

The code is licensed in [MIT](https://opensource.org/licenses/MIT).

Credits
-------

[](#credits)

Project initiated and lead by Mr. [Mayeenul Islam Mayeen](https://github.com/mayeenulislam). Ms. [Mowshana Farhana Mow](https://github.com/mowshana) implemented the idea.
Heartiest thanks to Mr. Nazmul Hasan, Tanvir Rahman, Shakhawat Hossain Mollah, and Shipon Hossain for their valuable feedback and guidance.

---

[TechnoVista Limited](https://technovista.com.bd/)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 96.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 ~61 days

Recently: every ~140 days

Total

14

Last Release

1821d ago

Major Versions

v0.1.2 → v1.0.02019-03-10

v1.1.2 → v2.0.02021-02-09

### Community

Maintainers

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

---

Top Contributors

[![mayeenulislam](https://avatars.githubusercontent.com/u/4551598?v=4)](https://github.com/mayeenulislam "mayeenulislam (80 commits)")[![mowshana93](https://avatars.githubusercontent.com/u/11957462?v=4)](https://github.com/mowshana93 "mowshana93 (3 commits)")

---

Tags

attachmentslaravelreusable-componentslaravelattachmentsshongjukti

### Embed Badge

![Health badge](/badges/technovistalimited-shongjukti/health.svg)

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

###  Alternatives

[highideas/laravel-users-online

This package will provide an online users management.

203113.2k1](/packages/highideas-laravel-users-online)[stephenjude/filament-blog

Filament Blog Builder

20317.8k](/packages/stephenjude-filament-blog)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11229.2k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

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