PHPackages                             tommerrett/laravel-gae-secret-manager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. tommerrett/laravel-gae-secret-manager

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tommerrett/laravel-gae-secret-manager
=====================================

Manage secrets when deploying Laravel to Google App Engine (Standard or Flexible). Store all secrets in Google Datastore

v0.2(5y ago)58.9k[1 issues](https://github.com/tommerrett/laravel-GAE-secret-manager/issues)MITPHPPHP &gt;=7.0.13

Since Sep 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tommerrett/laravel-GAE-secret-manager)[ Packagist](https://packagist.org/packages/tommerrett/laravel-gae-secret-manager)[ RSS](/packages/tommerrett-laravel-gae-secret-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Laravel Google App Engine (GAE) Datastore Secret Manager
========================================================

[](#laravel-google-app-engine-gae-datastore-secret-manager)

Manage secrets when deploying Laravel to Google App Engine (Standard or Flexible). Store all secrets in Google Datastore.

Installation
------------

[](#installation)

1. Require this package in the `composer.json` of your Laravel project. This will download the package.

```
composer require tommerrett/laravel-gae-secret-manager

```

The `Maatwebsite\Excel\ExcelServiceProvider` is auto-discovered and registered by default, but if you want to register it yourself:

Add the ServiceProvider in config/app.php

```
'providers' => [
    /*
     * Package Service Providers...
     */
    tommerrett\LaravelGAESecretManager\GAESecretsServiceProvider::class,
]

```

2. To publish the config, run the vendor publish command:

```
php artisan vendor:publish --provider="tommerrett\LaravelGAESecretManager\GAESecretsServiceProvider"

```

This will create a new config file named config/GAESecrets.php.

Here you can set the functionality of the package. You will need to define the ENV variables that you wish to store in datastore by setting the `variables` array.

Set which environment should use datastore to store the secrets by providing an array in `enabled-environments`.

Some env() variables are stored in the config and as such we need to define if config files also need updating with the datastore values, this is done by setting the `variables-config` array. For example if you store 'APP\_KEY' in datastore you will need to add the following to the `variables-config` option: `'APP_KEY' => 'app.key'`

Caching - Datastore requests can add an additional 100-250ms of latency to each request. It is reccomended to use caching to significantly reduce this latency. File based caching is enabled by default. Set the remaining config settings to customise the caching undertaken by the package.

Configuring Datastore
---------------------

[](#configuring-datastore)

You create a new entity in Google Datastore called `Parameters` (case sensitive). Follow the below instructions for how to do this:

1. Go to: `https://console.cloud.google.com/datastore/entities?project=`, if this is the first time using Datastore then you must select datastore mode (not firestore - as firestore is not supported).
2. Create a new `Entity` named `Parameters`
3. Add a new property `name` to the Entity (type: string) and enter your environment variable name
4. Add a new property `value` to the Entity (type: string) and enter the value
5. Save the Entity
6. Repeat to enter all of the environment variables you want to store in Datastore.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance25

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2065d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/50173333?v=4)[tommerrett](/maintainers/tommerrett)[@tommerrett](https://github.com/tommerrett)

---

Top Contributors

[![tommerrett](https://avatars.githubusercontent.com/u/50173333?v=4)](https://github.com/tommerrett "tommerrett (10 commits)")

---

Tags

laravellumenappenginesecretgae

### Embed Badge

![Health badge](/badges/tommerrett-laravel-gae-secret-manager/health.svg)

```
[![Health](https://phpackages.com/badges/tommerrett-laravel-gae-secret-manager/health.svg)](https://phpackages.com/packages/tommerrett-laravel-gae-secret-manager)
```

###  Alternatives

[laracrafts/laravel-url-shortener

Powerful URL shortening tools in Laravel

97110.7k](/packages/laracrafts-laravel-url-shortener)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[proai/lumen-annotations

Route and event binding annotations for Laravel Lumen

1012.4k](/packages/proai-lumen-annotations)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
