Skip to content

Shell Plugin for Laravel Forge CLI - #244

Merged
SimonBarendse merged 1 commit into
1Password:mainfrom
andresayej:feature/laravel-forge-plugin
Apr 18, 2023
Merged

SimonBarendse merged 1 commit into
1Password:mainfrom
andresayej:feature/laravel-forge-plugin

Conversation

@andresayej

@andresayej andresayej commented Apr 13, 2023 •

Copy link
Copy Markdown
Contributor

Shell Plugin for the Laravel Forge CLI

The Laravel Forge CLI is the official command line tool for the Laravel Forge Service offered by Laravel LLC the company behind the popular open source PHP framework: Laravel

The authentication mechanism is made via the API Token: FORGE_API_TOKEN based on the source code of the Forge CLI located here: https://github.com/laravel/forge-cli
This plugin also offers an importer for scanning the user's environment and file system for the needed credentials in the default config location allowing existing Forge CLI users to import their current token into 1Password.

Here are some screenshots with the following commands that need authentication:

forge site:list
forge server:list
Screenshots

CleanShot 2023-04-13 at 23 50 07@2x
CleanShot 2023-04-13 at 23 50 32@2x
CleanShot 2023-04-13 at 23 50 56@2x
CleanShot 2023-04-14 at 00 50 18@2x
CleanShot 2023-04-13 at 23 46 34@2x

As stated in the Build your own shell plugins (beta) guide the plugin was validated and built with the appropriate commands. A passing test is provided which tests both the provisioner and the importer.

CC:
@driesvints (Laravel Core team member) as a 1Password user, you might be interested in this 😎

@andresayej
andresayej force-pushed the feature/laravel-forge-plugin branch from 39ea52d to 4d48951 Compare April 13, 2023 22:09
@driesvints

Copy link
Copy Markdown

@andresayej sweet! Paging in my colleagues @timacdonald & @jbrooksuk

Comment thread plugins/laravelforge/forge.go Resolved

@hculea hculea left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! I've left a remark.

@andresayej

Copy link
Copy Markdown
Contributor Author

Thank you for your contribution! I've left a remark.

Answered, thanks for taking the time to review the PR

@jbrooksuk

Copy link
Copy Markdown

This is very cool! I can see me using this myself.

@hculea

hculea commented Apr 14, 2023

Copy link
Copy Markdown
Member

Thank you for clarifying! This is an awesome contribution! ❤️

@andresayej

andresayej commented Apr 17, 2023 •

Copy link
Copy Markdown
Contributor Author

Hi! I'm writing the documentation for the Laravel Forge and Vapor CLI plugins and I've been struggling to find high resolution versions of their logos to add to our plugin library page. Could any of you provide me with a file to use here? Thanks so much!

Hi @libutcher,

Would these logos work for you?:

Laravel Forge:
https://forge.laravel.com/docs/assets/img/logo.svg

Click here to expand

forge-logo

Laravel Vapor:

Click here to expand, it's a big one :D

laravel-vapor-seeklogo com

@libutcher

Copy link
Copy Markdown
Contributor

Perfect, thanks so much!

@SimonBarendse SimonBarendse left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent. Welcome to the ecosystem Laravel! ❤️

@SimonBarendse
SimonBarendse merged commit 65ba5f7 into 1Password:main Apr 18, 2023
@andresayej
andresayej deleted the feature/laravel-forge-plugin branch April 18, 2023 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

6 participants