定制 williamurbano/placehold.it 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

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

GitHub 信息

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

其他信息

  • 授权协议: GNU
  • 更新时间: 2015-03-12