Skip to content

Commit b412ed4

Browse files
authored
Merge pull request #131 from 4cyberlord/main
Added Laravel Workflows
2 parents f0853cf + 5cc8648 commit b412ed4

18 files changed

Lines changed: 235 additions & 0 deletions
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: Generate Laravel application key
3+
command: |-
4+
php artisan key:generate
5+
tags:
6+
- laravel
7+
- php
8+
description: Set laravel application key
9+
source_url: "https://artisan.page/#keygenerate"
10+
author: Charles Adu Boakye
11+
author_url: "https://github.com/4cyberlord"
12+
shells: []
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: Generate Laravel cache table
3+
command: |-
4+
php artisan cache:table
5+
tags:
6+
- laravel
7+
- php
8+
description: Create a migration for the cache database table
9+
source_url: "https://artisan.page/#cachetable"
10+
author: Charles Adu Boakye
11+
author_url: "https://github.com/4cyberlord"
12+
shells: []
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: Create Laravel config cache file
3+
command: |-
4+
php artisan config:clear
5+
tags:
6+
- laravel
7+
- php
8+
description: Create a cache file for faster configuration loading
9+
source_url: "https://artisan.page/#configclear"
10+
author: Charles Adu Boakye
11+
author_url: "https://github.com/4cyberlord"
12+
shells: []
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: Clear Laravel configuration
3+
command: |-
4+
php artisan config:clear
5+
tags:
6+
- laravel
7+
- php
8+
description: Remove the configuration cache file
9+
source_url: "https://artisan.page/#configclear"
10+
author: Charles Adu Boakye
11+
author_url: "https://github.com/4cyberlord"
12+
shells: []
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: []
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: Decrypt Laravel environment file
3+
command: |-
4+
php artisan env:decrypt
5+
tags:
6+
- laravel
7+
- php
8+
description: Command to decrypt Laravel environment file
9+
source_url: "https://laravel.com/docs/9.x/configuration#decryption"
10+
author: Charles Adu Boakye
11+
author_url: "https://github.com/4cyberlord"
12+
shells: []
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Decrypt Laravel environment file with key
3+
command: |-
4+
php artisan env:decrypt --key={{decrypt_key}}
5+
tags:
6+
- laravel
7+
- php
8+
description: Command to decrypt Laravel environment file
9+
arguments:
10+
- name: decrypt_key
11+
description: Provide your laravel decrypt key to decrypt the environment file
12+
default_value: ~
13+
source_url: "https://laravel.com/docs/9.x/configuration#decryption"
14+
author: Charles Adu Boakye
15+
author_url: "https://github.com/4cyberlord"
16+
shells: []

specs/laravel/laravel_encrypt.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: Encrypt Laravel environment file
3+
command: |-
4+
php artisan env:encrypt
5+
tags:
6+
- laravel
7+
- php
8+
description: command to encrypt Laravel environment file
9+
source_url: "https://laravel.com/docs/9.x/configuration#encrypting-environment-files"
10+
author: Charles Adu Boakye
11+
author_url: "https://github.com/4cyberlord"
12+
shells: []
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: Discover and cache all Laravel application events and listeners
3+
command: |-
4+
php artisan event:cache
5+
tags:
6+
- laravel
7+
- php
8+
description: Discover and cache the application's events and listeners
9+
source_url: "https://artisan.page/#eventcache"
10+
author: Charles Adu Boakye
11+
author_url: "https://github.com/4cyberlord"
12+
shells: []
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: Clear Laravel events and listeners
3+
command: |-
4+
php artisan event:clear
5+
tags:
6+
- laravel
7+
- php
8+
description: Clear all cached events and listeners
9+
source_url: "https://artisan.page/#eventclear"
10+
author: Charles Adu Boakye
11+
author_url: "https://github.com/4cyberlord"
12+
shells: []

0 commit comments

Comments
 (0)