Library for Agro24 project to get some methods with static files.
Pull this package in through Composer.
{
"require": {
"fairhypo/agrostatic": "^1.0"
}
}
Add the service provider to your config/app.php
file:
'providers' => array(
//...
Fairhypo\Agrostatic\AgrostaticServiceProvider::class,
),
Method | Input | Description |
---|---|---|
getStaticPath() | $identifier, $width | Get path of photo by id or by related model |
This template is open-sourced software licensed under the MIT license
Yuriy Maslov (developer)
- Email: yuriy.maslof@gmail.com