williamurbano/placehold.it
Composer 安装命令:
composer require williamurbano/placehold.it
包简介
View Helper to generate placehold.it URLs
README 文档
README
View Helper to generate placehold.it URLs
This module is designed to work with the View Helpers from Zend Framework 2.
Installation
php composer.phar require williamurbano/placehold.it:dev-master
Configuration
<?php // config/application.config.php return array( 'modules' => array( 'PlaceholdIt', 'Application', // ... Your another modules ) ); ?>
Options
The helper has some options that follow are listed below
| Option | Required | Type | Default | Description |
|---|---|---|---|---|
| size | true | array, int, string | Defines the dimensions of the image. If declared an integer or a string width and height take the same value. If an array is declared the first position will match the width and the second time. See the following examples. | |
| text | false | string | NULL | Set the text to the image content. |
| colors | false | array, int, string | NULL | Sets the color scheme (hexadecimal) of the image. Background and text color. If declared an integer or a string the image background will take informed color. If an array is defined its first position will match the background color and the second image text color. |
| format | false | string | NULL |
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GNU
- 更新时间: 2015-03-12