Home / Companies / Sauce Labs / Blog / Post Details
Content Deep Dive

How to serve PHP/Pear packages with GitHub

Blog post from Sauce Labs

Post Details
Company
Date Published
Author
The Sauce Labs Team
Word Count
451
Company Posts That Month
3
Language
English
Hacker News Points
-
Post removed?
No
Summary

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.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.