Skip to content
sauce labs pear channel for sauce php integration (pear sauce!)
Branch: gh-pages
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


PEAR Channel Server hosted by GitHub

This is the Sauce Labs PEAR Channel Server hosted by GitHub and powered by Pirum

Inspired by jsor's PEAR channel

Create your own PEAR Channel Server

  1. Create a new repository on GitHub called pear (or any other name)
  2. Create a local git repository (use the same name from the previous step and replace [username] with your GitHub username) $ mkdir pear $ cd pear $ git init $ git remote add origin[username]/pear.git
  3. Install Pirum $ pear channel-discover $ pear install pirum/Pirum-beta
  4. Create a configuration file pirum.xml with the following content (replace [username] with your GitHub username) [username] [username]'s PEAR Channel Server [username] http://[username]
  5. Run the build command $ pirum build .
  6. Now add and commit everything $ git add . $ git commit -m "Initial server build"
  7. Rename your master branch to gh-pages and push it to GitHub $ git branch -m master gh-pages $ git push origin gh-pages
  8. Your PEAR channel server is now available under [username] You can test it with (replace [username] with your GitHub username) $ pear channel-discover [username] $ pear channel-info [username] $ pear list-all -c [username]

Add packages to your PEAR Channel Server

  1. Add a PEAR package $ pirum add . My_Package-1.0.0.tgz
  2. Add, commit and push everything to publish the new package $ git add . $ git commit -m "Add 1.0.0 release of My_Package" $ git push origin gh-pages
You can’t perform that action at this time.