Skip to content

JHWelch/encrypted-env-viewer

Repository files navigation

Encrypted Env Viewer for Laravel

Chrome Web Store Firefox add-ons

View Laravel Encrypted .env files directly in GitHub pull requests.

Example Screenshot

Manually Build for Release

Both build commands will generate production ready code in the dist folder and generate a release.zip file in the root of the project for upload.

Chrome

npm run build

Firefox

npm run build:firefox

Local Development (Chrome)

Code Setup

npm install
npm run start

This will watch for file changes and rebuild the extension.

Browser Setup

  1. Open about://extensions in Chromium based browser.
  2. Check the Developer mode checkbox in the upper right.
  3. Click on the Load unpacked extension button.
  4. Select the dist folder.

You will need to press the "Update" button on the extension when you make changes to the code. Or you can use the Extension Reloader extension to make this easier.

Local Development (Firefox)

Code Setup

npm install
npm run start:firefox

This will watch for file changes and rebuild the extension.

Browser Setup

  1. Open about:debugging#/runtime/this-firefox in Firefox.
  2. Click on the Load Temporary Add-on... button.
  3. Select the dist folder.
  4. Select the manifest.json file.

You will need to press the "Reload" button on the extension when you make changes to the code.

Other Available Commands

Commands Description
npm run clean remove temporary files
npm run test run unit tests
npm run test:watch run unit tests in watch mode
npm run lint lint source code
npm run fix fix lint errors

Thanks

This extension was created with Extension CLI