Download the PHP package pushword/snippet without Composer
On this page you can find all versions of the php package pushword/snippet. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pushword/snippet
More information about pushword/snippet
Files in pushword/snippet
Package snippet
Short Description Reusable, editor-owned content fragments and dev-registered components for Pushword CMS.
License MIT
Homepage https://pushword.piedweb.com/extension/snippet
Informations about the package snippet
Pushword Snippet
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
Usage
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
- pushword/admin — EasyAdmin interface to manage pages, media and users.
- pushword/admin-block-editor — Gutenberg-like block editor (stores Markdown).
- pushword/advanced-main-image — Hero images & main-image format control.
- pushword/template-editor — Edit Twig templates online.
- pushword/snippet — Reusable content fragments & components. (this package)
Content & workflow
- pushword/flat — Flat-file (Markdown + Git) CMS mode.
- pushword/version — Page & snippet versioning.
- pushword/page-update-notifier — Email alerts on content changes.
- pushword/conversation — Comments, contact & newsletter forms.
Publishing & performance
- pushword/static-generator — Export a static website (GitHub Pages, Apache, FrankenPHP).
- pushword/search — SQLite full-text search (Loupe), zero infra.
- pushword/page-scanner — Find dead links, 404s, redirects & TODOs.
- pushword/api — Token-authenticated REST API.
Tooling
- pushword/installer — Project & package installer.
- pushword/js-helper — Front-end JavaScript helpers.
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.