{"id":33984970,"url":"https://github.com/spinbits/sylius-baselinker-plugin","last_synced_at":"2026-03-11T04:31:40.989Z","repository":{"id":44410262,"uuid":"409517443","full_name":"spinbits/sylius-baselinker-plugin","owner":"spinbits","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-24T07:44:06.000Z","size":672,"stargazers_count":5,"open_issues_count":2,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-12-14T16:54:07.414Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spinbits.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2021-09-23T08:52:35.000Z","updated_at":"2025-05-05T05:34:43.000Z","dependencies_parsed_at":"2023-01-30T20:31:31.496Z","dependency_job_id":null,"html_url":"https://github.com/spinbits/sylius-baselinker-plugin","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/spinbits/sylius-baselinker-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spinbits%2Fsylius-baselinker-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spinbits%2Fsylius-baselinker-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spinbits%2Fsylius-baselinker-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spinbits%2Fsylius-baselinker-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spinbits","download_url":"https://codeload.github.com/spinbits/sylius-baselinker-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spinbits%2Fsylius-baselinker-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30370797,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-12-13T04:40:47.970Z","updated_at":"2026-03-11T04:31:40.962Z","avatar_url":"https://github.com/spinbits.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![image](./docs/img/spinbits.jpg)](https://spinbits.io)\n# Sylius Baselinker Plugin\n\n## Need help ?\nDrop us a message hello@spinbits.io\n\n## Overview\n\nThis plugin is used to connect Sylius and Baselinker. Baselinker can be used as an integrator and management platform for your e-commerce.\nIt allows to offer your products on many platforms like Ebay, Amazon or Allegro.\nBaselinker can help you automate sale processes with almost 16000 different providers.\n\n## Details\nThis package is implementation of communication with BaseLinker Connector (\"integration file\"). \nFor further details please refer to https://developers.baselinker.com/shops_api/ \n\nAfter installation your Baselinker connector url will be available under path: `/baselinker-connector` of your shop.\n\n## Baselinker Configuration\n\n1. Login to your Baselinker account: https://login.baselinker.com/\n2. Click integrations: https://panel-b.baselinker.com/list_integrations.php\n    ![image](./docs/img/integration.jpg)\n3. Configure your integration as showed below. Remember to replace your shop domain in url.\n    ![image](./docs/img/configuration.jpg)\n4. Copy communication password and set it your `.env` file as showed below:\n    `BASELINKER_PASSWORD='example-password-change-it'`\n\n## Sylius Quickstart Installation\n\nFollow the steps to install the plugin on your Sylius application:\n\n1. Run `composer require spinbits/sylius-baselinker-plugin`.\n\n2. Import route into your routing file:\n\n    ```\n    spinbits_baselinker_plugin:\n        resource: \"@SpinbitsSyliusBaselinkerPlugin/Resources/config/admin_routing.yml\"\n    ```\n\n3. Import trait to your Order entity: `src/Entity/Order/Order.php`\n    ```\n    use Spinbits\\SyliusBaselinkerPlugin\\Entity\\Order\\OrderTrait;\n    \n    class Order extends BaseOrder\n    {\n        use OrderTrait;\n    \n    ```\n\n4. Import trait to your ProductRepository entity: `src/Repository/ProductRepository.php`\n    ```\n    use Spinbits\\SyliusBaselinkerPlugin\\Repository\\BaseLinkerProductRepositoryInterface;\n    use Spinbits\\SyliusBaselinkerPlugin\\Repository\\ProductsRepositoryTrait;\n    use Sylius\\Bundle\\CoreBundle\\Doctrine\\ORM\\ProductRepository as BaseProductRepository;\n    \n    class ProductRepository extends BaseProductRepository implements BaseLinkerProductRepositoryInterface\n    {\n        use ProductsRepositoryTrait;\n    }\n    \n    ```\n   \n   Make sure there is repository replace with your namespace in `config/packages/_sylius.yaml` \n   ```yaml\n    sylius_product:\n        resources:\n            product:\n                classes:\n                    repository: App\\Repository\\ProductRepository\n    ```\n\n5. Set Baselinker password: `.env`\n    ```\n    BASELINKER_PASSWORD='example-password'\n    ```\n6. Imports Plugin XML config file:\n    ```\n        \u003cimports\u003e\n            \u003cimport resource=\"@SpinbitsSyliusBaselinkerPlugin/Resources/services.xml\"/\u003e\n        \u003c/imports\u003e\n    ```            \n   Or in `config/services.yaml`:\n   ```yaml\n    imports:\n        - { resource: '../vendor/spinbits/sylius-baselinker-plugin/src/Resources/config/services.xml' }\n   ```\n7. Run migrations:\n    `bin/console doctrine:migrations:migrate`\n\n## Test plugin:\n\n### Basic tests\n\nin order to test plugin you should \n- replace `localhost` with your sylius domain \n- replace `example-password` with your baselinker password\n    \nYou may get supported methods:\n    \n`curl -X POST -d 'bl_pass=example-password\u0026action=SupportedMethods' http://localhost/baselinker-connector`\n    \nYou may get version of integration:\n    \n`curl -X POST -d 'bl_pass=example-password\u0026action=FileVersion' http://localhost/baselinker-connector`\n        \n### Using Baslinker tester\ngo to: \n    `https://developers.baselinker.com/shops_api/index.php?tester=1`     \nand follow the instructions.\n\n## Help\nIf you need some help with Sylius development, don't hesitate to contact us directly. You can send us an email at office@spinbits.io\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspinbits%2Fsylius-baselinker-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspinbits%2Fsylius-baselinker-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspinbits%2Fsylius-baselinker-plugin/lists"}