bilwy/watermark
最新稳定版本:v1.0.0
Composer 安装命令:
composer require bilwy/watermark
包简介
Generate text watermark with canvas for dcat-admin
关键字:
README 文档
README
Add Generate Text Watermark in dcat-admin web page.
Install
composer require bilwy/watermark
Configurations
Add extensions option in your config/admin.php configuration file:
'extensions' => [ 'watermark' => [ 'enable' => true, 'config' => [ 'content' => 'username', // Admin::user()->username, or Admin::user()->name or fixed value like 'internal info' 'width' => '100px', 'height' => '120px', 'textAlign' => 'left', 'textBaseline' => 'alphabetic', 'font' => '15px Times New Roman', 'fillStyle' => 'rgba(204,204,204,0.4)', 'rotate' => 30, 'zIndex' => 1000, ] ] ]
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-12-03