Download the PHP package markup-carve/shopware-carve without Composer

On this page you can find all versions of the php package markup-carve/shopware-carve. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package shopware-carve

shopware-carve

Packagist Version CI PHP Version

Render Carve markup in Shopware 6. The plugin supports Twig filters, CMS elements, product and category fields, admin preview, transactional mail, product references, reviews, and CLI conversion.

Install markup-carve/shopware-carve for Shopware 6.6 or 6.7 on PHP 8.2 or newer. The package uses the MarkupCarve\Shopware\ namespace and the MIT license.

This package is pre-1.0. Syntax and output may change before 1.0. Pin versions and review the carve-php changelog before upgrading.

Install

See the installation reference for prerequisites, development installs, and asset-package details.

Twig filters

Use carve for HTML, carve_text for plain text, and carve_md for Markdown. Content containing :product[SKU] references needs the sales-channel-aware filter:

Shopware surfaces

The plugin supplies:

The surface reference documents each integration point and includes template examples. The gallery shows the CMS, storefront, mail, review, and CLI output with its source.

Configuration

Configure the plugin under Extensions > My extensions > Carve for Shopware. The main settings control raw HTML, live preview, symbol shortcodes, smart quotes, Mermaid, Chart.js, PlantUML, content profiles, and contained file includes.

Raw HTML is disabled by default. Diagram options may load code or images from configured external services, so their CSP and trust requirements differ from the core renderer.

The configuration reference lists every setting, default, CSP requirement, and custom-profile extension point.

Security

The renderer always neutralizes dangerous URL schemes and strips event-handler, srcdoc, and formaction attributes. Raw HTML remains off unless an administrator enables it. Review content uses the stricter comment profile.

See Security for the threat model, examples, and the limits of each content profile.

Enabled Carve extensions

Admonitions, details, list tables, inline footnotes, autolinks, external-link hardening, tables of contents, spoilers, code groups, and tabs are registered without extra JavaScript. Smart quotes and diagram renderers are enabled by configuration.

The extension table lists their exact syntax and output behavior.

See Authoring and commerce elements for the shared editor, field mapping, commerce syntax, placement, and headless components. Shared content with includes covers translated file libraries, publication permissions, and deployment invalidation.

Development

The complete reference retains the API, configuration, surface, version-support, and maintenance details. Run composer check plus the checks in the storefront JavaScript workflow before submitting changes.


All versions of shopware-carve with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
shopware/core Version ~6.6.0 || ~6.7.0
markup-carve/carve-php Version ^0.1.17
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package markup-carve/shopware-carve contains the following files

Loading the files please wait ...