{"id":15026607,"url":"https://github.com/skrepr/teams-connector-bundle","last_synced_at":"2026-03-04T06:03:04.541Z","repository":{"id":57663983,"uuid":"429081344","full_name":"skrepr/teams-connector-bundle","owner":"skrepr","description":"Symfony bundle integration of the skrepr/teams-connector library.","archived":false,"fork":false,"pushed_at":"2023-01-09T09:14:41.000Z","size":10,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T20:37:53.720Z","etag":null,"topics":["connector-library","php","php74","php8","php80","php81","php82","symfony","symfony-bundle","symfony6","teams"],"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/skrepr.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":".github/SECURITY.md","support":null}},"created_at":"2021-11-17T14:36:00.000Z","updated_at":"2023-01-09T09:15:30.000Z","dependencies_parsed_at":"2023-02-08T09:30:39.976Z","dependency_job_id":null,"html_url":"https://github.com/skrepr/teams-connector-bundle","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/skrepr/teams-connector-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skrepr%2Fteams-connector-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skrepr%2Fteams-connector-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skrepr%2Fteams-connector-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skrepr%2Fteams-connector-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skrepr","download_url":"https://codeload.github.com/skrepr/teams-connector-bundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skrepr%2Fteams-connector-bundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30073690,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T05:31:57.858Z","status":"ssl_error","status_checked_at":"2026-03-04T05:31:38.462Z","response_time":59,"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":["connector-library","php","php74","php8","php80","php81","php82","symfony","symfony-bundle","symfony6","teams"],"created_at":"2024-09-24T20:04:45.840Z","updated_at":"2026-03-04T06:03:04.525Z","avatar_url":"https://github.com/skrepr.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://skrepr.com/\"\u003e\n  \u003cp align=\"center\"\u003e\n    \u003cimg width=\"200\" height=\"100\" src=\"https://cdn.skrepr.com/logo/skrepr_liggend.svg\" alt=\"skrepr_logo\" /\u003e\n  \u003c/p\u003e\n\u003c/a\u003e\n\u003ch1 align=\"center\"\u003eSkrepr Teams Connector Bundle\u003c/h1\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/skrepr/teams-connector-bundle/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/release/skrepr/teams-connector-bundle.svg\" alt=\"Releases\"/\u003e\u003c/a\u003e\u003ca\u003e \u003c/a\u003e\n  \u003ca href=\"https://github.com/skrepr/teams-connector-bundle/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/skrepr/teams-connector-bundle.svg\" alt=\"LICENSE\"/\u003e\u003c/a\u003e\u003ca\u003e \u003c/a\u003e\n  \u003ca href=\"https://github.com/skrepr/teams-connector-bundle/issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/skrepr/teams-connector-bundle.svg\" alt=\"Issues\"/\u003e\u003c/a\u003e\u003ca\u003e \u003c/a\u003e\n  \u003ca href=\"https://github.com/skrepr/teams-connector-bundle/stars\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/skrepr/teams-connector-bundle.svg\" alt=\"Stars\"/\u003e\u003c/a\u003e\u003ca\u003e \u003c/a\u003e\n\u003c/div\u003e\n\nSymfony bundle integration of the [skrepr/teams-connector](https://github.com/skrepr/teams-connector) library.\n\n## Documentation\n\nAll the how to manipulate the Teams client is on the [skrepr/teams documentation](https://github.com/skrepr/teams-connector#create-a-simple-card).\n\n## Prerequisites\n\nThis version of the project requires:\n* PHP 7.4+\n* Symfony 4.4/5.4/6.0+ (any stable or lts version of Symfony)\n\n## Installation\n\nYou can install the library through composer:\n\n``` bash\n$ composer require skrepr/teams-connector-bundle\n```\n\nThe bundle should be enabled by syfmony/flex but if not:\n\n``` php\n// config/bundles.php\n\n\u003c?php\n\nreturn [\n    Skrepr\\TeamsConnectorBundle\\SkreprTeamsConnectorBundle::class =\u003e ['dev' =\u003e true, 'test' =\u003e true],\n];\n\n```\n\nYou can get an error message because the configuration isn't done yet.\n\n## Configuration\n\nTo configure the bundle you only need to specify your Teams endpoint:\n\n```yaml\nskrepr_teams_connector:\n    endpoint: 'https://...'\n```\n\nIt is the easiest to create this in a new file `config/packages/teams-connector.yaml`.\n\n## Usage\nThe Teams client instance can be retrieved from the `skrepr_teams_connector.client` service.\n\nHere is an example:\n\n```php\ndeclare(strict_types=1);\n\nnamespace App\\Controller;\n\nuse Psr\\Http\\Client\\ClientExceptionInterface;\nuse Skrepr\\TeamsConnector\\Card;\nuse Skrepr\\TeamsConnector\\Client;\nuse Symfony\\Component\\HttpFoundation\\Response;\n\nclass TestController\n{\n    private Client $client;\n\n    public function __construct(Client $client)\n    {\n        $this-\u003eclient = $client;\n    }\n\n    public function index(): Response\n    {\n        $card = new Card('Hello teams!');\n\n        try {\n            $this-\u003eclient-\u003esend($card);\n        } catch (ClientExceptionInterface $e) {\n            return new Response($e-\u003egetMessage());\n        }\n\n        return new Response('Card has been send');\n    }\n}\n```\n\nAll the how to manipulate the Teams connector client is on  [skrepr/teams-connector](https://github.com/skrepr/teams-connector).\n\n\n## Test\nTo test this module you can use our docker test script which will execute phpunit on several PHP versions.\nYou must have docker installed to run this script.\n\n```shell\n./phpunit-in-docker.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskrepr%2Fteams-connector-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskrepr%2Fteams-connector-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskrepr%2Fteams-connector-bundle/lists"}