chrissnyder2337/sylius-geo-fixture-generator

Generates yaml for countries and provinces by leveraging CommerceGuys\Addressing for use within Sylius fixtures.

v0.2.0 2020-08-18 17:10 UTC

This package is auto-updated.

Last update: 2024-04-19 01:22:19 UTC


README

Command to generate yaml for geographical regions that can be used within sylius fixtures.

Install

git clone chrissnyder2337/sylius-geo-fixture-generator
cd  sylius-geo-fixture-generator
composer install

Use:

Generate yaml for all countries:

sylius:generate_geo_yaml 

Generate yaml for only a subset of countries (United States, Canada, France, and Italy):

./console sylius:generate_geo_yaml US CA FR IT

Output results to a file:

./console sylius:generate_geo_yaml US CA FR IT > sylius_fixtures.yaml

See all options:

 ./console sylius:generate_geo_yaml --help