mrgoodbytes8667/image-bundle

用于图像缓存的Symfony扩展包

v0.12.0-BETA1 2024-08-20 14:39 UTC

This package is auto-updated.

Last update: 2024-09-20 16:12:53 UTC


README

Packagist Version PHP from Packagist Symfony Versions Supported Symfony Versions Tested Symfony LTS Version Symfony Stable Version Symfony Dev Version Packagist License GitHub Release Workflow Status GitHub Tests Workflow Status GitHub By Version Workflow Status GitHub Coverage Workflow Status codecov
用于图像缓存的Symfony扩展包(基于avatar-bundle的分支/替代品)

安装

确保已全局安装Composer,具体安装方法请参考Composer文档中的安装章节

使用Symfony Flex的应用程序

打开命令行控制台,进入项目目录并执行

$ composer require mrgoodbytes8667/image-bundle

不使用Symfony Flex的应用程序

步骤 1:下载扩展包

打开命令行控制台,进入项目目录并执行以下命令以下载此扩展包的最新稳定版本

$ composer require mrgoodbytes8667/image-bundle

步骤 2:启用扩展包

然后,通过将其添加到项目config/bundles.php文件中注册的扩展包列表来启用扩展包

// config/bundles.php

return [
    // ...
    Bytes\ImageBundle\BytesImageBundle::class => ['all' => true],
];

许可协议

License
MrGoodBytes开发的image-bundle遵循Creative Commons Attribution-NonCommercial 4.0 International License协议。
基于https://github.com/mrgoodbytes8667/image-bundle的工作。

Roboto字体遵循Apache 2.0许可证,并且不会分发到composer包中。