Installation
composer require sylius/resource-bundlecurl -sS https://getcomposer.org/installer | php
php composer.phar require sylius/resource-bundleAdding Required Bundles to The Kernel
return [
new FOS\RestBundle\FOSRestBundle(),
new JMS\SerializerBundle\JMSSerializerBundle($this),
new Sylius\Bundle\ResourceBundle\SyliusResourceBundle(),
new BabDev\PagerfantaBundle\BabDevPagerfantaBundle(),
new Bazinga\Bundle\HateoasBundle\BazingaHateoasBundle(),
new winzou\Bundle\StateMachineBundle\winzouStateMachineBundle(),
];sylius_resource:
mapping:
paths:
- '%kernel.project_dir%/src/Entity'Last updated
Was this helpful?
