定制 rekalogika/file-association 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

rekalogika/file-association

最新稳定版本:2.3.0

Composer 安装命令:

composer require rekalogika/file-association

包简介

Handles the association between Doctrine entities and files using the rekalogika/file framework, including from file uploads.

README 文档

README

Handles the association between Doctrine entities and files using the rekalogika/file framework, including from file uploads.

Features

  • Requires only a single property in the entity for each associated file.
  • File properties are file properties. It is not necessary to store any of the file's properties in the entity associated with the file.
  • DX improvement, less micro-management of entity-file relations.
  • Reads and writes directly into the file properties, even if private. You are free to have business logic in the getters and setters.
  • Doesn't require you to update another property of the entity (lastUpdated?) just to make sure the correct Doctrine events will be fired.

Documentation

rekalogika.dev/file-bundle

License

MIT

Contributing

The rekalogika/file-association repository is a read-only repo split from the main repo. Issues and pull requests should be submitted to the rekalogika/file-src monorepo.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-24