{"id":37262967,"url":"https://github.com/nerds-and-company/schematic-commerce","last_synced_at":"2026-01-15T23:24:52.134Z","repository":{"id":56566108,"uuid":"88625186","full_name":"nerds-and-company/schematic-commerce","owner":"nerds-and-company","description":"Schematic for Commerce","archived":false,"fork":false,"pushed_at":"2018-11-21T07:01:31.000Z","size":95,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-07-28T03:07:55.918Z","etag":null,"topics":["craft-commerce","craftcms","craftcms-plugin","schematic"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nerds-and-company.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-18T12:57:52.000Z","updated_at":"2020-10-31T08:15:24.000Z","dependencies_parsed_at":"2022-08-15T21:00:59.016Z","dependency_job_id":null,"html_url":"https://github.com/nerds-and-company/schematic-commerce","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/nerds-and-company/schematic-commerce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerds-and-company%2Fschematic-commerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerds-and-company%2Fschematic-commerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerds-and-company%2Fschematic-commerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerds-and-company%2Fschematic-commerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nerds-and-company","download_url":"https://codeload.github.com/nerds-and-company/schematic-commerce/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerds-and-company%2Fschematic-commerce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28419272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["craft-commerce","craftcms","craftcms-plugin","schematic"],"created_at":"2026-01-15T23:24:51.583Z","updated_at":"2026-01-15T23:24:52.126Z","avatar_url":"https://github.com/nerds-and-company.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Schematic for Commerce [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nerds-and-company/schematic-commerce/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/nerds-and-company/schematic-commerce/?branch=master) [![Build Status](https://travis-ci.org/nerds-and-company/schematic-commerce.svg?branch=master)](https://travis-ci.org/nerds-and-company/schematic-commerce) [![Code Coverage](https://scrutinizer-ci.com/g/nerds-and-company/schematic-commerce/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/nerds-and-company/schematic-commerce/?branch=master)\n\nSchematic for Commerce is a package for synchronizing Commerce settings with [Schematic](https://github.com/nerds-and-company/schematic).\n\n## Installation\n\nThis tool can be installed [using Composer](https://getcomposer.org/doc/00-intro.md). Run the following command from the root of your project:\n\n```\ncomposer require nerds-and-company/schematic-commerce\n```\n\nThis will add `nerds-and-company/schematic-commerce` as a requirement to your  project's `composer.json` file and install the source-code into the `vendor/nerds-and-company/schematic-commerce` directory.\n\n## Usage\n\nThis package should be loaded with a Craft plugin, which implements the `registerMigrationService()` hook of Schematic:\n\n```php\nuse NerdsAndCompany\\Schematic\\Commerce\\Services as Commerce;\n\npublic function registerMigrationService()\n{\n    return [\n        'commerce_orderSettings' =\u003e new Commerce\\OrderSettings(),\n        'commerce_emails' =\u003e new Commerce\\Emails(),\n        'commerce_orderStatuses' =\u003e new Commerce\\OrderStatuses(),\n        'commerce_paymentMethods' =\u003e new Commerce\\PaymentMethods(),\n        'commerce_paymentCurrencies' =\u003e new Commerce\\PaymentCurrencies(),\n        'commerce_taxCategories' =\u003e new Commerce\\TaxCategories(),\n        'commerce_shippingCategories' =\u003e new Commerce\\ShippingCategories(),\n        'commerce_productTypes' =\u003e new Commerce\\ProductTypes(),\n        'commerce_countries' =\u003e new Commerce\\Countries(),\n        'commerce_states' =\u003e new Commerce\\States(),\n        'commerce_taxZones' =\u003e new Commerce\\TaxZones(),\n        'commerce_taxRates' =\u003e new Commerce\\TaxRates(),\n        'commerce_shippingZones' =\u003e new Commerce\\ShippingZones(),\n        'commerce_shippingMethods' =\u003e new Commerce\\ShippingMethods(),\n    ];\n}\n```\n\nHere is a list of all of the supported Commerce data types:\n\n| Data Type |\n| ------------- |\n| Order Settings |\n| Order Statuses |\n| Emails |\n| Payment Methods |\n| Payment Currencies |\n| Product Types |\n| Countries |\n| States |\n| Tax Categories |\n| Tax Rates |\n| Shipping Categories |\n| Shipping Zones |\n| Shipping Methods |\n\n## License\n\nThis project has been licensed under the MIT License (MIT). Please see [License File](LICENSE) for more information.\n\n## Changelog\n\n[CHANGELOG.md](CHANGELOG.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerds-and-company%2Fschematic-commerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerds-and-company%2Fschematic-commerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerds-and-company%2Fschematic-commerce/lists"}