emtiazzahid/laravel-rat 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

emtiazzahid/laravel-rat

Composer 安装命令:

composer require emtiazzahid/laravel-rat

包简介

A package to bulk image resize in a directory

README 文档

README

Latest Version on Packagist Total Downloads

Resize and optimize all of your images in certain folder by CLI

screenshot1.png screenshot2.png

Installation

You can install the package via composer:

composer require emtiazzahid/laravel-rat

Usage

Resize Images

Resize images to specified dimensions while maintaining aspect ratio:

php artisan rat:run

Optimize Images

Optimize image file size by adjusting quality/compression (keeps original resolution):

php artisan rat:optimize

Undo Changes

Restore images from backup after resize or optimize operations:

php artisan rat:undo

Safe Mode: All commands now include safe mode by default, creating backups before processing. Backups are stored in a .rat-backup folder within the target directory.

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email emtiazzahid@gmail.com instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.

TODO

  • ✓ Image optimization (Added rat:optimize command)
  • ✓ Undo action (Added rat:undo command with backup system)
  • Image resize with model iteration

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-04-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固