Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Added include path to composer.json #4

merged 1 commit into from

3 participants


Normally PEAR allows loading files using a require statement (require_once('PEAR/...'). This will fail without the include path because PHP can not find the files because the inclusion is requested right away instead of relaying on the autoloader. Unfortunately a lot of PEAR packages use these statements, making this include path necessary to be fully usable as a composer package.

@CloCkWeRX CloCkWeRX merged commit 2f560fa into pear:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 9, 2013
  1. @hboomsma

    added include path

    hboomsma authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  composer.json
3  composer.json
@@ -20,5 +20,6 @@
"autoload": {
"psr-0": { "PEAR": "" }
- }
+ },
+ "include-path": ["."]
Something went wrong with that request. Please try again.