PHPackages                             etracksystems/laravel-docker-secrets - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. etracksystems/laravel-docker-secrets

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

etracksystems/laravel-docker-secrets
====================================

Use Docker Swarm Secrets in your Laravel config files

v4.0(12mo ago)01.2k↑171.4%MITPHP

Since Jul 8Pushed 12mo agoCompare

[ Source](https://github.com/etracksystems/laravel-docker-secrets)[ Packagist](https://packagist.org/packages/etracksystems/laravel-docker-secrets)[ Docs](https://github.com/etracksystems/laravel-docker-secrets)[ RSS](/packages/etracksystems-laravel-docker-secrets/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

Laravel Docker Secrets
======================

[](#laravel-docker-secrets)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5f313c8ed6b031484f87ccf161b078e032ce98f8a099d207cd87aa76715f4eaf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f72626f736d616e2f6c61726176656c2d646f636b65722d736563726574732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/corbosman/laravel-docker-secrets)[![Total Downloads](https://camo.githubusercontent.com/5901a80ef7406be9f6118d3f16955ffbab0d3fac22b2557b7a01370e9d2cd053/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f72626f736d616e2f6c61726176656c2d646f636b65722d736563726574732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/corbosman/laravel-docker-secrets)[![Build](https://github.com/corbosman/laravel-docker-secrets/workflows/build/badge.svg?branch=main)](https://github.com/corbosman/laravel-docker-secrets/workflows/build/badge.svg?branch=main)

This package, which was forked from `corbosman/laravel-docker-secrets`, allows you to use docker swarm secrets in your Laravel config files. Note there are some limitations, see the usage below.

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

[](#installation)

Via Composer

```
$ composer require etracksystems/laravel-docker-secrets
```

Usage
-----

[](#usage)

This package provides two helper methods that you can use in your laravel config files. Due to the way Laravel parses the config files, you can only use them in the env() method. In practice this is almost always exactly what you want, as it allows you to override the secrets locally for development.

```
