The process of serving PHP/Pear packages with GitHub is made easy thanks to Pirum and Fabien Potencier. To create a pear channel on GitHub, one needs to install Pear and Git if not already done, then create a new repository and initialize it, add the origin remote, install Pirum, create a pirum configuration file, build the server, commit everything, rename the master branch to gh-pages, push it to GitHub, and wait for 15 minutes. Once the channel is available, one can test it by downloading packages from it using `pear channel-discover` and `pear channel-info`. To distribute PHP packages through a pear channel, one needs to create a package.xml file with metadata, validate the package, make it, add it to the channel locally, upload the changes to GitHub, and push them to gh-pages. With these steps, one can easily serve their own PHP/Pear packages with GitHub.