Manual Installation

1. Install the Plugin via Composer

composer require sylius/wishlist-plugin

2. Enable the Bundle

# config/bundles.php

return [
    ...
    Sylius\WishlistPlugin\SyliusWishlistPlugin::class => ['all' => true],
];

3. Import Configuration

# config/packages/_sylius.yaml

imports:
    ...
    - { resource: "@SyliusWishlistPlugin/config/config.yaml" }

4. Import routes

# config/routes.yaml

...
sylius_wishlist:
    resource: "@SyliusWishlistPlugin/config/routes.yaml"

5. Import plugin assets

// assets/admin/entrypoint.js

...
import '@vendor/sylius/wishlist-plugin/assets/admin/entrypoint'
// assets/shop/entrypoint.js

...
import '@vendor/sylius/wishlist-plugin/assets/shop/entrypoint'

6. Install and build assets

bin/console assets:install

yarn install
yarn encore dev # or yarn encore prod

7. Run Doctrine Migrations

The plugin comes with database changes. Run:

bin/console doctrine:migrations:migrate # add `-e prod` for production

8. Clear the Symfony Cache

Finally, clear the Symfony cache to ensure changes are applied:

bin/console cache:clear

Using Asynchronous Messenger?

Last updated

Was this helpful?