Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Commit 5b347e6

Browse files
committed
Merge branch 'master' of github.com:beyondcode/laravel-credentials
2 parents 88f5925 + eff768d commit 5b347e6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# A .env replacement for storing secret credentials in your Laravel application
1+
# Add encrypted credentials to your Laravel production environment
22

33
[![Latest Version on Packagist](https://img.shields.io/packagist/v/beyondcode/laravel-credentials.svg?style=flat-square)](https://packagist.org/packages/beyondcode/laravel-credentials)
44
[![Build Status](https://img.shields.io/travis/beyondcode/laravel-credentials/master.svg?style=flat-square)](https://travis-ci.org/beyondcode/laravel-credentials)
55
[![Quality Score](https://img.shields.io/scrutinizer/g/beyondcode/laravel-credentials.svg?style=flat-square)](https://scrutinizer-ci.com/g/beyondcode/laravel-credentials)
66
[![Total Downloads](https://img.shields.io/packagist/dt/beyondcode/laravel-credentials.svg?style=flat-square)](https://packagist.org/packages/beyondcode/laravel-credentials)
77

88
The `beyondcode/laravel-credentials` package allows you to store all your secret credentials in an encrypted file and put that file into version control instead of
9-
having to add multiple credentials into your `.env` file.
9+
having to add multiple credentials into your `.env` file in your production environment.
1010

1111
There are a couple of benefits of using encrypted credentials instead of environment keys:
1212

@@ -15,10 +15,10 @@ There are a couple of benefits of using encrypted credentials instead of environ
1515
* You can deploy credentials together with your code.
1616
* All secrets are in one location. Instead of managing multiple environment variables, everything is in one file.
1717

18-
Here's how you can access your stored credentials:
18+
Here's how you can access your stored credentials. In this example we're retrieving the decrypted credential for the key `api-password`:
1919

2020
```php
21-
$secret = credentials('my-secret-credentials');
21+
$credential = credentials('api-password');
2222
```
2323

2424
With the built-in edit command, you can easily edit your existing credentials. They will be automatically encrypted after saving your changes.
@@ -76,7 +76,7 @@ composer test
7676

7777
### Changelog
7878

79-
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
79+
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
8080

8181
## Contributing
8282

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"require": {
1919
"php": "^7.1",
20-
"illuminate/encryption": "~5.6"
20+
"illuminate/encryption": "5.6.*"
2121
},
2222
"require-dev": {
2323
"phpunit/phpunit": "^7.0",

0 commit comments

Comments
 (0)