sylius/resource-bundle
Composer 安装命令:
composer require sylius/resource-bundle
包简介
Resource component for Sylius.
README 文档
README
Easy CRUD and persistence for Symfony apps.
During our work on Sylius, we noticed a lot of duplicated code across all controllers. We started looking for good solution of the problem. We're not big fans of administration generators (they're cool, but not for our usecase!) - we wanted something simpler and more flexible.
Another idea was to not limit ourselves to one persistence backend. Initial implementation included custom manager classes, which was quite of overhead, so we decided to simply
stick with Doctrine Common Persistence interfaces. If you are using Doctrine ORM or any of the ODM's, you're already familiar with those concepts.
Resource bundle relies mainly on ObjectManager and ObjectRepository interfaces.
The last annoying problem this bundle is trying to solve, is having separate "backend" and "frontend" controllers, or any other duplication for displaying the same resource, with different presentation (view). We also wanted an easy way to filter some resources from list, sort them or display by id, slug or any other criteria - without having to defining another super simple action for that purpose.
If these are issues you're struggling with, this bundle may be helpful!
Please note that this bundle is not an admin generator. It won't create forms, filters and grids for you. It only provides format agnostic controllers as a foundation to build on, with some basic sorting and filter mechanisms.
Supported branches
1.10(v1.10.*versions) - bug fixes and improvements of existing features1.11(next version -v1.11.0) - new features and bigger changes
Beware! There is no main or master branch on the repository. You should always open a Pull Request to the branch
named as the minor version on which your changes should be applied.
Sylius
Sylius is an Open Source eCommerce solution built from decoupled components with powerful API and the highest quality code. Read more on sylius.com.
Development
Build:
docker compose up -d --build
Test:
make test
Documentation
Sylius Stack documentation » Resource Bundle
Contributing
This page contains all the information about contributing to Sylius.
Follow Sylius' Development
If you want to keep up with the updates and latest features, follow us on the following channels:
Bug tracking
Sylius uses GitHub issues. If you have found bug, please create an issue.
MIT License
License can be found here.
Authors
The bundle was originally created by Paweł Jędrzejewski. See the list of contributors.
sylius/resource-bundle 适用场景与选型建议
sylius/resource-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 10.75M 次下载、GitHub Stars 达 236, 最近一次更新时间为 2012 年 10 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「persistence」 「storage」 「sylius」 「resource」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 sylius/resource-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 sylius/resource-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 sylius/resource-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A SDK for working with B2 cloud storage.
This bundle provides tools to build persistence-agnostic storage layer.
Small library to access Microsoft Windows Azure Blob Storage with a Service or a StreamWrapper.
Implementation of the Omnibus Directive for Sylius application.
Propel2 is an open-source Object-Relational Mapping (ORM) for PHP 5.5 and up.
Kinikit - PHP Application development framework MVC component
统计信息
- 总下载量: 10.75M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 240
- 点击次数: 15
- 依赖项目数: 180
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-10-28