{"id":30141794,"url":"https://github.com/getkirby/discord","last_synced_at":"2026-06-24T17:31:04.572Z","repository":{"id":272770718,"uuid":"917700593","full_name":"getkirby/discord","owner":"getkirby","description":"A simple wrapper to send Discord webhooks","archived":false,"fork":false,"pushed_at":"2025-01-25T22:03:54.000Z","size":69,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-08-11T05:31:17.514Z","etag":null,"topics":["cms","discord","kirby","kirby4","kirby5","notification","webhook"],"latest_commit_sha":null,"homepage":"https://getkirby.com","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/getkirby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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},"funding":{"custom":["https://getkirby.com/buy"]}},"created_at":"2025-01-16T13:41:44.000Z","updated_at":"2025-01-25T22:03:58.000Z","dependencies_parsed_at":"2025-08-11T05:24:47.635Z","dependency_job_id":"d116241c-12ee-4c7e-ac7b-69ea0fb14ef2","html_url":"https://github.com/getkirby/discord","commit_stats":null,"previous_names":["getkirby/discord"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/getkirby/discord","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getkirby%2Fdiscord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getkirby%2Fdiscord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getkirby%2Fdiscord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getkirby%2Fdiscord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getkirby","download_url":"https://codeload.github.com/getkirby/discord/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getkirby%2Fdiscord/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34743465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"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":["cms","discord","kirby","kirby4","kirby5","notification","webhook"],"created_at":"2025-08-11T05:18:45.845Z","updated_at":"2026-06-24T17:31:04.549Z","avatar_url":"https://github.com/getkirby.png","language":"PHP","funding_links":["https://getkirby.com/buy"],"categories":[],"sub_categories":[],"readme":"# Kirby Discord plugin\n\nA simple wrapper to send Discord channel webhooks\n\n## Installation\n\n### Download\n\nDownload and copy this repository to `/site/plugins/discord`.\n\n### Composer\n\n```\ncomposer require getkirby/discord\n```\n\n### Git submodule\n\n```\ngit submodule add https://github.com/getkirby/discord.git site/plugins/discord\n```\n\n## How it works?\n\nYou need to setup a webhook for your channel on Discord first.\n\n1. Click on the \"Edit Channel\" icon right next to the channel name in the sidebar\n2. Go to \"Integrations\"\n3. Go to \"Webhooks\"\n4. Create a new webhook\n5. Copy the webhook URL\n\n```php\nuse Kirby\\Discord\\Discord;\n\nDiscord::submit(\n  webhook: 'https://discord.com/api/webhooks/xxx/xxx',\n  username: 'kirbybot',\n  avatar: 'https://example.com/avatar.jpg',\n  title: '🔥 Message Title',\n  color: '#ebc747',\n  description: 'Here goes some nice text',\n  author: [\n    'name' =\u003e 'Ron Swanson',\n    'url'  =\u003e 'https://example.com',\n    'icon' =\u003e 'https://example.com/someicon.png'\n  ],\n  fields: [\n    [\n      'name'  =\u003e 'This is a custom field',\n      'value' =\u003e 'Add any value here'\n    ],\n    [\n      'name'  =\u003e 'This is another one',\n      'value' =\u003e 'https://canbeanurl.com'\n    ],\n  ],\n  footer: 'Some text for the footer'\n);\n```\n\nCheck out this awesome webhook embed visualizer https://leovoel.github.io/embed-visualizer/ to get an idea what each parameter does. \n\n\u003e [!IMPORTANT]\n\u003e Make sure to keep your webhook URL private. It's recommended to put it into a custom domain config that is not checked into git or store it in an ENV variable.\n\n```php\n// site/config/config.mydomain.com.php\nreturn [\n  'discord' [\n    'mywebhook' =\u003e 'https://discord.com/api/webhooks/xxx/xxx'\n  ]\n];\n```\n\nAdd the custom domain config to your .gitignore and install it manually on your server.\n\nAccess the webhook URL:\n```php\nDiscord::submit(\n  webhook: option('discord.mywebhook'),\n  // see additional params above\n);\n```\n\n## What’s Kirby?\n\n- **[getkirby.com](https://getkirby.com)** – Get to know the CMS.\n- **[Try it](https://getkirby.com/try)** – Take a test ride with our online demo. Or download one of our kits to get started.\n- **[Documentation](https://getkirby.com/docs/guide)** – Read the official guide, reference and cookbook recipes.\n- **[Issues](https://github.com/getkirby/kirby/issues)** – Report bugs and other problems.\n- **[Feedback](https://feedback.getkirby.com)** – You have an idea for Kirby? Share it.\n- **[Forum](https://forum.getkirby.com)** – Whenever you get stuck, don't hesitate to reach out for questions and support.\n- **[Discord](https://chat.getkirby.com)** – Hang out and meet the community.\n- **[Mastodon](https://mastodon.social/@getkirby)** – Follow us in the Fediverse.\n- **[Bluesky](https://bsky.app/profile/getkirby.com)** – Follow us on Bluesky.\n- **[Bluesky](https://bsky.app/profile/getkirby.com)** – Spread the word.\n\n---\n\n## License\n\nMIT\n\n## Credits\n\n- [Kirby Team](https://getkirby.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetkirby%2Fdiscord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetkirby%2Fdiscord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetkirby%2Fdiscord/lists"}