Created
February 5, 2013 00:38
-
-
Save felipepodesta/4711106 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ php composer.phar show symfony/locale | |
name : symfony/locale | |
versions : 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.1.0-dev | |
type : library | |
names : symfony/locale | |
source : [git] http://github.com/symfony/Locale.git a484e15b2870dc67041948e7a02e0e8ba617af39 | |
dist : [zip] http://github.com/symfony/Locale/zipball/a484e15b2870dc67041948e7a02e0e8ba617af39 a484e15b2870dc67041948e7a02e0e8ba617af39 | |
licence : MIT | |
autoload | |
psr-0 | |
Symfony\Component\Locale : . | |
requires | |
php >=5.3.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ php composer.phar search symfony | |
available: symfony/symfony 2.0.4 | |
available: symfony/symfony 2.0.5 | |
available: symfony/symfony 2.0.6 | |
available: symfony/symfony 2.0.7 | |
available: symfony/symfony 2.1.0-dev | |
available: symfony/twig-bridge 2.0.4 | |
available: symfony/twig-bridge 2.0.5 | |
available: symfony/twig-bridge 2.0.6 | |
available: symfony/twig-bridge 2.0.7 | |
available: symfony/twig-bridge 2.1.0-dev | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"repositories": { | |
"my-repo": { | |
"composer": { | |
"url": "http://example.org" | |
} | |
} | |
}, | |
"require": { | |
"kriswallsmith/buzz": ">=0.5", | |
"symfony/css-selector": ">2.0.4", | |
"symfony/dom-crawler": ">2.0.4", | |
"my-company/my-library": "=1.0.1" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"repositories": { | |
"my-repo": { | |
"vcs": { | |
"url": "git://example.org/my-library.git" | |
} | |
} | |
}, | |
"require": { | |
"kriswallsmith/buzz": ">=0.5", | |
"symfony/css-selector": ">2.0.4", | |
"symfony/dom-crawler": ">2.0.4", | |
"my-company/my-library": "=1.0.1" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"repositories": { | |
"my-repo": { | |
"package": { | |
"name": "my-company/my-library", | |
"version": "1.0.0", | |
"dist": { | |
"url": "http://example.org/package-1.0.0.zip", | |
"type": "zip" | |
}, | |
"source": { | |
"url": "git://example.org/package.git", | |
"type": "git", | |
"reference": "1.0.0" | |
} | |
} | |
} | |
}, | |
"require": { | |
"kriswallsmith/buzz": ">=0.5", | |
"symfony/css-selector": ">2.0.4", | |
"symfony/dom-crawler": ">2.0.4", | |
"my-company/my-library": "=1.0.1" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"repositories": { | |
"pear.php.net": { | |
"pear": { | |
"url": "http://pear.php.net" | |
} | |
}, | |
}, | |
"require": { | |
"kriswallsmith/buzz": ">=0.5", | |
"symfony/css-selector": ">2.0.4", | |
"symfony/dom-crawler": ">2.0.4", | |
"Net_DNS": "=1.0.7" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
require: { | |
"symfony/class-loader": "2.0.7" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once __DIR__.'/vendor/symfony/class-loader/Symfony/Component/ClassLoader/UniversalClassLoader.php'; | |
use Symfony\Component\ClassLoader\UniversalClassLoader; | |
$loader = new UniversalClassLoader(); | |
$loader->register(); | |
$loader->registerNamespaces(array( | |
'Buzz' => __DIR__.'/vendor/kriswallsmith/buzz/lib', | |
'Symfony\\Component\\ClassLoader' => __DIR__.'/vendor/symfony/class-loader', | |
'Symfony\\Component\\CssSelector' => __DIR__.'/vendor/symfony/css-selector', | |
'Symfony\\Component\\DomCrawler' => __DIR__.'/vendor/symfony/dom-crawler', | |
)); | |
$loader->registerPrefixes(array( | |
'Net_' => __DIR__.'/vendor/Net_DNS' | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment