Skip to content

Commit f3b78d2

Browse files
committed
Custom encrypt laravel environment file
1 parent 60ba319 commit f3b78d2

5 files changed

Lines changed: 21 additions & 8 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Encrypt Laravel environment file with custom encryption key
3+
command: |-
4+
php artisan env:encrypt --key={{custom_key}}
5+
tags:
6+
- laravel
7+
- php
8+
description: command to encrypt your Laravel environment file with custom encryption key
9+
arguments:
10+
- name: custom_key
11+
description: Specify custom encryption key for Laravel environment file.
12+
default_value: ~
13+
source_url: "https://laravel.com/docs/9.x/configuration#encrypting-environment-files"
14+
author: Charles Adu Boakye
15+
author_url: "https://github.com/4cyberlord"
16+
shells: []

specs/laravel/laravel_encrypt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ tags:
66
- laravel
77
- php
88
description: command to encrypt Laravel environment file
9-
source_url: "https://laravel.com/docs/9.x/configuration#pre-rendering-the-maintenance-mode-view"
9+
source_url: "https://laravel.com/docs/9.x/configuration#encrypting-environment-files"
1010
author: Charles Adu Boakye
1111
author_url: "https://github.com/4cyberlord"
1212
shells: []

specs/laravel/laravel_maintenance_mode_bypass.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ tags:
66
- laravel
77
- php
88
description: This command helps you bypass laravel maintenance mode by setting the secret key.
9-
arguments:
10-
- name: bypass_secret_key
11-
description: Enter your laravel application key to bypass maintenance mode.
12-
default_value: ~
9+
arguments: []
1310
source_url: "https://laravel.com/docs/9.x/configuration#pre-rendering-the-maintenance-mode-view"
1411
author: Charles Adu Boakye
1512
author_url: "https://github.com/4cyberlord"

specs/laravel/laravel_maintenance_refresh.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ arguments:
1010
- name: refresh_duration
1111
description: Specify the number of seconds the page should be refreshed.
1212
default_value: ~
13-
source_url: "https://laravel.com/docs/9.x/configuration#pre-rendering-the-maintenance-mode-view"
13+
source_url: "https://laravel.com/docs/5.4/installation"
1414
author: Charles Adu Boakye
15-
author_url: "https://github.com/4cyberlord"
15+
author_url: "https://www.linkedin.com/in/charles-adu-boakye/"
1616
shells: []

specs/laravel/laravel_optimize.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ arguments: []
1010
source_url: "https://artisan.page/#optimize"
1111
author: Charles Adu Boakye
1212
author_url: "https://github.com/4cyberlord"
13-
shells: []
13+
shells: []

0 commit comments

Comments
 (0)