CHAPTER 15 ■ AN INTRODUCTION TO PEAR AND PYRUS
343
channel.xml, which defines your channel. It also creates empty get/ and rest/ directories. I want these
to be Web-accessible later, so I ran the command in a Web directory.
Now that I’ve created a channel, I can add some categories.
php /usr/share/pearscs.phar add-category productivity "things to help you work"
php /usr/share/pearscs.phar add-category fun "the fun never stops"
The add-category subcommand takes two arguments: the name of the category, and a description.
It simply amends the channel.xml file.
Before I can add a package to the system, I must ensure that my new channel can be recognized or
PEAR, or Pyrus will complain when the package is built. In order to do this I need another ...