PHPackages                             giko/image-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. giko/image-bundle

ActiveSymfony-bundle[Image &amp; Media](/categories/media)

giko/image-bundle
=================

Giko Image Resize Bundle

1.0.1(10y ago)025Apache License 2.0PHPPHP &gt;=5.3.2

Since Sep 26Pushed 10y ago1 watchersCompare

[ Source](https://github.com/gikoluo/GikoImageBundle)[ Packagist](https://packagist.org/packages/giko/image-bundle)[ Docs](https://github.com/gikoluo/ImageBundle)[ RSS](/packages/giko-image-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

介绍
==

[](#介绍)

本组件可用于图片缩放，通过URL参数，即可加载不同尺寸的图片。同时支持紫铜的@2x, @3x图片。

`组件仅支持Symfony2.7+`

安装
--

[](#安装)

============

### Step 1. 将本组件 `giko/image-bundle` 和 `sonata-project/media-bundle` 添加到 `composer.json` 文件:

[](#step-1-将本组件-gikoimage-bundle-和-sonata-projectmedia-bundle--添加到-composerjson-文件)

```
        "require": {
            #...
            "sonata-project/media-bundle": "dev-master",
            "giko/image-bundle": "dev-master",
        }

```

### Step 2. 在应用内核代码中注册组件：

[](#step-2-在应用内核代码中注册组件)

```
          //app/AppKernel.php
          public function registerBundles()
          {
              return array(
                  // ...
                  new Giko\ImageBundle\GikoImageBundle(),
                  // ...
              );
          }
```

### Step 3. Sonata Media的相关配置步骤，请参见Sonata Media文档：

[](#step-3-sonata-media的相关配置步骤请参见sonata-media文档)

### Step 4. 增加Route

[](#step-4-增加route)

```
    giko_image:
        resource: "@GikoImageBundle/Resources/config/routing.yml"
        prefix:   /

```

---

如果，咳咳，我的代码对你有帮助，在Github上加个星，让我知道你看到了本代码。 [![通过支付宝捐赠](https://camo.githubusercontent.com/b639fe3969b2b0275da8b53037d780338deacede2f3910c05d5bae98de545c55/68747470733a2f2f7261772e6769746875622e636f6d2f67696b6f6c756f2f53696e61776569626f42756e646c652f6d61737465722f646f632f646f6e6174652d776974682d616c697061792e706e67)](https://me.alipay.com/giko)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#如果咳咳我的代码对你有帮助在github上加个星让我知道你看到了本代码)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

3

Last Release

3923d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/70cd310c9807d4d6bbe96f8730dfc934e89750b8c0169dcace754cda89d6431a?d=identicon)[gikoluo](/maintainers/gikoluo)

---

Top Contributors

[![gikoluo](https://avatars.githubusercontent.com/u/141950?v=4)](https://github.com/gikoluo "gikoluo (7 commits)")

---

Tags

image resize

### Embed Badge

![Health badge](/badges/giko-image-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/giko-image-bundle/health.svg)](https://phpackages.com/packages/giko-image-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M373](/packages/easycorp-easyadmin-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[ctessier/nova-advanced-image-field

An advanced image field for Nova with cropping and resizing.

102563.4k1](/packages/ctessier-nova-advanced-image-field)[francodacosta/phmagick

image manipulation with php and ImageMagick

3770.7k1](/packages/francodacosta-phmagick)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1615.6k12](/packages/2lenet-crudit-bundle)[michaeld555/filament-croppie

Croppie Js Implementation Field for Filament forms

123.4k](/packages/michaeld555-filament-croppie)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
