https://github.com/builtmighty/builtmighty-kit
https://github.com/builtmighty/builtmighty-kit
internal-development
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/builtmighty/builtmighty-kit
- Owner: builtmighty
- Created: 2023-10-03T02:00:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-02-06T23:43:11.000Z (5 months ago)
- Last Synced: 2026-02-07T10:33:50.706Z (5 months ago)
- Topics: internal-development
- Language: PHP
- Size: 13.6 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
🚀 Built Mighty Kit
## About
This plugin is the all-around kit for Built Mighty client sites. From defining a new login endpoint for security, to protecting wp-login from bot attacks, adding two-factor authentication for admins, and disabling email sending on development sites, this plugin should provide you with the tools for a happy, healthy environment. If you have additional tools you'd like to see added, please either open an issue or contact one of the lead devs by tagging '@lead-dev-team' on Slack.
## Tools/Features
#### Security
* **Two-Factor Authentication** — *(optional)* Adds Two-Factor Authentication for `administrators` when enabled, but can be applied to other user roles. Uses email authentication by default, but also provides app-based authentication options.
* **Site Access** — *(optional)* Blocks access to the site when not logged in as an administrator, by redirecting non-logged in users to builtmighty.com.
* **Login URL** — *(optional)* Creates a custom login URL, while making the default WordPress login inaccessible. Trying to access the default login will redirect you to the homepage.
* **WordPress Version** — Removes the WordPress version from the head to better obfuscate from attackers.
* **User Enumeration** — Blocks WordPress user enumeration via the WordPress API.
* **Theme/Plugin Editor** — *(optional)* Disables the theme and plugin editors on the backend of WordPress.
#### Development Environments
* **WP Mail** — *(optional)* Blocks outgoing emails by setting the "to" email address as `developers@builtmighty.com`. Enabled by default on development and staging environments.
* **External Requests** — *(optional)* Blocks external API requests, but with the feature to allow connections to specific domains. Enabled by default on development and staging environments, but with default access to: `api.wordpress.org`, `downloads.wordpress.org`, `github.com`, `github.dev`, `github.io`, `githubusercontent.com`, `slack.com`, and `builtmighty.com`.
* **Action Scheduler** — *(optional)* Disables the Action Scheduler from running. Enabled by default on development and staging environments.
#### Misc.
* **Slack Connection** — *(optional)* Adds a Slack integration that allows both clients to contact us via their Slack channel and allows us to create WordPress settings notifications.
* **Plugin/Theme Updates** — Adds a warning message about updating themes and plugins on production sites.
* **Plugin/Theme Installs** — Adds a warning message about installing themes and plugins on production sites.
* **WordPress Heartbeat** — Adjusts WordPress' heartbeat settings for more efficiency.
* **Post Revisions** — Adjusts the number of saved post revisions for more efficiency and less bloat.
* **Dashboard Widgets** — Removes junk dashboard widgets, which slow the backend of WordPress.
* **Action Scheduler** — Adjusts the Action Scheduler log retention period to five (5) days, for less bloat.
* **Development Footer** — Adds `🔨 Proudly developed by Built Mighty` to the wp-admin footer.
* **Developer Widget** — Adds a Built Mighty developer dashboard widget, with: PHP version, MySQL version, WordPress version, WooCommerce version (if installed), enabled services, and the current Git branch.
* **Client Widget** — Adds a client dashboard widget with welcome information, as well as a Slack message form.
## Installation on All Sites
It is highly recommended that, no matter the site, the `WP_ENVIRONMENT_TYPE` variable should be set within `wp-config.php`. The plugin will automatically detect a development site via the URL, but sites can also be placed into development mode using the environment variable. Set the variable to: `local`, `development`, or `staging`, to set the plugin in development mode. Set the environment variable to `production` to set the plugin to production mode.
## Settings
To edit the settings of the plugin, once logged in, go to `/wp-admin/admin.php?page=builtmighty`.
## 4.4.0
* ✨ Added updated kit mode detection.
* ✨ Added updated kit mode fields.
* ✨ Added production URL kit field for kit mode detection.
* 🐛 Fixed bug with blocking of Action Scheduler.
## 4.3.0
* ✨ Added plugin stale/outdated/recent detection based on last update, tested up to WooCommerce version, PHP version, and WordPress version.
## 4.2.0
* ✨ Added light/dark mode for admin panel.
## 4.1.0
* ✨ Added active site monitoring.
## 4.0.4
* 🐛 Authentication method login update.
## 4.0.3
* 🐛 Widget styling tweak.
## 4.0.2
* 🐛 Fixing logic around external API requests.
* 🐛 Fixing logic around login security.
## 4.0.0
* ✨ Restructured plugin files and methods.
* ✨ Updated admin UI and centralized settings.
* ✨ Updated dashboard widget information and output.
* ✨ Added Email Two-Factor Authentication as default.
* 🐛 Fixed login errors.
## 3.0.5
* 🔖 Bump Version of Plugin
## 3.0.4
* 🐛 Add Guard Clauses to Lock Down Logging functions
## 3.0.3
* 🐛 Disable data generation entirely.
## 3.0.2
* 🐛 Disabled Pagespeed scores because of long API loading times
## 3.0.1
* 🐛 Bug fix with error log in 2FA
## 3.0.0
* ✨ Add Slack Integration + Notifications
* ✨ Add Data API Creation
* ✨ Add 2FA for All User Roles
## 2.1.0
* ✨ Add query parameter bypass when access block is place.
* 🐛 Bug fix fatal error with failed login log when using incorrect password.
* 🐛 Bug fix custom login endpoint broken when using standard permalinks.
## 2.0.2
* 🐛 Bug fix for ActionScheduler error
* 🐛 Bug fix for environment type form always displaying
* 🐛 Bug fix for environment type logic being set
## 2.0.0
* ✨ Added 2FA for admins.
* ✨ Added 2FA for sensitive settings.
* ✨ Added dynamic settings for 2FA sensitive settings.
* ✨ Added logging for failed admin logins.
* ✨ Added logging for failed 2FA logins.
* ✨ Added IP approval system for admin access.
* ✨ Added disabling of theme/plugin editing on all sites.
* ✨ Added WP CLI commands for security features: 2FA setup, 2FA reset, IP approval and IP removal.
* ✨ Added WP CLI commands for core features: disabling exernal API requests, disabling indexing, disabling plugins, updating emails, resetting emails, cleaning customer data, and removing order data.
* ⚡️ Updated namespacing to make more sense.
* ⚡️ Updated update/install plugin/theme wording.
* ♻️ Refactored class layouts to make more sense.
* ♻️ Refactored all assets to make more sense.
* ♻️ Refactored methods for updating wp-config variables.
* 🐛 Fixed update/install themes/plugins message so that it only displays on production sites.
* 🐛 Fixed loading custom login page with query parameters, so that it not longer 404s.
* 🐛 Fixed loading custom login page while logged in, so it now redirects to homepage.
* 🐛 Fixed wp-config updates on setup not being added, so that they are now added.
## 1.7.1
* 🐛 Bugfix for setup class on activation.
## 1.7.0
* ✨ Added support for Codespaces.
* 🐛 Fixed some small bugs.
## 1.6.0
* ✨ Adds plugin/theme update warnings for production sites.
## 1.5.0
* ✨ Feature - Add WP_ENVIRONMENT_TYPE logic.
## 1.4.0
* 🐛 Bugfix - Password protected page redirect.
## 1.3.0
* ✨ Add dev site checklist
* 🐛 Bugfix Jira projects/users loading
## 1.2.0
* ✨ Added an admin panel for Jira settings.
* ✨ Added a dashboard widget for Built Mighty developers.
* ✨ Added a dashboard widget for Built Mighty clients.
* ✨ Added a setup class for development environments.
* ✨ Added a speed class for production sites.
* ✨ Added a security class for production sites.
## 1.1.0
* ✨ Added email disabling functions.
* ✨ Added Action Scheduler disabling functions.
* ⚡️ Updated method for access restrictions/access.
* ⚡️ Updated documentation.
* ♻️ Refactored plugin structure.