{"id":23292799,"url":"https://github.com/lemmon/kirby-panel-buttons","last_synced_at":"2025-04-06T18:45:52.128Z","repository":{"id":246371172,"uuid":"821023146","full_name":"lemmon/kirby-panel-buttons","owner":"lemmon","description":"A custom Kirby Panel field that features a button.","archived":false,"fork":false,"pushed_at":"2025-02-21T09:05:56.000Z","size":26,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-23T00:06:20.698Z","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/lemmon.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}},"created_at":"2024-06-27T16:46:15.000Z","updated_at":"2025-02-21T09:05:59.000Z","dependencies_parsed_at":"2024-06-27T16:50:48.854Z","dependency_job_id":"3001dc18-b0e5-4472-81bf-7f2f132d2dad","html_url":"https://github.com/lemmon/kirby-panel-buttons","commit_stats":null,"previous_names":["lemmon/kirby-panel-buttons"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemmon%2Fkirby-panel-buttons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemmon%2Fkirby-panel-buttons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemmon%2Fkirby-panel-buttons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemmon%2Fkirby-panel-buttons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lemmon","download_url":"https://codeload.github.com/lemmon/kirby-panel-buttons/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247535250,"owners_count":20954571,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-12-20T06:12:04.791Z","updated_at":"2025-04-06T18:45:52.123Z","avatar_url":"https://github.com/lemmon.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kirby Panel Buttons Plugin\n\n\u003cimg width=\"100%\" height=\"auto\" alt=\"Kirby CMS buttons field to open URLs in a new tab or trigger webhooks\" src=\"screenshot.png\" /\u003e\n\nA custom Kirby Panel field that features a button. This button can be used to either open a URL in a new tab or to trigger a URL or a webhook, providing feedback on success or error.\n\n## Installation\n\nRequires PHP 8.1 and Kirby 4.0.0 or higher. The recommended way of installing is by using Composer:\n\n```bash\ncomposer require lemmon/kirby-panel-buttons\n```\n\nOr download/clone this repo into `site/plugins` of your Kirby project.\n\n## Usage\n\n```yml\nwebhook_button:\n    type: buttons\n    label: Button\n    text: Button Text # Button text\n    url: /button-test # url to call\n    theme: positive # (default: null)\n    fullwidth: true # (default: null)\n    size: lg # (default: \"lg\")\n    icon: lab # (default: null)\n    help: Help text # (default: null)\n    reload: true # trigger a page refresh on success to display updated data (default: false)\n\nlink_button:\n    type: buttons\n    label: Refresh data\n    text: Refresh\n    url: https://example.com/ # url to open (default: false)\n    open: true\n    # disabled: true # (default: false)\n\nmultilang_support:\n    type: buttons\n    label: toolbar.button.code # translate by reference\n    text: # provide exact translations\n        en: Reset code\n        is: Endurstilla kóða\n        sk: Resetovať kód\n```\n\n## Development\n\n1. Install a fresh Kirby StarterKit\n2. `cd site/plugins`\n3. `git clone` this repo\n4. `cd` into this plugin folder\n\n```\nnpm run dev\n```\n\nRoadmap\n\n-   [x] Multilang support\n-   [ ] Multiple buttons\n\n## Credit\n\nThis plugin is built upon [Kirby Panel Button Plugin](https://github.com/moritzebeling/kirby-panel-button) by Moritz Ebeling.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemmon%2Fkirby-panel-buttons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flemmon%2Fkirby-panel-buttons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemmon%2Fkirby-panel-buttons/lists"}