Download the PHP package webdna/component-viewer without Composer
On this page you can find all versions of the php package webdna/component-viewer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download webdna/component-viewer
More information about webdna/component-viewer
Files in webdna/component-viewer
Download webdna/component-viewer
More information about webdna/component-viewer
Files in webdna/component-viewer
Vendor webdna
Package component-viewer
Short Description Browse, try out and share a site's Twig components from the control panel.
License proprietary
Package component-viewer
Short Description Browse, try out and share a site's Twig components from the control panel.
License proprietary
Please rate this library. Is it a good library?
Informations about the package component-viewer
Component Viewer
A Craft CMS 5 plugin for browsing, trying out and sharing a site's Twig components.
- In the control panel, the team browses every component a site has, by category or by search, and tries each one out with its settings and examples, previewed in each site's own styling on a desktop, tablet or phone.
- Through a share link, a client reviews the same library with no account. A link has a label and an expiry, and it can be revoked at any moment.
- Each component describes itself with a
{% component %}block at the top of its own file, which renders nothing on the live site. Named examples live in a.stories.twigfile beside it. - The live site can't tell it's there, apart from being faster: the component list is built once and cached, and every existing way of including a component keeps working.
Requires Craft ^5.0 and PHP ^8.2.
Install
Then grant Access Component Viewer to the user groups that should see it. Control-panel access alone isn't enough. Setup covers the config file, the preview layout and the permissions.
A component
Include it as {% include '@ui:button' with { label: 'Send' } %}, or by its path as before.
Commands
Documentation
| Guide | For |
|---|---|
| Setup | Installing on a new site: config file, preview layout, permissions |
| Component format | The component tag, props, stories, handles, site versions, the check |
| Share links | Creating, sending and revoking links for clients |
| Upgrading from v1 | Moving a site off the v1 module |
| Resolver | Finding a site's version of any file from PHP |
Changelog
All versions of component-viewer with dependencies
PHP Build Version
Package Version
The package webdna/component-viewer contains the following files
Loading the files please wait ...