<?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>Thu, 24 May 2012 04:09:25 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Phil Sturgeon's Blog: Composer with CodeIgniter]]></title>
      <guid>http://www.phpdeveloper.org/news/17925</guid>
      <link>http://www.phpdeveloper.org/news/17925</link>
      <description><![CDATA[<p>
In <a href="http://philsturgeon.co.uk/blog/2012/05/composer-with-codeigniter">this latest post</a> to his blog <i>Phil Sturgeon</i> looks at how to use the Composer package management tool to install packages directly into your <a href="https://codeigniter.com">CodeIgniter</a> applications.
</p>
<blockquote>
If you want to start using Composer components in your application there is no reason why you should not. The code is mainly PHP 5.3 but by slowing moving the majority of your application from framework specific code to generic packages that work in any framework you free yourself from being limited to a specific framework and will find a transition to FuelPHP 2.0, Laravel or Symfony2 much easier in the future.
</blockquote>
<p>
There's four steps to his process (most of them the usual Composer setup ones): install Composer, create the "composer.json" file, install the needed dependencies and then <a href="http://php.net/include_once">include_once</a> the Composer autoloader. 
</p>]]></description>
      <pubDate>Tue, 08 May 2012 12:50:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Rafael Dohms' Blog: Deploying a Symfony2 and Composer app on PagodaBox]]></title>
      <guid>http://www.phpdeveloper.org/news/17819</guid>
      <link>http://www.phpdeveloper.org/news/17819</link>
      <description><![CDATA[<p>
<i>Rafael Dohms</i> has a new post sharing the results of one of his recent struggles - getting a Symfony2 application deployed to the <a href="http://pagodabox.com">PagodaBox</a> service using Composer to manage the packages. In <a href="http://blog.doh.ms/2012/04/16/deploying-a-symfony2-and-composer-app-on-pagodabox/">the post</a> he details each step of the process.
</p>
<blockquote>
I have been working on a little pet project and wanted to put it up somewhere to show to a few people how it was going. I wanted something really simple so I decided to give the PHP PaaS solutions a try. Its a very simple Symfony 2.1 based app using Composer for vendor management, so I went on a quest to see what could be done and how.
</blockquote>
<p>
He shares the contents of his Boxfile (a special file PagodaBox uses to configure your application) with entries for writeable directories, extensions to load and the database configuration. He found that, during deployment, everything is writeable by the "build" user, so there's no worries about installing Composer dependencies.
</p>]]></description>
      <pubDate>Mon, 16 Apr 2012 09:33:03 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[XPertDeveloper.com: Configure PHP, Apache, MySQL on Ubuntu 11.10]]></title>
      <guid>http://www.phpdeveloper.org/news/17787</guid>
      <link>http://www.phpdeveloper.org/news/17787</link>
      <description><![CDATA[<p>
In <a href="http://www.xpertdeveloper.com/2012/04/configure-php-apache-mysql-on-ubuntu-11-10/">this tutorial</a> on the XPertDeveloper site today they show you the "quick and not-so-dirty" way to get PHP + Apache + MySQL set up on a Ubuntu machine (from packages).
</p>
<blockquote>
I have started working with Ubuntu 11.10 and my first task was to install PHP, Apache and MySQL in that. This is because without these three things computer is useless for PHP Developer. So Here I am sharing this article which shows how to install PHP, MySQL and Apache and configure with each other. This would be very useful for newbies, who have just jumped into web developing.
</blockquote>
<p>
The process mostly consists of installing a few packages - mysql-server, mysql-client, apache2, php5 libapache2-mod-php5 (as well as several others for various PHP extension support) - and starting up the default Apache server.
</p>]]></description>
      <pubDate>Fri, 06 Apr 2012 11:32:17 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: Including PHP libraries via Composer]]></title>
      <guid>http://www.phpdeveloper.org/news/17735</guid>
      <link>http://www.phpdeveloper.org/news/17735</link>
      <description><![CDATA[<p>
On DZone.com there's a new post from <i>Giorgio Sironi</i> about <a href="http://css.dzone.com/articles/including-php-libraries">using Composer to install packages/libraries</a>:
</p>
<blockquote>
The main package source used by Composer seems more similar to the usage of git submodules at a first glance: a list of dependencies on other projects is specified and stored under version control, and upon a checkout these projects are grabbed directly from their repositories.
</blockquote>
<p>
He talks about what problem the project solves, what issues he's found with it so far (the amount of stuff downloaded for each dependency, the single point of failure of the one Packagist repository) and shows how to get it installed and creating a sample "composer.json" file for an example project.
</p>]]></description>
      <pubDate>Tue, 27 Mar 2012 09:02:55 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[CodeIgniter.com: A Quick Look at Sparks]]></title>
      <guid>http://www.phpdeveloper.org/news/17671</guid>
      <link>http://www.phpdeveloper.org/news/17671</link>
      <description><![CDATA[<p>
On CodeIgniter.com there's a new post <a href="http://codeigniter.com/news/a_quick_look_at_sparks#When:16:38:00Z">looking at Sparks</a>, reusable code components/packages for the CodeIgniter framework.
</p>
<blockquote>
On the back of a CIConf in London last month, I would like to delve a little into a common theme amongst CodeIgniter developers. Speeding up development through simple automation. To do that we're going to take a look at the CodeIgniter Sparks project and how it can drastically speed up your development. To demonstrate, I will walk through building a little portfolio that leeches off the GitHub API.
</blockquote>
<p>
They show you how to <a href="http://getsparks.org/install">install it from the Getsparks website</a>, finding Sparks to add to your application, the code to load in the component and configuring it on load. They include an example of loading in a REST client Spark and how to use it to make a request to Github and pull down a Markdown file.
</p>]]></description>
      <pubDate>Wed, 14 Mar 2012 09:49:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Vance Lucas' Blog: Nginx + PHP-FPM Blank Pages with Phar Packages]]></title>
      <guid>http://www.phpdeveloper.org/news/17648</guid>
      <link>http://www.phpdeveloper.org/news/17648</link>
      <description><![CDATA[<p>
<i>Vance Lucas</i> has a new post sharing some of his experience in <a href="http://www.vancelucas.com/blog/nginx-php-fpm-blank-pages-with-phar-packages/">setting up nginx+PHP-FPM with phar packages</a> that he recently had with setting up a new server instance for a company. The problem showed itself as blank pages, apparently due to a feature in the Suhosin security package.
</p>
<blockquote>
Ran into this issue when setting up a new VPS for <a href="http://autoridge.com/">AutoRidge</a>. This happens when using Nginx and PHP-FPM with PHP 5.3+ and the Suhosin patch when trying to run a PHP script using a PHAR package. From what I can gather, the Suhosin patch basically blocks PHP include/require functions from executing files ending with .phar, which results in a PHP segfault that leaves no trace of any error at all.
</blockquote>
<p>
His solution is a pretty simple one - edit the "suhosin.ini" file to allow for the opening of includes in <a href="http://php.net/phar">phar</a> files (suhosin.executor.include.whitelist). You can find out more about the Suhosin security tool <a href="http://www.hardened-php.net/suhosin/">on the project's website</a>.
</p>]]></description>
      <pubDate>Thu, 08 Mar 2012 12:18:02 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Stuart Herbert's Blog: Setting Up Sublime Text 2 For PHP Development]]></title>
      <guid>http://www.phpdeveloper.org/news/17595</guid>
      <link>http://www.phpdeveloper.org/news/17595</link>
      <description><![CDATA[<p>
<i>Stuart Herbert</i>, a big fan of the Sublime Text 2 editor, has <a href="http://blog.stuartherbert.com/php/2012/02/28/setting-up-sublime-text-2-for-php-development/">put together a post</a> showing you what he thinks is an effected way to set up the editor for PHP development.
</p>
<blockquote>
As the interest seems to be there, I thought it would be a great idea to follow up with a post taking you step by step through how I've set up Sublime Text 2 for PHP development, and showing you some of the useful features that you get out of the box with Sublime Text 2.
</blockquote>
<p>
He's come up with some screencasts of his setup so you can see the useful features in action. He points out a few things to install or that use can use to make your development simpler:
</p>
<ul>
<li>Package Control
<li>the Soda theme
<li>how to edit user preferences
<li>using the "Goto Anything" bar
<li>using the PHP snippets plugin
<li>DocBlockr for documentation blocks
<li>Sublime linter
<li>Goto Documentation
</ul>
<p>
...and much more. This flexible editor makes it easy to customize just about everything in your environment and with more and more <a href="http://wbond.net/sublime_packages/community">plugins/packages</a> popping up all the time, there's a good chance the feature you need will be introduced soon.
</p>]]></description>
      <pubDate>Tue, 28 Feb 2012 08:49:07 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Till Klampaeckel's Blog: Deploying PHP applications: PEAR and composer resources for chef]]></title>
      <guid>http://www.phpdeveloper.org/news/17592</guid>
      <link>http://www.phpdeveloper.org/news/17592</link>
      <description><![CDATA[<p>
In a new post to his site <i>Till Klampaeckel</i> shows how to <a href="http://till.klampaeckel.de/blog/archives/180-Deploying-PHP-applications-PEAR-and-composer-resources-for-chef.html">use PEAR and composer resources</a> (two popular PHP package management tools) from inside of a chef deployment script.
</p>
<blockquote>
This is something experimental I have been working on for our chef deployments. So the objective was/is to find a sane way to install PEAR packages and install dependencies with composer.
</blockquote>
<p>
He shows how to set up the configuration script to discover a new PEAR channel, make the chef script not "fail hard" if a command returns a failed response code (as PEAR will do if the channel is already discovered). The "ignore_failure" configuration directive comes in handy for this. He also shows how to implement a <a href="http://wiki.opscode.com/display/chef/Lightweight+Resources+and+Providers+%28LWRP%29">LWRP</a> in chef for both a PEAR and Composer resource. 
</p>
<p>
You can find the code for this and other cookbook examples <a href="https://github.com/till/easybib-cookbooks/tree/master/php/">on his github account</a>.
</p>]]></description>
      <pubDate>Mon, 27 Feb 2012 13:17:57 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Nelm.io Blog: An Update On Composer]]></title>
      <guid>http://www.phpdeveloper.org/news/17562</guid>
      <link>http://www.phpdeveloper.org/news/17562</link>
      <description><![CDATA[<p>
On the Nelm.io blog today there's <a href="http://nelm.io/blog/2012/02/an-update-on-composer/">an update about Composer</a>, the PHP package manager that's been steadily growing in popularity over the last few months.
</p>
<blockquote>
This weekend we have been busy hacking on Composer in our office together with <a href="http://www.naderman.de/">Nils Adermann</a> and <a href="http://edorian.posterous.com/">Volker Dusch</a>. We wanted to push the project forward a bit faster than the odd free evenings usually allow, and I would now like to introduce the changes we made.
</blockquote>
<p>Their updates include mentions of:</p>
<ul>
<li>Changes to the "dev" version handling
<li>Major bugfixing in the dependency resolver
<li><a href="https://github.com/composer/composer/tree/master/doc">More project documentation</a>
<li>GitHub integration with Packagist (allowing you to directly update the Packagist site when you push a new version)
<li>A cleanup on the repository creation process (<a href="http://packagist.org/about-composer">see here</a>)
</ul>]]></description>
      <pubDate>Mon, 20 Feb 2012 11:11:55 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Packaging Your Apps with Phar]]></title>
      <guid>http://www.phpdeveloper.org/news/17550</guid>
      <link>http://www.phpdeveloper.org/news/17550</link>
      <description><![CDATA[<p>
On PHPMaster.com today there's a new tutorial showing you how to <a href="http://phpmaster.com/packaging-your-apps-with-phar/">package up your applications</a> using the <a href="http://php.net/phar">phar</a> functionality that's bundled in to recent PHP versions.
</p>
<blockquote>
PHAR ("Php ARchive") is analogous to the JAR file concept but for PHP. If you have PHP 5.3 or greater, the Phar extension is built-in and enabled; you can start using it without any additional requirements. This article is intended to shed some light on this important feature for those who haven't used it before. Hopefully you'll find it a very helpful tool and have a better and faster deployment experience.
</blockquote>
<p>
They show you how to create a sample project to build the phar from - a simple application that prints out a message and the contents of a configuration file. Code is included to help you build the phar file and how to define the stub file to pull in your application's files and folder.
</p>]]></description>
      <pubDate>Thu, 16 Feb 2012 09:53:11 -0600</pubDate>
    </item>
  </channel>
</rss>

