PHPackages                             boldgrid/library - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. boldgrid/library

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

boldgrid/library
================

The BoldGrid Library for shared code used in official BoldGrid plugins and themes.

2.13.15(1y ago)214.8k2[15 issues](https://github.com/BoldGrid/library/issues)[9 PRs](https://github.com/BoldGrid/library/pulls)3GPL-2.0-or-laterPHP

Since Jun 27Pushed 1y ago8 watchersCompare

[ Source](https://github.com/BoldGrid/library)[ Packagist](https://packagist.org/packages/boldgrid/library)[ RSS](/packages/boldgrid-library/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (98)Used By (3)

library
=======

[](#library)

The BoldGrid Library for shared code used in official BoldGrid plugins and themes.

Using composer, you can get started quickly:

```
composer require boldgrid/library
```

Changelog
---------

[](#changelog)

### 2.13.15

[](#21315)

Release Date: Mar 12, 2025

- Update: UI fixes to support new Direct Transfer feature in Total Upkeep.

### 2.13.14

[](#21314)

Release Date: May 13, 2024

- Update: Fix additional PHP 8.2 Deprecation notices.

### 2.13.13

[](#21313)

Release Date: Apr 19, 2024

- Bug Fix: Fixed issue with invalid application of the 'random\_password' filter [\#117](https://github.com/BoldGrid/library/issues/117)

### 2.13.12

[](#21312)

Release date: Feb 7th, 2024

- Bug Fix: Incorrect Usage of ABSPATH which breaks sites using custom WordPress install paths [\#114](https://github.com/BoldGrid/library/issues/114)

### 2.13.11

[](#21311)

Release date: May 23rd, 2023

- Update: Fix PHP 8.2 Deprecation notices.

### 2.13.10

[](#21310)

Release date: November 1st, 2022

- Update: Allow menus to be hidden.

### 2.13.9

[](#2139)

Release date: June 5th, 2022

- Bug Fix: Fix fatal error 'IMH\_Central class not found' occuring on some installs.

### 2.13.8

[](#2138)

Release date: June 26th, 2022

- Bug Fix: Allow premium license key on preview servers.

### 2.13.7

[](#2137)

Release date: May 25th, 2022

- Update: Add filters to premium urls.
- Update: Add fallback filters for IMH Central users when Boldgrid Connect plugin is inactive.

### 2.13.6

[](#2136)

Release date: March 15th, 2022

- Update: Allow configs to be updated via an option.
- Update: Misc updates to automated tests.
- Bug fix: Avoid issues on the ftp filesystem.

### 2.13.5

[](#2135)

Release date: September 8, 2021

- Bug Fix: Review prompt prevents admins from deleting other user accounts [\#192](https://github.com/BoldGrid/post-and-page-builder/issues/192)

### 2.13.4

[](#2134)

Release date: June 10th, 2021

- Bug Fix: Avoid PHP Error in Dashboard/SortWidgets.php by validating widget containers.

### 2.13.3

[](#2133)

Release date: October 13th, 2020

- Bug Fix: Avoid PHP Warning in Dashboard/SortWidgets.php by validating widgets.
- Bug Fix: Avoid PHP Warning in NewsWidget.php by validating posts.

### 2.13.2

[](#2132)

Release date: August 12th, 2020

- Update: Various changes for WordPress 5.5
- Bug Fix: Added transient validatiors.

### 2.13.1

[](#2131)

Release date: July 28th, 2020

- Bug Fix: php 7.4 compatibility issue in Dashboard News Widget.

### 2.13.0

[](#2130)

Release date: July 7th, 2020

- Bug Fix: Fixed css inconsistency between firefox and chrome
- Bug Fix: Fixed padding of links to match footer text.
- Update: Removed Auto Update functionality from library and moved to Total Upkeep plugin.
- New Feature: Added Plugin\\Factory Class allowing for Plugin\\Plugin objects to be generated via factory.
- New Feature: Added new methods to Plugin\\Plugins class.
- New Feature: Added new UnitTests.
- New Feature: Updated UI to use a fixed container layout.

### 2.12.3

[](#2123)

Release date: June 23rd, 2020

- Bug fix: Check for Card class before using card.

### 2.12.2

[](#2122)

Release date: May 29th, 2020

- Bug fix: Do not load libraries from deleted plugins.
- Update: Expanded Plugins class and added Themes class.

### 2.12.1

[](#2121)

Release date: February 7th, 2020

- Update: Display plugin notices via javascript.

### 2.12.0

[](#2120)

Release date: February 6th, 2020

- Update: Added plugin notifications.

### 2.11.1

[](#2111)

Release date: January 14th, 2019

- Update: Added spinner for the UI menu while the page loads.

### 2.11.0

[](#2110)

Release date: December 19th, 2019

- Update: Added Usage class.
- Update: Added methods to Plugin class for getting / testing version data via plugins\_checked.

### 2.10.7

[](#2107)

Release date: December 10th, 2019

- Update: Changed the recommended form plugin from WPForms to weForms.

### 2.10.6

[](#2106)

Release date: November 19, 2019

- Update: Renamed plugin from "BoldGrid Backup" to "Total Upkeep".

### 2.10.5

[](#2105)

Release date: November 11, 2019

- Bug fix: Misc style fixes for WordPress 5.3.

### 2.10.4

[](#2104)

Release date: October 11th, 2019

- Bug fix: Moved temporary pluggable function code to a new file to fix scope.

### 2.10.3

[](#2103)

Release date: October 10th, 2019

- Bug fix: Stop using pluggable.php file.

### 2.10.2

[](#2102)

Release date: September 17th, 2019

- Update: Added methods to easily get a plugin's install and activate urls.

### 2.10.1

[](#2101)

Release date: September 5th, 2019

- Update: Recommend W3 Total Cache in Plugins &gt; Add New
- Update: Removing BoldGrid Staging from Plugins &gt; Add New

### 2.10.0

[](#2100)

Release date: August 29th, 2019

- New feature: Show BoldGrid News widget in the dashboard.
- New feature: Show BoldGrid Notifications widget in the dashboard.
- New feature: New dashboard pages, can be utilized by plugins.

### 2.9.2

[](#292)

Release date: August 1st, 2019

- Bug fix: Optimized plugin checker.
- Updated: Updated deps.

### 2.9.1

[](#291)

Release date: July 25th, 2019

- Update: Added a trailing slash to Central url for the Reseller.

### 2.9.0

[](#290)

Release date: July 2nd, 2019

- New feature: Added A BoldGrid RSS feed to the dashboard.

### 2.8.2

[](#282)

Release date: June 7th, 2019

- Update: Updated dependencies.

### 2.8.1

[](#281)

Release date: May 21st, 2019

- Bug fix: Ensure correct library versions are set during bulk activation.

### 2.8.0

[](#280)

Release date: Apr 16th, 2019

- New feature: "Get a new key" updated to link to BoldGrid Central, and automatically add the key given.
- New feature: Adding German translations, de\_DE.
- Update: Made translation ready. Text domain changed to boldgrid-library.

### 2.7.7

[](#277)

Release date: Jan 15th, 2019

- Update: Add method to get a plugin's download url from the api server.
- Update: New system that asks user for bug fixes / new features, or requests plugin rating.
- Update: Minor updates to the BoldGrid Connect Key prompt.

### 2.7.6

[](#276)

Release date: Dec 5th, 2018

- Update: Inverse logic fixes, is\_plugin\_active vs is\_plugin\_inactive.

### 2.7.5

[](#275)

Release date: Dec 4th, 2018

- Bug fix: BoldGrid logo not showing in front end admin bar.

### 2.7.4

[](#274)

Release date: Dec 4th, 2018

- Bug fix: JIRA BGCONN-35 Prevent Connect Key notice on block editor pages.

### 2.7.3

[](#273)

Release date: Nov 27th, 2018

- Feature: Adding Crio's enzo to the admin icons font.

### 2.7.2

[](#272)

Release date: Nov 26th, 2018

- Update: Updated production build process to use composer post-autoload-dump hook.

### 2.7.1

[](#271)

Release date: Nov 20th, 2018

- Bug fix: JIRA BGCONN-29 Fixed API key entry form; removing inputs and displaying success message.
- Update: JIRA BGCONN-32 Removed auto-update section from settings. It is still used by the Backup plugin.
- Update: JIRA BGBKUP-285 Save settings and reload to the current section.

### 2.7.0

[](#270)

Release date: Oct 30th, 2018

- Feature: JIRA BGCONN-16 Added BoldGrid Connect settings for individual plugin and theme auto-updates.
- Feature: JS framework for Postbox settings.
- Bug fix: JIRA BGCONN-19 Fixed display when the library is used in a theme.
- Bug fix: JIRA BGBKUP-270 Dismissible notices are not staying dismissed.

### 2.6.1

[](#261)

- Update: Theme check fixes.

### 2.6.0

[](#260)

- Feature: JIRA BGTHEME-576 Add filter to check for is premium.
- Feature: JIRA BGCONN-23 Added mini Connect Key entry form.
- Update: Update success message after successful key entry.

### 2.4.2

[](#242)

- Bug fix: Show timeout message when saving key times out.
- Bug fix: Misc bug fuxes.

### 2.4.1

[](#241)

- Fix: Display issue with key entry prompt HTML.

### 2.4.0

[](#240)

- Feature: JIRA BGTHEME-361 BoldGrid Connect Page.
- Feature: JIRA BGTHEME-361 Admin Bar Menus.
- Update: JIRA WPB-3922 Updated license API to v2.

### 2.3.6

[](#236)

- Update: JIRA BGINSP-23 Updated "boldgrid\_available" transient lifetime and checking. Also fixed fatal error when API has an error response.

### 2.3.5

[](#235)

- Bug fix: Updating boldgrid-backup link in config.

### 2.3.4

[](#234)

- Update: JIRA BGBKUP-220 Sanitize inputs.

### 2.3.3

[](#233)

- Bug fix: JIRA BGINSP-15 Disable Connect Key request button after submission.

### 2.3.2

[](#232)

- Update: More clear error message on failed ajax license clears.
- Update: Added prettier-eslint.

### 2.3.1

[](#231)

- Bug fix: JIRA BGBKUP-180 Fixed empty check for PHP 5.3.

### 2.3.0

[](#230)

- Feature: JIRA BGBKUP-180 Handle auto updates as configured by the boldgrid\_settings option.

### 2.2.2

[](#222)

- Bug fix: JIRA WPB-3767 Prevent invalid API calls for check-version.

### 2.2.1

[](#221)

- Bug fix: JIRA WPB-3730 Fixed loading of plugin installer class.
- Update: JIRA WPB-3725 Use a transient in Checker::findUpdated().
- Bug fix: JIRA WPB-3724 Do not call getLicense if Connect Key is not available.
- Update: JIRA WPB-3721 Moved Plugin\\Checker back to Library.
- Bug fix: Duplicate admin notices showing.

### 2.2.0

[](#220)

- Bug fix: JIRA WPB-3714 Fixed PHP notice in Key::verifyData().
- Feature: As a user, I can refresh my license key status.

### 2.1.0

[](#210)

- Feature: JIRA BGTHEME-103 Added ClaimPremiumKey notice.

### 2.0.0

[](#200)

- Feature: JIRA BGINSP-3 Added filter to display Connect Key prompt admin notice, even if dismissed.
- Update: JIRA WPB-3684 Moved plugin install to its own package (boldgrid/plugin-install).
- Feature: JIRA BGBKUP-75 Added dismiss/undismiss for Connect Key prompt/notice.

### 1.1.6

[](#116)

- Bug fix: JIRA BGBKUP-67 Fixed key prompt is-dismissible, and hid duplicate notice from other plugin.
- Feature: JIRA WPB-3638 Added post-and-page-builder and boldgrid-easy-seo to the Plugins &gt;&gt; Add New page.
- Bug fix: JIRA WPB-3636 Fixed invalid version number sent for plugins not installed, but in config.
- Bug fix: JIRA WPB-3635 API calls now respect release channels.

### 1.1.5

[](#115)

- Bug fix: JIRA WPB-3518 Fixed fatal error in certain scenarios from double inclusion of WP core files.

### 1.1.4

[](#114)

- Bug fix: JIRA WPB-3427 Adjusted handling of plugin update transients.
- ```
                          Added premium product check to license class.

    ```

### 1.1.3

[](#113)

- ```
                          Validate plugin before printing card.

    ```

### 1.1.2

[](#112)

- ```
                          Bug fixes.

    ```

### 1.1.1

[](#111)

- ```
                          Added form affiliate data.

    ```

### 1.1.0

[](#110)

- ```
                          Added action for when theme release channel changed.

    ```
- ```
                          Added Reseller class.

    ```

Development
-----------

[](#development)

### Installing Dependencies

[](#installing-dependencies)

Before you can use the development version of this plugin you must install the dependencies.

```
composer install -o --prefer-source
yarn install
gulp

```

### Auto Updates

[](#auto-updates)

To test / trigger auto updates, you can run the following:

```
wp option delete auto_updater.lock & wp transient delete --all && wp cron event run wp_version_check

```

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance25

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~38 days

Recently: every ~164 days

Total

75

Last Release

432d ago

Major Versions

0.1.0 → 1.0.02017-07-12

1.1.6 → 2.0.02018-01-23

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5629738?v=4)[Rafael Ramos](/maintainers/rramo012)[@rramo012](https://github.com/rramo012)

![](https://www.gravatar.com/avatar/9bf35b748e1168fc7506fa2c5a5cbcf303799f348d58eb08dbfa61988cc639ee?d=identicon)[cssjoe](/maintainers/cssjoe)

![](https://www.gravatar.com/avatar/6a65abffba74bf56df8aa6fafebd473de4d6aa2cc9de5b7347b89385f62d9478?d=identicon)[bwmarkle](/maintainers/bwmarkle)

---

Top Contributors

[![bwmarkle](https://avatars.githubusercontent.com/u/5925563?v=4)](https://github.com/bwmarkle "bwmarkle (242 commits)")[![timelsass](https://avatars.githubusercontent.com/u/11907254?v=4)](https://github.com/timelsass "timelsass (159 commits)")[![jamesros161](https://avatars.githubusercontent.com/u/49331357?v=4)](https://github.com/jamesros161 "jamesros161 (105 commits)")[![cssjoe](https://avatars.githubusercontent.com/u/11447263?v=4)](https://github.com/cssjoe "cssjoe (44 commits)")[![rramo012](https://avatars.githubusercontent.com/u/5629738?v=4)](https://github.com/rramo012 "rramo012 (33 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![DAnn2012](https://avatars.githubusercontent.com/u/1197819?v=4)](https://github.com/DAnn2012 "DAnn2012 (2 commits)")

### Embed Badge

![Health badge](/badges/boldgrid-library/health.svg)

```
[![Health](https://phpackages.com/badges/boldgrid-library/health.svg)](https://phpackages.com/packages/boldgrid-library)
```

###  Alternatives

[prewk/xml-streamer

Stream large XML files with low memory consumption.

5247.1k](/packages/prewk-xml-streamer)[ddeboer/tesseract

A wrapper for the Tesseract OCR engine

23135.1k](/packages/ddeboer-tesseract)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
