{"id":19312154,"url":"https://github.com/bigcommerce/sample-shipping-provider","last_synced_at":"2026-02-25T22:03:55.802Z","repository":{"id":51152109,"uuid":"171223341","full_name":"bigcommerce/sample-shipping-provider","owner":"bigcommerce","description":"Silex based reference implementation of a Shipping Carrier Service integration","archived":false,"fork":false,"pushed_at":"2024-11-06T16:37:06.000Z","size":134,"stargazers_count":2,"open_issues_count":2,"forks_count":6,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-22T15:44:59.518Z","etag":null,"topics":[],"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/bigcommerce.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-02-18T05:56:29.000Z","updated_at":"2022-10-14T00:05:28.000Z","dependencies_parsed_at":"2024-11-10T00:33:27.305Z","dependency_job_id":"7c870355-db12-4c4a-98e4-857237a5e523","html_url":"https://github.com/bigcommerce/sample-shipping-provider","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bigcommerce/sample-shipping-provider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fsample-shipping-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fsample-shipping-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fsample-shipping-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fsample-shipping-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigcommerce","download_url":"https://codeload.github.com/bigcommerce/sample-shipping-provider/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fsample-shipping-provider/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29842857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T21:18:31.832Z","status":"ssl_error","status_checked_at":"2026-02-25T21:18:29.265Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-11-10T00:33:15.781Z","updated_at":"2026-02-25T22:03:55.794Z","avatar_url":"https://github.com/bigcommerce.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Symfony based reference implementation of a Shipping Carrier Service integration\n\nThis is a very simple reference application based on Symfony, that demonstrates how to process a request from the BigCommerce Carrier Service integration and return a valid response.\nIt is designed to quickly deploy to Heroku and let you get started on your development with minimal ramp-up.\n\n## Requirements\n\nCheck composer.json but in general:\n\n- PHP \u003e=8.4\n\n- composer\n\n- xdebug (for development/debugging)\n\n## Running locally\n\n```\n    $ git clone ...\n    $ composer install\n    $ COMPOSER_PROCESS_TIMEOUT=0 composer run-script run\n```\n\nThen, browse to http://localhost:8888\n\n**Note** To enable xdebug support replace `run` with `devrun` (see composer.json 'scripts' sections for details)\n\n## Running tests\n\n```\n    $ composer install\n    $ ./vendor/bin/phpunit\n```\n\n## Running on Heroku\n\n[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)\n\nOr do the manual thing...\n\n```\n    $ heroku login -i\n    $ heroku create\n    $ git push heroku master\n    $ heroku open\n```\n \n**Note** Some additional setup may be required ([Setting up Heroku + PHP](https://devcenter.heroku.com/articles/getting-started-with-php))\n\n\n\n## Sample app contents\n\nThe default landing page contains an overview of how to trigger various shipping rate responses from the sample app.\n\n\n- `config/services.yaml` wires the API controller and service used for the sample responses.\n\n- `ShippingRateAPIController.php` the basic API controller with minimal validation and error handling to pass POST requests to an API service\n\n- `StubbedShippingRateAPIService.php` the basic rate API service that returns a static json file based on the rate request destination country code\n\n- `SimpleRateAPIServiceInterface.php` a simple interface that you can extend from to build to your own rate service (just change the DI wiring above to instantiate your new service instead of the stubbed one)\n\n\n## Disclaimer\n\nThis is just one way to implement your service integration, there is no restriction on how you structure your application or what framework you use. \nFeel free to pick what parts, if any, from this repo to use in your own development.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigcommerce%2Fsample-shipping-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigcommerce%2Fsample-shipping-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigcommerce%2Fsample-shipping-provider/lists"}