in-square/opendxp-post-bundle
Composer 安装命令:
composer require in-square/opendxp-post-bundle
包简介
Post bundle for OpenDXP.
README 文档
README
Bundle provides basic blog data objects (Post, PostCategory, PostTag), archive tables for monthly counts, and tools for organizing posts by date.
Features
- Installs
PostCategory,PostTag, andPostclasses (withdatefield). - Creates archive tables:
post_archive_by_category,post_archive_by_tag. - Event-based change tracking + CRON-friendly archive rebuild.
- Date-based folder sorting for existing posts.
Requirements
- PHP 8.3
- Symfony 7.4
- OpenDXP 1.0
Installation
Install the bundle via Composer and run the OpenDXP installer:
composer require in-square/opendxp-post-bundle php bin/console opendxp:bundle:install InSquareOpendxpPostBundle
Configuration
Create config/packages/in_square_opendxp_post.yaml in the OpenDXP project:
in_square_opendxp_post: post_root_folder: '/posts' sorting: enabled: true date_field: 'date' archive: idle_minutes: 10
Archive rebuild (CRON)
Event subscriber stores last_posts_change in cache. Run rebuild command via CRON:
* * * * * /usr/bin/php /path/to/opendxp/bin/console insquare:post-archive:rebuild
Command supports --force and --idle-minutes:
php bin/console insquare:post-archive:rebuild --force
Sorting existing posts
Use this command to move existing posts into /Y/m/d folders:
php bin/console insquare:post:sort
Development
Static analysis and coding standards:
composer phpstan composer php-cs composer php-cs:dry
in-square/opendxp-post-bundle 适用场景与选型建议
in-square/opendxp-post-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 03 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「blog」 「post」 「opendxp」 「opendxp-bundle」 「opendxp-plugin」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 in-square/opendxp-post-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 in-square/opendxp-post-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 in-square/opendxp-post-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Symfony bundle that integrates the PostNord PHP SDK
Laravel package for opinionated blog implementation
Edit Posts button always visible
Extends basic Wordpress features.
Import an RSS-feed into blog
Faker provider for NumberNine CMS
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 38
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2026-03-30