承接 twoh/twoh_tiny_png 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

twoh/twoh_tiny_png

Composer 安装命令:

composer require twoh/twoh_tiny_png

包简介

Optimize your TYPO3 Images using the TinyPNG API

README 文档

README

Optimize your TYPO3 images automatically using the TinyPNG API

TYPO3 12 TYPO3 13 PHP 8.x License: GPL v2

📋 Requirements

Requirement Version
PHP >= 8.2
Composer >= 2.4
TYPO3 13.x

🔑 Get Your TinyPNG API Key

  1. Visit TinyPNG Developers
  2. Enter your Full Name
  3. Enter your E-Mail
  4. Receive your API Key

🚀 Installation & Setup

Extension Setup

  1. Install the extension via Composer:

    composer require twoh/twoh_tiny_png
  2. Include the extension in your TypoScript ROOT Template

  3. Configure the following TypoScript settings:

    • Set your API Key
    • Create a Backend folder for TinyPNG records
    • Set the PID of your backend folder
    • (Optional) Set Width for image resizing on upload (height is calculated automatically)

Scheduler Setup (Bulk Optimization)

  1. Create a new Scheduler Task
  2. Select TinyPNG Bulk Compression Command
  3. Start the cron job

⚠️ Note: The cron may take longer depending on the number of images.

⚙️ Configuration

Ignore Specific Folders

To exclude images from specific folders, add them to your TypoScript Constants (comma-separated):

ignoreImagesByFolderName = {$plugin.tx_twohtinypng.settings.ignoreImagesByFolderName}

File Upload Process

The extension hooks into the File Upload Process and automatically compresses images on upload.

🛠️ Development

Code Quality with PHP CS Fixer

This extension uses PHP CS Fixer for code style enforcement following TYPO3 best practices.

Command Description
composer cs:fix Auto-fix code style issues
composer cs:check Check for violations (dry-run)

👥 Authors

Name Role Contact
Andreas Reichel Developer a.reichel91@outlook.com
Igor Smertin Developer igor.smertin@web.de

📚 Documentation

For detailed documentation, visit: TYPO3 Documentation

💖 Support This Project

If you find this extension helpful, please consider supporting its development! Your sponsorship helps maintain and improve this project.

Sponsor on GitHub

Every contribution, no matter the size, is greatly appreciated and helps ensure the continued development of this extension. Thank you for your support! 🙏

🐛 Issues & Support

Found a bug or have a feature request? Please open an issue on GitHub.

📄 License

This project is licensed under the GPL-2.0-or-later license.

twoh/twoh_tiny_png 适用场景与选型建议

twoh/twoh_tiny_png 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 25 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 06 月 09 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「image」 「extension」 「optimization」 「typo3」 「bulk」 「tinypng」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 twoh/twoh_tiny_png 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 twoh/twoh_tiny_png 我们能提供哪些服务?
定制开发 / 二次开发

基于 twoh/twoh_tiny_png 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2025-06-09