Download the PHP package websight/l5-google-cloud-storage without Composer

On this page you can find all versions of the php package websight/l5-google-cloud-storage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package l5-google-cloud-storage

Google Cloud Storage ServiceProvider for Laravel 5 Apps

Latest Stable Version Total Downloads Latest Unstable Version License

Wraps cedricziel/flysystem-gcs in a Laravel 5.x compatible Service Provider.

Note: This project doesn't support the deprecated p12 credentials format anymore. If you rely on it, please use the 1.x versions.

Configuration

Dedicated credentials: Obtain json service account credentials of a dedicated CloudPlatform Service Account

or

Local authentication through gcloud: Log in locally on your machine through the gcloud command-line utility.

Authentication and the different configuration options

Google Cloud Platform uses json credential files. For the use-case of this library, there are two different types that can easily confuse you.

  1. credentials type user This is the type of credentials that identifies you as a user entity, most likely when authenticated through the gcloud utility. Since this type of credentials identifies users and users can belong to more than one project, you need to specify the project_id config option. The keys should automatically be detected through their well-known location.
  2. credentials type service_account Service Account credentials are for authorizing machines and / or individual services to Google Cloud Platform. AppEngine instances and GCE machines already have a service account pre-installed so you don't need to configure neither project_id not credentials, since service accounts carry the information to which project they belong.

When do I need to configure which option?

Location project_id credentials bucket
AppEngine (Standard & Flex) detected automatically detected automatically needs to be set
Deployment to non-GCP machine needs to be set needs to be set needs to be set
Local development with user credentials needs to be set detected automatically needs to be set
Local development with service account detected automatically needs to be set needs to be set

Usage

Use it like any other Flysystem Adapter with the Storage-Facade.

License

MIT


All versions of l5-google-cloud-storage with dependencies

PHP Build Version
Package Version
Requires illuminate/filesystem Version ~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*
illuminate/support Version ~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*
cedricziel/flysystem-gcs Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package websight/l5-google-cloud-storage contains the following files

Loading the files please wait ....