Skip to content

Commit

Permalink
Merge pull request #131 from 4cyberlord/main
Browse files Browse the repository at this point in the history
Added Laravel Workflows
  • Loading branch information
alokedesai authored Jan 19, 2023
2 parents f0853cf + 5cc8648 commit b412ed4
Show file tree
Hide file tree
Showing 18 changed files with 235 additions and 0 deletions.
12 changes: 12 additions & 0 deletions specs/laravel/laravel_application_key_generate.yml
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: []
12 changes: 12 additions & 0 deletions specs/laravel/laravel_cache_table.yml
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: []
12 changes: 12 additions & 0 deletions specs/laravel/laravel_config_cache.yml
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: []
12 changes: 12 additions & 0 deletions specs/laravel/laravel_config_clear.yml
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: []
16 changes: 16 additions & 0 deletions specs/laravel/laravel_custom_encrypt_key.yml
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: []
12 changes: 12 additions & 0 deletions specs/laravel/laravel_decrypt_environment_file.yml
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 specs/laravel/laravel_decrypt_environment_file_with_key.yml
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: []
12 changes: 12 additions & 0 deletions specs/laravel/laravel_encrypt.yml
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: []
12 changes: 12 additions & 0 deletions specs/laravel/laravel_event_cache.yml
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: []
12 changes: 12 additions & 0 deletions specs/laravel/laravel_event_clear.yml
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: []
12 changes: 12 additions & 0 deletions specs/laravel/laravel_event_generate.yml
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: []
12 changes: 12 additions & 0 deletions specs/laravel/laravel_events_list.yml
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: []
13 changes: 13 additions & 0 deletions specs/laravel/laravel_maintenance_down.yml
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: []
13 changes: 13 additions & 0 deletions specs/laravel/laravel_maintenance_mode_bypass.yml
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: []
12 changes: 12 additions & 0 deletions specs/laravel/laravel_maintenance_mode_disabled.yml
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: []
16 changes: 16 additions & 0 deletions specs/laravel/laravel_maintenance_mode_redirect.yml
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: []
16 changes: 16 additions & 0 deletions specs/laravel/laravel_maintenance_refresh.yml
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: []
13 changes: 13 additions & 0 deletions specs/laravel/laravel_optimize.yml
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: []

0 comments on commit b412ed4

Please sign in to comment.