-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #131 from 4cyberlord/main
Added Laravel Workflows
- Loading branch information
Showing
18 changed files
with
235 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: Generate Laravel application key | ||
command: |- | ||
php artisan key:generate | ||
tags: | ||
- laravel | ||
- php | ||
description: Set laravel application key | ||
source_url: "https://artisan.page/#keygenerate" | ||
author: Charles Adu Boakye | ||
author_url: "https://github.com/4cyberlord" | ||
shells: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: Generate Laravel cache table | ||
command: |- | ||
php artisan cache:table | ||
tags: | ||
- laravel | ||
- php | ||
description: Create a migration for the cache database table | ||
source_url: "https://artisan.page/#cachetable" | ||
author: Charles Adu Boakye | ||
author_url: "https://github.com/4cyberlord" | ||
shells: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: Create Laravel config cache file | ||
command: |- | ||
php artisan config:clear | ||
tags: | ||
- laravel | ||
- php | ||
description: Create a cache file for faster configuration loading | ||
source_url: "https://artisan.page/#configclear" | ||
author: Charles Adu Boakye | ||
author_url: "https://github.com/4cyberlord" | ||
shells: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: Clear Laravel configuration | ||
command: |- | ||
php artisan config:clear | ||
tags: | ||
- laravel | ||
- php | ||
description: Remove the configuration cache file | ||
source_url: "https://artisan.page/#configclear" | ||
author: Charles Adu Boakye | ||
author_url: "https://github.com/4cyberlord" | ||
shells: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
name: Encrypt Laravel environment file with custom encryption key | ||
command: |- | ||
php artisan env:encrypt --key={{custom_key}} | ||
tags: | ||
- laravel | ||
- php | ||
description: command to encrypt your Laravel environment file with custom encryption key | ||
arguments: | ||
- name: custom_key | ||
description: Specify custom encryption key for Laravel environment file. | ||
default_value: ~ | ||
source_url: "https://laravel.com/docs/9.x/configuration#encrypting-environment-files" | ||
author: Charles Adu Boakye | ||
author_url: "https://github.com/4cyberlord" | ||
shells: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: Decrypt Laravel environment file | ||
command: |- | ||
php artisan env:decrypt | ||
tags: | ||
- laravel | ||
- php | ||
description: Command to decrypt Laravel environment file | ||
source_url: "https://laravel.com/docs/9.x/configuration#decryption" | ||
author: Charles Adu Boakye | ||
author_url: "https://github.com/4cyberlord" | ||
shells: [] |
16 changes: 16 additions & 0 deletions
16
specs/laravel/laravel_decrypt_environment_file_with_key.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
name: Decrypt Laravel environment file with key | ||
command: |- | ||
php artisan env:decrypt --key={{decrypt_key}} | ||
tags: | ||
- laravel | ||
- php | ||
description: Command to decrypt Laravel environment file | ||
arguments: | ||
- name: decrypt_key | ||
description: Provide your laravel decrypt key to decrypt the environment file | ||
default_value: ~ | ||
source_url: "https://laravel.com/docs/9.x/configuration#decryption" | ||
author: Charles Adu Boakye | ||
author_url: "https://github.com/4cyberlord" | ||
shells: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: Encrypt Laravel environment file | ||
command: |- | ||
php artisan env:encrypt | ||
tags: | ||
- laravel | ||
- php | ||
description: command to encrypt Laravel environment file | ||
source_url: "https://laravel.com/docs/9.x/configuration#encrypting-environment-files" | ||
author: Charles Adu Boakye | ||
author_url: "https://github.com/4cyberlord" | ||
shells: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: Discover and cache all Laravel application events and listeners | ||
command: |- | ||
php artisan event:cache | ||
tags: | ||
- laravel | ||
- php | ||
description: Discover and cache the application's events and listeners | ||
source_url: "https://artisan.page/#eventcache" | ||
author: Charles Adu Boakye | ||
author_url: "https://github.com/4cyberlord" | ||
shells: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: Clear Laravel events and listeners | ||
command: |- | ||
php artisan event:clear | ||
tags: | ||
- laravel | ||
- php | ||
description: Clear all cached events and listeners | ||
source_url: "https://artisan.page/#eventclear" | ||
author: Charles Adu Boakye | ||
author_url: "https://github.com/4cyberlord" | ||
shells: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: Generate missing Laravel events and listeners | ||
command: |- | ||
php artisan event:generate | ||
tags: | ||
- laravel | ||
- php | ||
description: Generate the missing events and listeners based on registration | ||
source_url: "https://artisan.page/#eventgenerate" | ||
author: Charles Adu Boakye | ||
author_url: "https://github.com/4cyberlord" | ||
shells: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: List all Laravel application's events listeners | ||
command: |- | ||
php artisan event:list | ||
tags: | ||
- laravel | ||
- php | ||
description: List the application's events and listeners | ||
source_url: "https://artisan.page/#eventlist" | ||
author: Charles Adu Boakye | ||
author_url: "https://github.com/4cyberlord" | ||
shells: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
name: Enable Laravel maintenance mode | ||
command: |- | ||
php artisan down | ||
tags: | ||
- Laravel | ||
- Php | ||
description: This command enables maintenance mode in your laravel application | ||
arguments: [] | ||
source_url: "https://laravel.com/docs/9.x/configuration#pre-rendering-the-maintenance-mode-view" | ||
author: Charles Adu Boakye | ||
author_url: "https://github.com/4cyberlord" | ||
shells: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
name: Bypass Laravel maintenance mode | ||
command: |- | ||
php artisan down --secret="{{bypass_secret_key}}" | ||
tags: | ||
- laravel | ||
- php | ||
description: This command helps you bypass laravel maintenance mode by setting the secret key. | ||
arguments: [] | ||
source_url: "https://laravel.com/docs/9.x/configuration#pre-rendering-the-maintenance-mode-view" | ||
author: Charles Adu Boakye | ||
author_url: "https://github.com/4cyberlord" | ||
shells: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: Laravel maintenance mode disabled | ||
command: |- | ||
php artisan up | ||
tags: | ||
- laravel | ||
- php | ||
description: Disable laravel maintenance mode | ||
source_url: "https://laravel.com/docs/9.x/configuration#pre-rendering-the-maintenance-mode-view" | ||
author: Charles Adu Boakye | ||
author_url: "https://github.com/4cyberlord" | ||
shells: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
name: Redirect Laravel maintenance mode | ||
command: |- | ||
php artisan down --redirect={{URI}} | ||
tags: | ||
- laravel | ||
- php | ||
description: This command helps you redirect laravel maintenance mode by setting the secret key. | ||
arguments: | ||
- name: URI | ||
description: Specify the URI to redirect laravel maintenance mode | ||
default_value: / | ||
source_url: "https://laravel.com/docs/9.x/configuration#pre-rendering-the-maintenance-mode-view" | ||
author: Charles Adu Boakye | ||
author_url: "https://github.com/4cyberlord" | ||
shells: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
name: Automatically refresh Laravel maintenance mode | ||
command: |- | ||
php artisan down --refresh={{refresh_duration}} | ||
tags: | ||
- laravel | ||
- php | ||
description: Refresh Laravel maintenance mode automatically after the specified number of seconds is due. | ||
arguments: | ||
- name: refresh_duration | ||
description: Specify the number of seconds the page should be refreshed. | ||
default_value: ~ | ||
source_url: "https://laravel.com/docs/5.4/installation" | ||
author: Charles Adu Boakye | ||
author_url: "https://www.linkedin.com/in/charles-adu-boakye/" | ||
shells: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
name: Optimize Laravel Framework | ||
command: |- | ||
php artisan optimize | ||
tags: | ||
- php | ||
- laravel | ||
description: Cache the framework bootstrap files | ||
arguments: [] | ||
source_url: "https://artisan.page/#optimize" | ||
author: Charles Adu Boakye | ||
author_url: "https://github.com/4cyberlord" | ||
shells: [] |