├── .gitignore ├── .travis.yml ├── Changes.md ├── HACKING.md ├── LICENSE ├── README.ja.md ├── README.md ├── TODO.md ├── bin └── onion ├── data ├── phpunit_package.xml ├── symfony_package.xml.tmpl └── twig_package.xml ├── doc ├── InstallerFlow.md ├── SPEC-v2.md └── SPEC.md ├── examples └── package.ini ├── onion ├── package.ini ├── package.xml ├── phpdox.xml ├── phprelease.ini ├── phpunit-ci.xml ├── phpunit.xml ├── scripts ├── build ├── check_config.php ├── compile ├── onion.embed └── release.sh ├── src ├── CurlKit │ ├── CurlDownloader.php │ └── Progress │ │ ├── ProgressBar.php │ │ ├── ProgressInterface.php │ │ └── ProgressStar.php └── Onion │ ├── Application.php │ ├── Command │ ├── BuildCommand.php │ ├── CompileCommand.php │ ├── InitCommand.php │ ├── InstallCommand.php │ └── SelfUpdateCommand.php │ ├── ConfigContainer.php │ ├── Dependency │ ├── DependencyInfo.php │ ├── DependencyPool.php │ └── DependencyResolver.php │ ├── Downloader │ ├── CurlDownloaderFactory.php │ ├── DownloaderInterface.php │ ├── DownloaderManager.php │ ├── PPDownloader.php │ └── PPDownloaderFactory.php │ ├── Exception │ └── InvalidConfigException.php │ ├── GlobalConfig.php │ ├── INIParser.php │ ├── Installer.php │ ├── Installer │ ├── InstallerInterface.php │ ├── LibraryInstaller.php │ └── PearInstaller.php │ ├── LoggableInterface.php │ ├── Operation │ └── InstallOperation.php │ ├── Package │ ├── Package.php │ └── PackageInterface.php │ ├── PackageConfigReader.php │ ├── Packager.php │ ├── Paths.php │ ├── Pear │ └── PackageXmlGenerator.php │ ├── Repository │ └── PEAR.php │ ├── SpecUtils.php │ └── TestCommand │ ├── ParentCommand.php │ └── ParentCommand │ └── SubCommand.php └── tests ├── CurlKit └── CurlDownloaderTest.php ├── Onion ├── ConfigContainerTest.php ├── Dependency │ └── DependencyResolverTest.php ├── Downloader │ └── DownloaderManagerTest.php ├── Package │ ├── PackageTest.php │ └── fixtures │ │ ├── stub.ini │ │ └── stub_with_no_structure.ini ├── PackageConfigReaderTest.php └── Pear │ ├── PackageXmlGeneratorTest.php │ └── fixtures │ └── stub.ini ├── bootstrap.php ├── data ├── corneltek.channel.xml ├── new_package.ini ├── package.ini ├── package_xml │ ├── PHPUnit_MockObject │ │ └── package.xml │ ├── PHP_Timer │ │ └── package.xml │ ├── Twig │ │ └── package.xml │ └── YAML │ │ └── package.xml ├── pear.channel.xml └── pear2.channel.xml └── helpers.php /.gitignore: -------------------------------------------------------------------------------- 1 | .onion 2 | vendor 3 | tests/tmp 4 | .idea/ 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/.travis.yml -------------------------------------------------------------------------------- /Changes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/Changes.md -------------------------------------------------------------------------------- /HACKING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/HACKING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/LICENSE -------------------------------------------------------------------------------- /README.ja.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/README.ja.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/README.md -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/TODO.md -------------------------------------------------------------------------------- /bin/onion: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/bin/onion -------------------------------------------------------------------------------- /data/phpunit_package.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/data/phpunit_package.xml -------------------------------------------------------------------------------- /data/symfony_package.xml.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/data/symfony_package.xml.tmpl -------------------------------------------------------------------------------- /data/twig_package.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/data/twig_package.xml -------------------------------------------------------------------------------- /doc/InstallerFlow.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/doc/InstallerFlow.md -------------------------------------------------------------------------------- /doc/SPEC-v2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/doc/SPEC-v2.md -------------------------------------------------------------------------------- /doc/SPEC.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/doc/SPEC.md -------------------------------------------------------------------------------- /examples/package.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/examples/package.ini -------------------------------------------------------------------------------- /onion: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/onion -------------------------------------------------------------------------------- /package.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/package.ini -------------------------------------------------------------------------------- /package.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/package.xml -------------------------------------------------------------------------------- /phpdox.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/phpdox.xml -------------------------------------------------------------------------------- /phprelease.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/phprelease.ini -------------------------------------------------------------------------------- /phpunit-ci.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/phpunit-ci.xml -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/phpunit.xml -------------------------------------------------------------------------------- /scripts/build: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | onion build 3 | -------------------------------------------------------------------------------- /scripts/check_config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/scripts/check_config.php -------------------------------------------------------------------------------- /scripts/compile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/scripts/compile -------------------------------------------------------------------------------- /scripts/onion.embed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/scripts/onion.embed -------------------------------------------------------------------------------- /scripts/release.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/scripts/release.sh -------------------------------------------------------------------------------- /src/CurlKit/CurlDownloader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/CurlKit/CurlDownloader.php -------------------------------------------------------------------------------- /src/CurlKit/Progress/ProgressBar.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/CurlKit/Progress/ProgressBar.php -------------------------------------------------------------------------------- /src/CurlKit/Progress/ProgressInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/CurlKit/Progress/ProgressInterface.php -------------------------------------------------------------------------------- /src/CurlKit/Progress/ProgressStar.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/CurlKit/Progress/ProgressStar.php -------------------------------------------------------------------------------- /src/Onion/Application.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Application.php -------------------------------------------------------------------------------- /src/Onion/Command/BuildCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Command/BuildCommand.php -------------------------------------------------------------------------------- /src/Onion/Command/CompileCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Command/CompileCommand.php -------------------------------------------------------------------------------- /src/Onion/Command/InitCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Command/InitCommand.php -------------------------------------------------------------------------------- /src/Onion/Command/InstallCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Command/InstallCommand.php -------------------------------------------------------------------------------- /src/Onion/Command/SelfUpdateCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Command/SelfUpdateCommand.php -------------------------------------------------------------------------------- /src/Onion/ConfigContainer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/ConfigContainer.php -------------------------------------------------------------------------------- /src/Onion/Dependency/DependencyInfo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Dependency/DependencyInfo.php -------------------------------------------------------------------------------- /src/Onion/Dependency/DependencyPool.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Dependency/DependencyPool.php -------------------------------------------------------------------------------- /src/Onion/Dependency/DependencyResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Dependency/DependencyResolver.php -------------------------------------------------------------------------------- /src/Onion/Downloader/CurlDownloaderFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Downloader/CurlDownloaderFactory.php -------------------------------------------------------------------------------- /src/Onion/Downloader/DownloaderInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Downloader/DownloaderInterface.php -------------------------------------------------------------------------------- /src/Onion/Downloader/DownloaderManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Downloader/DownloaderManager.php -------------------------------------------------------------------------------- /src/Onion/Downloader/PPDownloader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Downloader/PPDownloader.php -------------------------------------------------------------------------------- /src/Onion/Downloader/PPDownloaderFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Downloader/PPDownloaderFactory.php -------------------------------------------------------------------------------- /src/Onion/Exception/InvalidConfigException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Exception/InvalidConfigException.php -------------------------------------------------------------------------------- /src/Onion/GlobalConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/GlobalConfig.php -------------------------------------------------------------------------------- /src/Onion/INIParser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/INIParser.php -------------------------------------------------------------------------------- /src/Onion/Installer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Installer.php -------------------------------------------------------------------------------- /src/Onion/Installer/InstallerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Installer/InstallerInterface.php -------------------------------------------------------------------------------- /src/Onion/Installer/LibraryInstaller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Installer/LibraryInstaller.php -------------------------------------------------------------------------------- /src/Onion/Installer/PearInstaller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Installer/PearInstaller.php -------------------------------------------------------------------------------- /src/Onion/LoggableInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/LoggableInterface.php -------------------------------------------------------------------------------- /src/Onion/Operation/InstallOperation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Operation/InstallOperation.php -------------------------------------------------------------------------------- /src/Onion/Package/Package.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Package/Package.php -------------------------------------------------------------------------------- /src/Onion/Package/PackageInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Package/PackageInterface.php -------------------------------------------------------------------------------- /src/Onion/PackageConfigReader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/PackageConfigReader.php -------------------------------------------------------------------------------- /src/Onion/Packager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Packager.php -------------------------------------------------------------------------------- /src/Onion/Paths.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Paths.php -------------------------------------------------------------------------------- /src/Onion/Pear/PackageXmlGenerator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpbrew/Onion/HEAD/src/Onion/Pear/PackageXmlGenerator.php -------------------------------------------------------------------------------- /src/Onion/Repository/PEAR.php: -------------------------------------------------------------------------------- 1 |