{"id":23047371,"url":"https://github.com/moceanapi/grav-form-notification","last_synced_at":"2025-04-03T02:45:01.169Z","repository":{"id":95927101,"uuid":"360786625","full_name":"MoceanAPI/grav-form-notification","owner":"MoceanAPI","description":"Send SMS notification upon form submission","archived":false,"fork":false,"pushed_at":"2021-10-11T02:13:31.000Z","size":318,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-08T17:09:44.395Z","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/MoceanAPI.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}},"created_at":"2021-04-23T06:34:53.000Z","updated_at":"2021-10-11T02:13:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"f513ae36-64c8-4b65-a282-491c3524d528","html_url":"https://github.com/MoceanAPI/grav-form-notification","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoceanAPI%2Fgrav-form-notification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoceanAPI%2Fgrav-form-notification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoceanAPI%2Fgrav-form-notification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoceanAPI%2Fgrav-form-notification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoceanAPI","download_url":"https://codeload.github.com/MoceanAPI/grav-form-notification/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246927808,"owners_count":20856193,"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-15T22:33:17.983Z","updated_at":"2025-04-03T02:45:01.148Z","avatar_url":"https://github.com/MoceanAPI.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MoceanAPI Form Notification Plugin\n\nA simple Grav plugin that allows you to send SMS notification every time someone submits your Grav form.\nThe **MoceanApi Form Notification** Plugin is for [Grav CMS](http://github.com/getgrav/grav). \n\n## Installation\n\nInstalling the MoceanAPI Form Notification plugin can be done in one of two ways. The GPM (Grav Package Manager) installation method enables you to quickly and easily install the plugin with a simple terminal command, while the manual method enables you to do so via a zip file.\n\n### GPM Installation (Preferred)\n\nThe simplest way to install this plugin is via the [Grav Package Manager (GPM)](http://learn.getgrav.org/advanced/grav-gpm) through your system's terminal (also called the command line).  From the root of your Grav install type:\n\n    bin/gpm install moceanapi-form-notification\n\nThis will install the MoceanAPI Form Notification plugin into your `/user/plugins` directory within Grav. Its files can be found under `/your/site/grav/user/plugins/moceanapi-form-notification`.\n\n### Manual Installation\n\nTo install this plugin, just download the zip version of this repository and unzip it under `/your/site/grav/user/plugins`. Then, rename the folder to `moceanapi-form-notification`. You can find these files on [GitHub](https://github.com/omar-usman/grav-plugin-moceanapi-form-notification) or via [GetGrav.org](http://getgrav.org/downloads/plugins#extras).\n\nYou should now have all the plugin files under\n\n    /your/site/grav/user/plugins/moceanapi-form-notification\n\t\n\u003e NOTE: This plugin is a modular component for Grav which requires [Grav](http://github.com/getgrav/grav) and the [Error](https://github.com/getgrav/grav-plugin-error) and [Problems](https://github.com/getgrav/grav-plugin-problems) to operate.\n\n## Configuration\n\nBefore configuring this plugin, you should copy the `user/plugins/moceanapi-form-notification/moceanapi-form-notification.yaml` to `user/config/plugins/moceanapi-form-notification.yaml` and only edit that copy.\n\nHere is the default configuration and an explanation of available options:\n\n```yaml\nenabled: true\napi_key: your-moceanapi-key\napi_secret: your-moceanapi-secret\nenable_notification: true\nfrom: 'From'\nto: '60123456789'\nmessage: 'You have received new submission on your {{FORM_NAME}} form.'\nenable_auto_response: true\nphone_field: 'phone'\nauto_response_msg: 'Thank you for your submission.'\n```\n\n## Usage\n\n* Create your Grav form. See: [Forms](https://learn.getgrav.org/forms)\n* That's it. You should now be able to receive SMS notification automatically.\n\n\n## Something is wrong?\n\nMake sure you've updated your composer.json file and update your dependencies.\n\n* Add `\"guzzlehttp/guzzle\": \"^6.3\"` in your `composer.json` file.\n* Run command: `composer update --prefer-dist -vvv --profile`\n* Check the plugin `moceanapi-form-notification.yaml` file if you've added the right config values.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoceanapi%2Fgrav-form-notification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoceanapi%2Fgrav-form-notification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoceanapi%2Fgrav-form-notification/lists"}