carbon/resourceproxy 问题修复 & 功能扩展

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

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

carbon/resourceproxy

最新稳定版本:1.0.0

Composer 安装命令:

composer require carbon/resourceproxy

包简介

Resource proxy for Neos Flow and Neos CMS

README 文档

README

This package offers the concept of resource proxies. Once activated, only the resources that are actually used are downloaded just at the moment they are rendered. This is done by custom implementations of WritableFileSystemStorage and ProxyAwareFileSystemSymlinkTarget and works out of the box if you use this storage and target in you local development environment. If you use other local storages, for example a local S3 storage, you can easily build your own proxy aware versions implementing the interfaces ProxyAwareStorageInterface and ProxyAwareTargetInterfaceof this package.

Settings.yaml

The presets that are defined in the configuration path Carbon.ResourceProxy.

Carbon:
  ResourceProxy:
    # The basis url of your project
    baseUri: https://your.server.tld

    # define an optional subDirectory (defaults to: '_Resources/Persistent/', trailing slash is required!)
    subDirectory: _Resources/Persistent/

    # define wether or not the remote uses subdivideHashPathSegments
    subdivideHashPathSegment: false

    # curl options
    curlOptions:
      CURLOPT_USERPWD: very:secure

The settings should be added to the global Settings.yaml of the project, so that every developer with SSH-access to the remote server can easily clone the setup.

If you don't see the iamges, please consider run following flow commands:

flow flow:cache:flush
flow flow:package:rescan
flow media:clearthumbnails
flow resource:publish

Installation

Carbon.ResourceProxy is available via packagist. Just add "carbon/resourceProxy" : "^1.0" to the require-dev section of the composer.json or run composer require --dev carbon/resourceProxy.

Credits

Most of the code is from Sitegeist.MagicWand, but only the resource proxy part.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-07-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固