<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 22 May 2013 00:17:16 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Joshua Thijssen's Blog: Using augeas (in PHP)]]></title>
      <guid>http://www.phpdeveloper.org/news/18039</guid>
      <link>http://www.phpdeveloper.org/news/18039</link>
      <description><![CDATA[<p>
In <a href="http://www.adayinthelifeof.nl/2012/06/04/using-augeas-in-php/">this new post</a> to his blog, <i>Joshua Thijssen</i> looks at using the <a href="http://augeas.net/">Augeas</a> tool in a PHP application. Augeas is a configuration editing tool, making it easy to parse many different types of configs and transform them into a tree structure.
</p>
<blockquote>
Even though I really like using sed and awk, sometimes its hard to change or add parameters in configuration files. Big sed statements that may or may not work, double checking if everything has been done correctly etc. Augeas is a really cool tool that lets you view / add / modify and delete all kind of data from configuration files. If you are using Puppet, you are probably aware of this tool, but I notice that a lot of PHP developers have never heard of it.. Let's explore..
</blockquote>
<p>
He shows an example of a configuration file and how the "augtool" command line script can be used to modify one of them. He then shows how to use <a href="http://augeas.net/">the tool's library</a> to set the server's "date.timezone" setting in the php.ini.
</p>]]></description>
      <pubDate>Mon, 04 Jun 2012 08:17:56 -0500</pubDate>
    </item>
  </channel>
</rss>
