Skip to content

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

License

Notifications You must be signed in to change notification settings

chrissnyder2337/sylius-geo-fixture-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sylius Geo Fixture Generator

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages