codesleeve/stapler
Stapler is a Laravel package for handling file uploads and attachments on Eloquent models, with image processing, thumbnails, storage options, and simple configuration for managing uploaded files.
Consider adopting (typically behind a spike) when:
Look elsewhere when:
spatie/laravel-medialibrary or first-party Storage + Intervention Image.For executives: "This is a free, open-source library that lets us add image and file uploads to our Laravel product in days rather than weeks. It's a strong fit for a time-boxed MVP or an older application, but it is not a long-term platform bet: the license is unclear and the project appears inactive. Recommendation: use it only to validate the feature quickly, accept the maintenance risk explicitly, and budget a migration path before we scale."
For engineering: "Stapler attaches uploads declaratively to Eloquent models — you configure the model and it handles storage, image resizing via Imagine, and S3 via Flysystem with minimal boilerplate. The trade-off is that it's dated, effectively unmaintained, and the license needs legal review. Suggested approach: a 1–2 day spike, wrap it behind an internal MediaService interface, and treat the package as swappable so we can migrate to spatie/laravel-medialibrary or native Storage + Intervention without touching product code."
How can I help you explore Laravel packages today?