davidsneal / trigger
A simple URL Trigger for Statamic v3.
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 21
Type:statamic-addon
Requires
- php: ^7.2
- illuminate/support: 6.*
- kitetail/zttp: ^0.6.0
- statamic/cms: 3.*@beta
- dev-master
- 1.0.1
- 1.0.0
- dev-dependabot/npm_and_yarn/json5-1.0.2
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/qs-and-express-6.11.0
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/loader-utils-and-webpack-cli-1.4.2
- dev-dependabot/composer/guzzlehttp/guzzle-6.5.8
- dev-dependabot/npm_and_yarn/eventsource-1.1.1
- dev-dependabot/npm_and_yarn/async-2.6.4
- dev-dependabot/composer/guzzlehttp/psr7-1.8.5
- dev-dependabot/npm_and_yarn/url-parse-1.5.10
- dev-dependabot/npm_and_yarn/ajv-6.12.6
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/ws-6.2.2
- dev-dependabot/npm_and_yarn/dns-packet-1.3.4
- dev-dependabot/npm_and_yarn/browserslist-4.16.6
- dev-dependabot/npm_and_yarn/lodash-4.17.21
- dev-dependabot/npm_and_yarn/ssri-6.0.2
- dev-dependabot/npm_and_yarn/y18n-4.0.1
- dev-dependabot/npm_and_yarn/elliptic-6.5.4
- dev-dependabot/npm_and_yarn/axios-0.21.1
- dev-dependabot/npm_and_yarn/http-proxy-1.18.1
This package is auto-updated.
Last update: 2025-03-06 07:13:44 UTC
README
Allows you to make a simple POST
request to a configured URL. Particularly helpful for deployment triggers.
Installation
composer require davidsneal/trigger
Copy dist/js/cp.js
to your public folder public/vendor/davidsneal/trigger/js/cp.js
Sorry, I've yet to figure out a better way to do this ^^
Configuration
Set the URL that the POST
request should be made to in your .env
via TRIGGER_FIRE_URL
(optional) Publish Trigger's default configuration and language files by running php artisan vendor:publish --provider="Davidsneal\Trigger\ServiceProvider"
You could require Trigger for something different to triggering a deployment, all text displayed by Trigger is customisable.
Usage
You can access the Trigger from the CP menu under Tools. Use the published language file to change the item name, and config file to change the icon, should you wish.
This is the default component view, again you can change every item of text, including the confirmation modal.
Permissions
Trigger adds a permission you can assign to groups as required.