softspring/gcloud-integration-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

This bundle allows to integrate Symfony projects with Gcloud

Maintainers

👁 softspring

Package info

github.com/softspring/gcloud-integration-bundle

Type:symfony-bundle

pkg:composer/softspring/gcloud-integration-bundle

Statistics

Installs: 2 579

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v0.1.7 2018-10-21 08:31 UTC

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT b60c8b894d49ea5af24a777089e2d7db7c62982b

This package is auto-updated.

Last update: 2019-09-11 11:17:25 UTC


README

This bundle allows to integrate Symfony projects with Google Cloud Platform.

Warning!! This bundle is under development. Use it carefully.

Error reporting

sfs_gcloud_integration:
 error_reporting: true

if ($env == 'prod') {
 Bootstrap::init();
}

References

https://cloud.google.com/error-reporting/docs/setup/php

Logging

Basic configuration

sfs_gcloud_integration:
 logging: ~
 
monolog:
 handlers:
 custom:
 type: service
 id: sfs_gcloud_integration.monolog.handler

Configuration reference

# Default configuration for "SfsGcloudIntegrationBundle"
sfs_gcloud_integration:
 logging:
 enabled: false
 level: debug
 bubble: true
 logger:
 # The name of the log to write entries to.
 name: global
 # The monitored resource to associate log entries with. https://cloud.google.com/logging/docs/api/reference/rest/v2/MonitoredResource
 resource: []
 # A set of user-defined (key, value) data that provides additional information about the log entry.
 labels: []

References

https://github.com/googlecloudplatform/google-cloud-php#google-stackdriver-logging-ga
https://googlecloudplatform.github.io/google-cloud-php/#/docs/cloud-logging/v1.8.3/logging/loggingclient
http://googlecloudplatform.github.io/google-cloud-php/#/docs/google-cloud/v0.51.0/logging/loggingclient