Bulk images optimize using https://github.com/spatie/image-optimizer Add some images at input directory and get them optimized from output dir. Requirements can be found here: https://github.com/spatie/image-optimizer