{"action":"created","issue":{"url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/1","labels_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/1/comments","events_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/1/events","html_url":"https://github.com/pattern-lab/patternengine-php-twig/issues/1","id":56844735,"number":1,"title":"Add support for custom filters","user":{"login":"dmolsen","id":2746,"avatar_url":"https://avatars.githubusercontent.com/u/2746?v=3","gravatar_id":"","url":"https://api.github.com/users/dmolsen","html_url":"https://github.com/dmolsen","followers_url":"https://api.github.com/users/dmolsen/followers","following_url":"https://api.github.com/users/dmolsen/following{/other_user}","gists_url":"https://api.github.com/users/dmolsen/gists{/gist_id}","starred_url":"https://api.github.com/users/dmolsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmolsen/subscriptions","organizations_url":"https://api.github.com/users/dmolsen/orgs","repos_url":"https://api.github.com/users/dmolsen/repos","events_url":"https://api.github.com/users/dmolsen/events{/privacy}","received_events_url":"https://api.github.com/users/dmolsen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"dmolsen","id":2746,"avatar_url":"https://avatars.githubusercontent.com/u/2746?v=3","gravatar_id":"","url":"https://api.github.com/users/dmolsen","html_url":"https://github.com/dmolsen","followers_url":"https://api.github.com/users/dmolsen/followers","following_url":"https://api.github.com/users/dmolsen/following{/other_user}","gists_url":"https://api.github.com/users/dmolsen/gists{/gist_id}","starred_url":"https://api.github.com/users/dmolsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmolsen/subscriptions","organizations_url":"https://api.github.com/users/dmolsen/orgs","repos_url":"https://api.github.com/users/dmolsen/repos","events_url":"https://api.github.com/users/dmolsen/events{/privacy}","received_events_url":"https://api.github.com/users/dmolsen/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-02-06T17:53:38Z","updated_at":"2015-12-03T18:35:19Z","closed_at":"2015-12-03T18:35:19Z","body":"This feature would work in a similar way to the Mustache Helper feature. Twig helpers could be installed via composer and they'd register themselves. Currently this is how the Mustache helper works:\r\n\r\n* install helper which gets registered\r\n* on load the helper is associated with a dispatcher event\r\n* when the pattern engine loads it fires the event and all helpers register themselves\r\n\r\n[Example mustache helper](https://github.com/pattern-lab/mustachehelper-php-verbatim)."},"comment":{"url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/comments/161741493","html_url":"https://github.com/pattern-lab/patternengine-php-twig/issues/1#issuecomment-161741493","issue_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/1","id":161741493,"user":{"login":"dmolsen","id":2746,"avatar_url":"https://avatars.githubusercontent.com/u/2746?v=3","gravatar_id":"","url":"https://api.github.com/users/dmolsen","html_url":"https://github.com/dmolsen","followers_url":"https://api.github.com/users/dmolsen/followers","following_url":"https://api.github.com/users/dmolsen/following{/other_user}","gists_url":"https://api.github.com/users/dmolsen/gists{/gist_id}","starred_url":"https://api.github.com/users/dmolsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmolsen/subscriptions","organizations_url":"https://api.github.com/users/dmolsen/orgs","repos_url":"https://api.github.com/users/dmolsen/repos","events_url":"https://api.github.com/users/dmolsen/events{/privacy}","received_events_url":"https://api.github.com/users/dmolsen/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T18:35:19Z","updated_at":"2015-12-03T18:35:19Z","body":"Done."}}