<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>te2u</author_name>
  <author_url>https://blog.hatena.ne.jp/te2u/</author_url>
  <blog_title>作業ノート</blog_title>
  <blog_url>https://te2u.hatenablog.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>Silex</anon>
    <anon>試してみた</anon>
  </categories>
  <description>SilexのTwigServiceProviderを使ってTwigを利用する。 Twigのインストール slim版にはTwig自体が含まれていないので、composerを使ってTwigをインストールする。 composer.jsonを { &quot;require&quot;: { &quot;silex/silex&quot;: &quot;~1.1&quot;, &quot;twig/twig&quot;: &quot;&gt;=1.8,&lt;2.0-dev&quot; } } のように編集して、composer.pharを実行する。 $ ./composer.phar update Service Providerの登録 Silex\Applicationのregisterメソッドで登録する。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fte2u.hatenablog.jp%2Fentry%2F2014%2F09%2F18%2F132202&quot; title=&quot;Silexを試してみた(4) - Twig - 作業ノート&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-09-18 13:22:02</published>
  <title>Silexを試してみた(4) - Twig</title>
  <type>rich</type>
  <url>https://te2u.hatenablog.jp/entry/2014/09/18/132202</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
