Comments (8)
The "phppear" name above has really no meaning to composer, it's just for self-documentation purposes. The PEAR repository will read from the PEAR channel you give it, and create packages accordingly. The package name as defined by PEAR I believe is only MDB2
, so that's what you should require, no phppear/
prefix.
from composer.
Also, I forgot to mention, this won't work until #61 is merged - which I hopefully will do tonight. If you want to try it anyway, use my fork's master branch in the meantime.
You can also use http://getcomposer.org/composer.phar to test stuff, it's built from my branch.
from composer.
Thanks Jordi.
So, if I add multiple pear repositories and then add a package to require, it will search all of the pear repositories for that package. Is that correct?
from composer.
That is correct. You never have to know where packages are, you just add repositories, and it'll find the fittest package in any of them, according to some rules (the DefaultPolicy class).
from composer.
Excellent… thanks so much.
from composer.
No problem, I just merged #61 btw, so you can now try with the sources if you like instead of the phar. And feel free to stop by on irc.freenode.org #composer-dev
from composer.
Thanks. BTW trying to build the phar from source and I get an error:
Call to undefined method Composer\Package\BasePackage::parseVersion() in phar:///Users/Shared/Sites/test/composer.phar/src/Composer/Repository/PearRepository.php on line 2
If this is just me being ignorant, then my apologies and please feel free to ignore this. :)
from composer.
I just pushed a couple fixes for the PEAR repository. Try recompiling the phar, it should go further but here I'm hitting another issue that I can't really fix right now. You might be more lucky with another PEAR repository though.
from composer.
Related Issues (20)
- [RFC] Automatically bump requirements when updating packages, with type=project or with an option in the configuration HOT 3
- TypeError with numeric environment variable
- Memory leak due to the copy of Metric objects in Composer's trainer HOT 2
- composer install shows progress despite --no-progress HOT 1
- Getting error HOT 2
- curl error 23 when updating custom repository HOT 20
- https://api.jikan.moe/v4/recommendations/anime HOT 1
- Ability to ignore platform check with autoloader HOT 1
- [Bitbucket] [AccessTokenAuth] File name too long HOT 3
- Plugin class in the project being created with `project-create` is not discovered HOT 5
- "clear-cache" ignores "cache-dir" defined in "composer.json"
- Composer can't find unzip or 7zip when run via php+apache HOT 28
- The Composer installer script was not successful [exit code 1]. Your proxy settings may be causing this error. Script Output: The "https://getcomposer.org/versions" file could not be downloaded: Failed to open stream: No connection could be made because the target machine actively refused it
- [RFC] Remove `v` from version numbers in the output table of `composer show` HOT 4
- composer install is taking nearly 3 hours on mac HOT 1
- Allow --lock file to be created for lock false case HOT 1
- d ellislab
- The Composer installer script was not successful [exit code 1]. HOT 1
- Requiring specific commit also adds unnecessary dependencies HOT 2
- Can't install dacastro4/laravel-gmail package due to conflicts with another require. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from composer.