{"action":"created","issue":{"url":"https://api.github.com/repos/popphp/popphp-framework/issues/1","repository_url":"https://api.github.com/repos/popphp/popphp-framework","labels_url":"https://api.github.com/repos/popphp/popphp-framework/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/popphp/popphp-framework/issues/1/comments","events_url":"https://api.github.com/repos/popphp/popphp-framework/issues/1/events","html_url":"https://github.com/popphp/popphp-framework/issues/1","id":314428330,"number":1,"title":"Use Twig as template engine","user":{"login":"SergiX44","id":4172890,"avatar_url":"https://avatars0.githubusercontent.com/u/4172890?v=4","gravatar_id":"","url":"https://api.github.com/users/SergiX44","html_url":"https://github.com/SergiX44","followers_url":"https://api.github.com/users/SergiX44/followers","following_url":"https://api.github.com/users/SergiX44/following{/other_user}","gists_url":"https://api.github.com/users/SergiX44/gists{/gist_id}","starred_url":"https://api.github.com/users/SergiX44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergiX44/subscriptions","organizations_url":"https://api.github.com/users/SergiX44/orgs","repos_url":"https://api.github.com/users/SergiX44/repos","events_url":"https://api.github.com/users/SergiX44/events{/privacy}","received_events_url":"https://api.github.com/users/SergiX44/received_events","type":"User","site_admin":false},"labels":[{"id":158611066,"url":"https://api.github.com/repos/popphp/popphp-framework/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-15T16:06:48Z","updated_at":"2018-04-16T13:49:29Z","closed_at":null,"author_association":"NONE","body":"It's possible to register a Twig instance as template engine?\r\nThanks"},"comment":{"url":"https://api.github.com/repos/popphp/popphp-framework/issues/comments/381605830","html_url":"https://github.com/popphp/popphp-framework/issues/1#issuecomment-381605830","issue_url":"https://api.github.com/repos/popphp/popphp-framework/issues/1","id":381605830,"user":{"login":"nicksagona","id":898670,"avatar_url":"https://avatars3.githubusercontent.com/u/898670?v=4","gravatar_id":"","url":"https://api.github.com/users/nicksagona","html_url":"https://github.com/nicksagona","followers_url":"https://api.github.com/users/nicksagona/followers","following_url":"https://api.github.com/users/nicksagona/following{/other_user}","gists_url":"https://api.github.com/users/nicksagona/gists{/gist_id}","starred_url":"https://api.github.com/users/nicksagona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicksagona/subscriptions","organizations_url":"https://api.github.com/users/nicksagona/orgs","repos_url":"https://api.github.com/users/nicksagona/repos","events_url":"https://api.github.com/users/nicksagona/events{/privacy}","received_events_url":"https://api.github.com/users/nicksagona/received_events","type":"User","site_admin":false},"created_at":"2018-04-16T13:49:29Z","updated_at":"2018-04-16T13:49:29Z","author_association":"CONTRIBUTOR","body":"I wouldn't see why not. The pop-view is usually set up in an application that uses the Pop PHP Framework as the default view/template engine, but I wouldn't see why Twig couldn't be set up instead. I don't have a specific example of using Twig, per se, but if you look at the controller class in the tutorial application, you can see how the view is set up and rendered. I could see replacing that with Twig I would think? https://github.com/popphp/popphp-tutorial/blob/master/app/src/Controller/IndexController.php"}}
{"actor":{"display_login":"nicksagona"}}