{"id":23415261,"url":"https://github.com/plotkabytes/redlink-api-bundle","last_synced_at":"2026-04-29T17:03:31.351Z","repository":{"id":41588065,"uuid":"486132606","full_name":"plotkabytes/redlink-api-bundle","owner":"plotkabytes","description":"Redlink PHP API client wrapped into Symfony Bundle!","archived":false,"fork":false,"pushed_at":"2022-05-20T13:34:24.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-17T16:27:39.428Z","etag":null,"topics":["api","bundle","emaillabs","redlink","rest","symfony","vercom"],"latest_commit_sha":null,"homepage":"","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/plotkabytes.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":"2022-04-27T09:41:58.000Z","updated_at":"2022-05-19T14:38:28.000Z","dependencies_parsed_at":"2022-08-10T03:40:35.757Z","dependency_job_id":null,"html_url":"https://github.com/plotkabytes/redlink-api-bundle","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/plotkabytes/redlink-api-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotkabytes%2Fredlink-api-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotkabytes%2Fredlink-api-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotkabytes%2Fredlink-api-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotkabytes%2Fredlink-api-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plotkabytes","download_url":"https://codeload.github.com/plotkabytes/redlink-api-bundle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotkabytes%2Fredlink-api-bundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32435122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"last_error":"SSL_read: 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":["api","bundle","emaillabs","redlink","rest","symfony","vercom"],"created_at":"2024-12-22T21:14:09.964Z","updated_at":"2026-04-29T17:03:31.313Z","avatar_url":"https://github.com/plotkabytes.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redlink API Symfony Bundle\r\n\r\n![Build and tests](https://github.com/plotkabytes/redlink-api-bundle/actions/workflows/ci.yml/badge.svg)\r\n[![GitHub license](https://img.shields.io/github/license/Naereen/StrapDown.js.svg)](https://github.com/plotkabytes/redlink-api-php-client/blob/main/LICENSE)\r\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\r\n\r\nThis repository contains simple symfony bundle for [redlink-api-php-client](https://github.com/plotkabytes/redlink-api-php-client).\r\n\r\n## Requirements\r\n\r\nThis version supports [PHP](https://php.net) \u003e= 7.2 and [Symfony](https://symfony.com/) \u003e= 4.4.0.\r\n\r\n## Installation\r\n\r\nMake sure Composer is installed globally, as explained in the\r\n[installation chapter](https://getcomposer.org/doc/00-intro.md)\r\nof the Composer documentation.\r\n\r\n### Applications that use Symfony Flex\r\n\r\nAfter getting composer you have to install PSR HTTP client implementation (if you dont have one already - \r\nfor example [Guzzle](https://github.com/guzzle/guzzle) / [Buzz](https://github.com/kriswallsmith/Buzz)):\r\n\r\n```console\r\n$ composer require guzzlehttp/guzzle\r\n```\r\n\r\nNext you should install this package with usage of composer:\r\n\r\n```console\r\n$ composer require --no-scripts plotkabytes/redlink-api-php-client plotkabytes/redlink-api-symfony-bundle\r\n```\r\n\r\n### Applications that don't use Symfony Flex\r\n\r\n#### Step 1: Download the Bundle\r\n\r\nProcedure is the same as in \"Applications that use Symfony Flex\" chapter.\r\n\r\n### Step 2: Enable the Bundle\r\n\r\nThen, enable the bundle by adding it to the list of registered bundles\r\nin the `config/bundles.php` file of your project:\r\n\r\n```php\r\n// config/bundles.php\r\n\r\nreturn [\r\n    // ...\r\n    Plotkabytes\\RedlinkApiBundle\\PlotkabytesRedlinkApiBundle.php::class =\u003e ['all' =\u003e true],\r\n];\r\n```\r\n\r\n### Step 3: Configure the Bundle\r\n\r\nThen, configure the bundle by adding following configuration to the `config/packages/plotkabytes_redlink_api.yaml` file:\r\n\r\n```yml\r\n# config/packages/plotkabytes_redlink_api.yaml\r\nplotkabytes_redlink_api:\r\n  clients:\r\n    client_name:\r\n      authorization_key: HERE_INSERT_AUTHORIZATION_KEY\r\n      application_key: HERE_INSERT_APPLICATION_KEY\r\n      alias: OPTIONAL_CLIENT_ALIAS\r\n      default: false\r\n```\r\n\r\n### Step 4: Clear cache\r\n\r\nAfter bundle configuration may be required to clear symfony cache.\r\n\r\n```console\r\n$ bin/console cache:clear\r\n```\r\n\r\n### Step 5: Register service\r\n\r\nInside `config/services.yaml` add following:\r\n\r\n```yml\r\n# config/services.yaml\r\nservices:\r\n  \r\n    # ...\r\n    # Other services\r\n    # ...\r\n  \r\n    App\\Controller\\DefaultController:\r\n        arguments: {$client: '@plotkabytes_redlink_api.client.default'}\r\n```\r\n\r\n### Step 6: Use bundle\r\n\r\n```php\r\n\r\n\u003c?php\r\nnamespace App\\Controller;\r\n\r\nuse Symfony\\Bundle\\FrameworkBundle\\Controller\\AbstractController;\r\nuse Plotkabytes\\RedlinkApi;\r\n\r\nclass DefaultController extends AbstractController {\r\n\r\n    private $client;\r\n\r\n    public function __construct(DefaultClient $client) {\r\n        $this-\u003eclient = $client;\r\n    }\r\n}\r\n```\r\n\r\n## Versioning\r\n\r\nWe use [Semantic Versioning 2.0.0](https://semver.org/).\r\n\r\nGiven a version number MAJOR.MINOR.PATCH, increment the:\r\n\r\n* MAJOR version when you make incompatible API changes,\r\n* MINOR version when you add functionality in a backwards compatible manner, and\r\n* PATCH version when you make backwards compatible bug fixes.\r\n\r\nAdditional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.\r\n\r\n## Contributing\r\n\r\nWe will gladly receive issue reports and review and accept pull requests.\r\nFeel free to contribute in any way.\r\n\r\n## Author\r\n\r\nMateusz Żyła \u003cmateusz.zylaa@gmail.com\u003e\r\n\r\n## License\r\n\r\nRedlink Api Symfony Bundle is licensed under [The MIT License (MIT)](LICENSE).\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplotkabytes%2Fredlink-api-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplotkabytes%2Fredlink-api-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplotkabytes%2Fredlink-api-bundle/lists"}