定制 pushword/snippet 二次开发

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

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

pushword/snippet

最新稳定版本:1.0.0-rc656

Composer 安装命令:

composer require pushword/snippet

包简介

Reusable, editor-owned content fragments and dev-registered components for Pushword CMS.

README 文档

README

Editor-owned reusable content fragments and developer-registered components for Pushword, invoked from page content with a single Twig function.

Features

  • Content snippets: reusable Markdown owned by the editor (CTA, author box, footer note), one row per host/locale.
  • Component snippets: dev-registered components with a parameter schema and a Twig template.
  • One call for both: {{ snippet('name', {params}) }}, with host/global fallback resolution.
  • Editable from the admin, as flat files, and translatable per host.

Installation

composer require pushword/snippet
php bin/console doctrine:schema:update --force

Usage

{{ snippet('footer-note') }}
{{ snippet('cta', { title: 'Ready to start?', buttonText: 'Contact us' }) }}

Documentation

See pushword.piedweb.com/extension/snippet.

The Pushword ecosystem

Pushword is a modular CMS — one Symfony bundle for the core and one bundle per feature. Pick only what you need:

Core

  • pushword/core — Symfony-based CMS core: Page, Media & User entities, Markdown + Twig rendering.

Editing & admin

Content & workflow

Publishing & performance

Tooling

Full list and guides on pushword.piedweb.com/extensions.

Contributing

If you're interested in contributing to Pushword, please read our contributing docs before submitting a pull request.

Credits

License

The MIT License (MIT). Please see License File for more information.

PHP Packages Open Source

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固