[{"data":1,"prerenderedAt":31},["ShallowReactive",2],{"$f2e3jnqkwl9ewl":3,"$fgph23vl6tmr9":23},{"content":4,"package":5,"version":22},"# Installation & Setup\n\nTo install this plugin, run the following [Composer](https:\u002F\u002Fgetcomposer.org\u002F) command:\n\n```bash\ncomposer require babdev\u002Fsylius-shipping-estimate-plugin\n```\n\n## Register The Plugin\n\nFor an application using Symfony Flex the plugin should be automatically registered, but if not you will need to add it to your `config\u002Fbundles.php` file.\n\n```php\n\u003C?php\n\nreturn [\n    \u002F\u002F ...\n\n    BabDev\\SyliusShippingEstimatePlugin\\BabDevSyliusShippingEstimatePlugin::class => ['all' => true],\n];\n```\n\n## Import the Configuration\n\nIn your `config\u002Fpackages\u002F_sylius.yaml` file, import the plugin's configuration. This is used to register the plugin with the `SyliusUiBundle` template events to automatically add the widget to your cart page.\n\n```yaml\nimports:\n    - { resource: \"@BabDevSyliusShippingEstimatePlugin\u002FResources\u002Fconfig\u002Fapp\u002Fconfig.yml\" }\n```\n\n## Import the Routes\n\nIn your `config\u002Froutes.yaml` file, import the plugin's routing configuration. The below example uses the default locale-aware frontend routing for Sylius, which you can customize if desired.\n\n```yaml\nbabdev_sylius_shipping_estimate_shop:\n    resource: \"@BabDevSyliusShippingEstimatePlugin\u002FResources\u002Fconfig\u002Frouting\u002Fshop.yml\"\n    prefix: \u002F{_locale}\n    requirements:\n        _locale: ^[A-Za-z]{2,4}(_([A-Za-z]{4}|[0-9]{3}))?(_([A-Za-z]{2}|[0-9]{3}))?$\n```\n",{"name":6,"slug":7,"previousSlugs":8,"description":10,"github":11,"packagistName":14,"packageType":15,"hasDocumentation":16,"supported":16,"visible":16,"versions":17},"Sylius Shipping Estimate Plugin","shipping-estimate-plugin",[9],"syliusshippingestimateplugin","Adds a shipping estimator widget to a Sylius website's cart",{"owner":12,"repo":13},"BabDev","SyliusShippingEstimatePlugin","babdev\u002Fsylius-shipping-estimate-plugin","sylius-plugin",true,[18],{"version":19,"gitBranch":20,"released":21},"1.x","0.3",false,{"version":19,"gitBranch":20,"released":21},{"content":24,"package":25,"version":30},"- [Introduction](\u002Fopen-source\u002Fpackages\u002Fshipping-estimate-plugin\u002Fdocs\u002F1.x\u002Fintro)\n- [Installation & Setup](\u002Fopen-source\u002Fpackages\u002Fshipping-estimate-plugin\u002Fdocs\u002F1.x\u002Finstallation)\n- [Customize the Output](\u002Fopen-source\u002Fpackages\u002Fshipping-estimate-plugin\u002Fdocs\u002F1.x\u002Fcustomize-the-output)\n- [Hooking The Estimator](\u002Fopen-source\u002Fpackages\u002Fshipping-estimate-plugin\u002Fdocs\u002F1.x\u002Fhooking-the-estimator)\n- [Rate Limiting](\u002Fopen-source\u002Fpackages\u002Fshipping-estimate-plugin\u002Fdocs\u002F1.x\u002Frate-limiting)\n",{"name":6,"slug":7,"previousSlugs":26,"description":10,"github":27,"packagistName":14,"packageType":15,"hasDocumentation":16,"supported":16,"visible":16,"versions":28},[9],{"owner":12,"repo":13},[29],{"version":19,"gitBranch":20,"released":21},{"version":19,"gitBranch":20,"released":21},1790007747526]