-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.php
30 lines (29 loc) · 1.13 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
return [
'source' => new \League\Flysystem\Filesystem(
new \Colombo\Cdn\HttpAdapter('https://icdn.dantri.com.vn/')
),
'cache' => new \League\Flysystem\Filesystem(new \Colombo\Cdn\RedisAdapter(new \Predis\Client([
'port' => 6380,
]))),
'imageManager' => new Intervention\Image\ImageManager([
'driver' => 'gd',
]),
'manipulators' => [
new League\Glide\Manipulators\Orientation(),
new League\Glide\Manipulators\Crop(),
new League\Glide\Manipulators\Size(2000*2000),
new \Colombo\Cdn\Manipulators\Flip(),
// new League\Glide\Manipulators\Brightness(),
// new League\Glide\Manipulators\Contrast(),
// new League\Glide\Manipulators\Gamma(),
// new League\Glide\Manipulators\Sharpen(),
// new League\Glide\Manipulators\Filter(),
// new League\Glide\Manipulators\Blur(),
// new League\Glide\Manipulators\Pixelate(),
// new League\Glide\Manipulators\Background(),
// new League\Glide\Manipulators\Border(),
// new League\Glide\Manipulators\Encode(),
new \Colombo\Cdn\Manipulators\Encode(),
],
];