# WordPress Salts
[![The MIT License](https://flat.badgen.net/badge/license/MIT/blue)](https://opensource.org/licenses/MIT)
[![GitHub](https://flat.badgen.net/github/release/idleberg/sublime-wordpress-salts)](https://github.com/idleberg/sublime-wordpress-salts/releases)
[![CircleCI](https://flat.badgen.net/circleci/github/idleberg/sublime-wordpress-salts)](https://circleci.com/gh/idleberg/sublime-wordpress-salts)
Context-aware WordPress salt key generation for PHP, YAML, DotEnv and JSON files without the need of an internet-connection
## Installation
### Package Control
1. Make sure you have [Package Control](https://packagecontrol.io/) installed
2. Choose *“Install Package”* from the Command Palette (Super+Shift+P)
3. Type *“WordPress Salts”* and press Enter
With the [`auto_upgrade`](https://packagecontrol.io/docs/settings#setting-auto_upgrade) setting enabled, Package Control will keep all installed packages up-to-date!
### Using Git
1. Change to your Sublime Text `Packages` directory
2. Clone repository `git clone https://github.com/idleberg/sublime-wordpress-salts.git WordPress Salts`
## Usage
This package exposes the *WordPress Salts: Insert* command in your [Command Palette](http://docs.sublimetext.info/en/latest/reference/command_palette.html), but can also be triggered using shortcuts.
Command | Operating System | Shortcut
------------------------|------------------|-----------------------------------------------------------------------------------------
WordPress Salts: Insert | Linux, Windows | Ctrl+Alt+W, Ctrl+Alt+P
WordPress Salts: Insert | macOS | Ctrl+W, Ctrl+P
Also take note of the available package settings to tweak the default behaviour.
## Related
- [atom-wordpress-salts](https://atom.io/packages/wordpress-salts)
- [vscode-wordpress-salts](https://marketplace.visualstudio.com/items?itemName=idleberg.wordpress-salts)
- [wp-salts-cli](https://www.npmjs.com/package/wp-salts-cli)
## License
This work is licensed under the [The MIT License](LICENSE)