{"id":23768693,"url":"https://github.com/benface/grav-plugin-freshdesk","last_synced_at":"2025-10-09T05:41:12.629Z","repository":{"id":37547175,"uuid":"107585772","full_name":"benface/grav-plugin-freshdesk","owner":"benface","description":"Plugin for Grav CMS that adds a form action to create a Freshdesk ticket","archived":false,"fork":false,"pushed_at":"2023-04-19T18:39:06.000Z","size":257,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-24T03:38:03.520Z","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/benface.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-10-19T18:51:36.000Z","updated_at":"2019-10-29T16:49:44.000Z","dependencies_parsed_at":"2025-05-25T14:36:13.765Z","dependency_job_id":"1ca97ca3-c662-40f6-9950-59758c3b94fd","html_url":"https://github.com/benface/grav-plugin-freshdesk","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/benface/grav-plugin-freshdesk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benface%2Fgrav-plugin-freshdesk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benface%2Fgrav-plugin-freshdesk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benface%2Fgrav-plugin-freshdesk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benface%2Fgrav-plugin-freshdesk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benface","download_url":"https://codeload.github.com/benface/grav-plugin-freshdesk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benface%2Fgrav-plugin-freshdesk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000741,"owners_count":26082932,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"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-01-01T01:38:53.517Z","updated_at":"2025-10-09T05:41:12.606Z","avatar_url":"https://github.com/benface.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grav Freshdesk Plugin\n\nThis [Grav](https://github.com/getgrav/grav) plugin creates a ticket in your [Freshdesk](https://freshdesk.com) account when the user submits a form.\n\n## Installing / Updating\n\nYou can install this plugin through the [Grav Package Manager (GPM)](http://learn.getgrav.org/advanced/grav-gpm):\n\n    bin/gpm install freshdesk\n\nThis will install the plugin into your `/user/plugins` directory within Grav. To update to the latest version:\n\n    bin/gpm update freshdesk\n\n## Configuration\n\nUser configuration should go in `/user/config/plugins/freshdesk.yaml`. Here's a sample config file:\n\n    enabled: true\n    api_key: *******************\n    domain: mysite\n\n* `api_key` **(required)**: Your Freshdesk API key.\n* `domain` **(required)**: The subdomain part of your Freshdesk URL (e.g. if your URL is `https://mysite.freshdesk.com`, then enter `mysite`).\n\n## Usage\n\nHere's how you would use this plugin in a page that contains a form:\n\n    form:\n        name: contact\n        fields:\n            -\n                name: name\n                label: 'Name'\n                type: text\n            -\n                name: email\n                label: 'Email Address'\n                type: email\n            -\n                name: subject\n                label: 'Subject'\n                type: text\n            -\n                name: description\n                label: 'Message'\n                type: textarea\n        buttons:\n            - type: submit\n              value: Submit\n        process:\n            -\n                freshdesk:\n                    name: '{{ form.value.name }}'\n                    email: '{{ form.value.email }}'\n                    subject: '{{ form.value.subject }}'\n                    description: '{{ form.value.description|nl2br }}'\n\nLet's look at the parameters of the `freshdesk` form action:\n\n* `name`: Name of the requester.\n* `email` **(required)**: Email address of the requester. If no contact exists with this email address in Freshdesk, it will be added as a new contact.\n* `subject` **(required)**: Subject of the ticket.\n* `description` **(required)**: HTML content of the ticket.\n\n## Credits / Thanks\n\nThis plugin uses [Freshdesk PHP SDK API v2](https://github.com/mpclarkson/freshdesk-php-sdk).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenface%2Fgrav-plugin-freshdesk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenface%2Fgrav-plugin-freshdesk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenface%2Fgrav-plugin-freshdesk/lists"}