PHPackages                             bitexpert/sylius-product-document-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bitexpert/sylius-product-document-plugin

ActiveSylius-plugin[Utility &amp; Helpers](/categories/utility)

bitexpert/sylius-product-document-plugin
========================================

Product document plugin for Sylius.

v0.1.0(today)31↑2900%2[1 PRs](https://github.com/bitExpert/sylius-product-document-plugin/pulls)MITPHPPHP ^8.4CI passing

Since Jun 27Pushed today1 watchersCompare

[ Source](https://github.com/bitExpert/sylius-product-document-plugin)[ Packagist](https://packagist.org/packages/bitexpert/sylius-product-document-plugin)[ RSS](/packages/bitexpert-sylius-product-document-plugin/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (37)Versions (8)Used By (0)

Sylius Product Document Plugin
==============================

[](#sylius-product-document-plugin)

[![Build Status](https://github.com/bitExpert/sylius-product-document-plugin/actions/workflows/build.yaml/badge.svg)](https://github.com/bitExpert/sylius-product-document-plugin/actions/workflows/build.yaml)[![installs on Packagist](https://camo.githubusercontent.com/39eb6f535c858ff95765b37d12d1e20edd49e777032777fa58625d2cc660ceb4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6269746578706572742f73796c6975732d70726f647563742d646f63756d656e742d706c7567696e)](https://packagist.org/packages/bitexpert/sylius-product-document-plugin/)[![Mastodon Follow](https://camo.githubusercontent.com/c2abd2d790b2fdf042e992e8872c59044086bdb16b119a61d8526d6238c3c2ba/68747470733a2f2f696d672e736869656c64732e696f2f6d6173746f646f6e2f666f6c6c6f772f3130393430383638313234363937323730303f646f6d61696e3d68747470733a2f2f726865696e6e65636b61722e736f6369616c)](https://rheinneckar.social/@bitexpert)

The **Product Document** Plugin for *Sylius* allows you to attach documents (e.g. PDFs, images) to products and organize them by configurable document types.

### Create document types in the admin:

[](#create-document-types-in-the-admin)

[![Create document types in the admin](docs/assets/document_types.png)](docs/assets/document_types.png)

### Attach documents to a product:

[](#attach-documents-to-a-product)

[![Attach documents to a product](docs/assets/attach_documents.png)](docs/assets/attach_documents.png)

### Download the Documents in the storefront:

[](#download-the-documents-in-the-storefront)

[![Download the Documents in the storefront:](docs/assets/download_documents.png)](docs/assets/download_documents.png)

Features
--------

[](#features)

- Manage document types with translatable names and sortable positions
- Attach multiple documents to a product, organized by document type
- Download documents in the storefront and in the admin
- Control document visibility: public for all visitors or restricted to logged-in customers

Requirements
------------

[](#requirements)

- PHP 8.4 or higher
- Sylius 2.0 or higher

Installation
------------

[](#installation)

1. Install the plugin via Composer

```
composer require bitexpert/sylius-product-document-plugin
```

2. Enable the plugin

```
