vysokeskoly/image-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

vysokeskoly/image-bundle

最新稳定版本:6.0.0

Composer 安装命令:

composer require vysokeskoly/image-bundle

包简介

Bundle for loading and generating images

README 文档

README

Latest Stable Version License Checks Build Coverage Status

Changelog

See CHANGELOG.md.

Installation

Step 1

Download using composer

"require": {
    "vysokeskoly/image-bundle" : "^5.0"
},

Step 2

Add VysokeSkolyImageBundle bundle to AppKernel to list of loaded bundles.

$bundles = [
    // ..
    new VysokeSkoly\ImageBundle\VysokeSkolyImageBundle(),                            
    // ..
];

Step 3

Configure required parameters for this bundle.

Implementation of ImageRepositoryInterface

  • for example class My\ImageRepository implements ImageRepositoryInterface
  • its Autowired, so you do not have to specify it explicitly

config.yml

# EDU ImageBundle
vysoke_skoly_image:
    image_formats:
        preview1x:
            width: 260
            height: 175
        preview2x:
            width: 520
            height: 350
        cropped:
            width: 100
            height: 100
            crop:
                x: 20
                y: 20
                x2: 120
                y2: 120
        cropped2:
            width: 100
            height: 100
            crop:
                x: 20
                y: 20
                width: 100
                height: 100
    
# [OPTIONAL]
services:
    app.repository.image:
        class: My\ImageRepository

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2022-07-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固