unikent / lib-php-footprints
Footprints API for PHP.
Installs: 9 673
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 14
Forks: 0
Open Issues: 1
Requires
- php: >=5.3
Requires (Dev)
This package is not auto-updated.
Last update: 2024-11-05 04:52:00 UTC
README
Full API docs available here: http://unikent.github.io/lib-php-footprints/
Add this to your composer require:
- "unikent/lib-php-footprints": "dev-master"
Then create tickets like so:
$ticket = new \unikent\Footprints\Ticket("My Example Ticket");
$ticket->set_emails(false, false, false);
$ticket->set_priority("Normal");
$ticket->set_user("sk");
$ticket->set_type("Incident");
$ticket->set_category("Web");
$ticket->add_assignees(array(
"Learning and Research Development",
"sk"
));
$ticket->add_entry("We did this cool thing the other day!");
$ticket->add_technical_note("Something is broken.");
$ticket->add_entry("Oh, it isnt working.");
$ticket->add_technical_note("Hah it was that function I wrote a long time ago.");
$ticket->add_entry("Fixed!");
$ticket->set_status("Resolved");
$ticketnumber = $ticket->create();