fikoborizqy/dummy-image
Composer 安装命令:
composer require fikoborizqy/dummy-image
包简介
An image placeholder to get attention that this image need to be replaced. You can make an image by using basic CSS experience.
README 文档
README
An image placeholder to get attention that this image need to be replaced. You can make an image by using basic CSS experience.
Check the Demo here: DEMO
How to install?
We recommend you to install this library by using composer. But, if you don't use composer you can still install it manually by downloading it.
1. Via Composer
- Get on your terminal and change directory to your project, then type this:
composer require fikoborizqy/dummy-image - Once Process succeed, create a new blank file
example.php. You can change the name to anything. - Copy this basic code:
Borizqy\DummyImage\DummyImage::create([ "height" => "128px", "width" => "128px", "font-size" => "48pt", "background-color" => "#8EC051", "color" => "#709c3d", "content" => "FB", "font-family" => "roboto" ]);
2. Manually
Download ZIPfiles
- Extract that zip to your project directory.
- Copy
example.phpfrom Dummy Image directory to you project. - Access that example.php on browser. (You can rename that file or change the CSS)
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
MIT © 2019
统计信息
- 总下载量: 29
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-04-16