vivait / taskstack-communicator-bundle
Integrate TaskStack into your apps
Installs: 3 945
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 2
Open Issues: 0
Requires
- guzzlehttp/guzzle: ~5
- symfony/form: ~2.3
- symfony/framework-bundle: ~2.3
- symfony/twig-bundle: ~2.3
Requires (Dev)
- phpspec/phpspec: ~2.0
This package is not auto-updated.
Last update: 2020-01-21 18:47:02 UTC
README
Send issues direct from a symfony app directly to an instance of TaskStack.
Configuration
routing.yml
vivait_taskstack_communicator: resource: "@VivaitTaskstackCommunicatorBundle/Resources/config/routing.yml" prefix: /
config.yml
vivait_taskstack_communicator: api_key: myapikey url: http://mycompany.taskstack.uk
Help Form
Add a help form to your web page.
Simply call the twig extension to render the help form
{{ communicator_help_panel() }}
To allow the form to submit via AJAX, add the javascript:
{% javascripts "@VivaitTaskstackCommunicatorBundle/Resources/public/js/helpPanel.js" %} <script type="text/javascript" src="{{ asset_url }}"></script> {% endjavascripts %}