Package Data | |
---|---|
Maintainer Username: | agenciafmd |
Maintainer Contact: | irineu@mixd.com.br (Irineu Martins Junior) |
Package Create Date: | 2016-01-28 |
Package Last Update: | 2016-01-29 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-15 03:03:19 |
Package Statistics | |
---|---|
Total Downloads: | 2,212 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 3 |
Total Forks: | 1 |
Total Open Issues: | 0 |
This package add some features that laravel-stapler doesn't have
This package currently requires Laravel >= 5.1.
Laravel-Stapler-Extra is distributed as a composer package, which is how it should be used in your app.
Install the package using Composer. Edit your project's composer.json
file to require mixdinternet/laravel-stapler-extra
.
"require": {
"mixdinternet/laravel-stapler-extra": "0.1.*"
}
or
composer require mixdinternet/laravel-stapler-extra
Once this operation completes, the final step is to change to your custom class
Open /config/laravel-stapler/bindings.php
Change:
'interpolator' => '\Codesleeve\Stapler\Interpolator',
to
'interpolator' => '\Mixdinternet\LaravelStaplerExtra\Interpolator',
str_slug()
on file attachment name, e.g atenção.jpg -> atencao.jpg.