Package Data | |
---|---|
Maintainer Username: | Hlacos |
Maintainer Contact: | heiszmann@gmail.com (Heiszmann László) |
Package Create Date: | 2015-04-03 |
Package Last Update: | 2019-09-16 |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2024-12-22 03:12:33 |
Package Statistics | |
---|---|
Total Downloads: | 4,132 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 2 |
Total Forks: | 2 |
Total Open Issues: | 0 |
Laravel 5 bundle for store simply file attachments.
It's under development, not recommended for production use!
Attachments storing in public/attachments directory. To override it:
Extend Hlacos\Attachment5\Models\Attachment and set the $table attribute.
Extend Hlacos\Attachment5\Models\Attachment and set the $sizes array attribute. In the array sets the width of the required images;
Extend Hlacos\Attachment5\Models\Attachment and set the $originalMaxSize string attribute.
You can set polymoprhic relations in the realted models.
Thanks to David Beyaty (https://github.com/hatja) for the gif resize implementation.