Create Archetype component and bundle

_Work in progress_

Sylius allows you to create product prototypes (eg. a Shoe prototype), so that you can create products from that prototype

However, there are two issues:

1. If you want to have similar prototypes like Boot, Sneaker, Stiletto, etc. you have to create new prototypes, where it would be more efficient to inherit from a broader one like Footwear, then add additional options and attributes where applicable.

2. The concept of a Prototype is tied to the Product. It would be useful if prototypes could be applied to other models, and not just Products in Sylius.

The solution is to create an Archetype model and builder, where archetypes could inherit from others.


Add archetype component to composer.json