Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 

Google Cloud PHP Autoloader

Autoload Google Cloud PHP classes for use with Magento 1.9.

Table of Contents

Google Cloud Storage

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

diff --git a/composer.json b/composer.json
index 8bf5c11..369087d 100644
--- a/composer.json
+++ b/composer.json
@@ -17,14 +17,16 @@
   "require": {
     "php": ">=5.5",
     "mnsami/composer-custom-directory-installer": "1.1.*",
-    "google/cloud-core": "~1.23"
+    "google/cloud-core": "~1.23",
+    "google/cloud-storage": "~1.9"
   },
   "config": {
     "vendor-dir": "./lib/GoogleCloud/"
   },
   "extra": {
     "installer-paths": {
-      "./lib/GoogleCloud/core": ["google/cloud-core"]
+      "./lib/GoogleCloud/core": ["google/cloud-core"],
+      "./lib/GoogleCloud/storage": ["google/cloud-storage"]
     }
   }
 }

Requirements

Installation

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

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>

About

Google Cloud PHP autoloader for Magento 1.9.

Topics

Resources

License

Packages

No packages published

Languages