Google Cloud PHP autoloader for Magento 1.9.
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Fix issue with static reference to non-static method Oct 6, 2018
lib/GoogleCloud Remove lib/GoogleCloud/composer.* files Oct 12, 2018
.gitignore Update .gitignore Oct 12, 2018
README.md Update README Jan 11, 2019
composer.json Update Composer file Oct 12, 2018
modman Add modman file Aug 29, 2018

README.md

Google Cloud PHP Autoloader

Autoload Google Cloud PHP classes for use with Magento 1.9.

By default, only google/cloud-core and its dependencies are installed. If you're using this module with magegcs, make the following updates to the composer.json file and run composer update:

"require": {
  "php": ">=5.5",
  "mnsami/composer-custom-directory-installer": "1.1.*",
  "google/cloud-core": "~1.23",
  "google/cloud-storage": "~1.9"
},
"extra": {
  "installer-paths": {
    "./google/cloud/core": ["google/cloud-core"],
    "./google/cloud/storage": ["google/cloud-storage"]
  }
}

Requirements

Installation

modman clone https://github.com/auroraextensions/googlecloudphpautoloader.git
composer install --no-dev --working-dir=./.modman/googlecloudphpautoloader

Usage

To use Google Cloud PHP classes in your module, add <NickolasBurr_GoogleCloud> as a dependency:

<config>
  <modules>
    <Vendor_Package>
      <active>true</active>
      <codePool>community</codePool>
      <depends>
        <NickolasBurr_GoogleCloud/>
      </depends>
    </Vendor_Package>
  </modules>
</config>