Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
% cat composer.json
"repositories": [
"type": "vcs",
"url": ""
"require": {
"yahoojapan/yconnect-php-sdk": "dev-master"
% composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
- Installing yahoojapan/yconnect-php-sdk (dev-master 40c080c)
Cloning 40c080c219a157876f0e3979f8ee3e1c05aa31b8
Writing lock file
Generating autoload files
% ls
composer.json composer.lock vendor/
% cat vendor/autoload.php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInitdf1b07fc3d2b5ffebc9fda116e6b865b::getLoader();
% composer --version
Composer version 1.0-dev (f1aa655e6113e0efa979b8b09d7951a762eaa04c) 2015-08-20 11:59:54
% php --version
PHP 5.6.13 (cli) (built: Sep 21 2015 19:06:46)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment