Registry / utility / automattic-jetpack-constants

automattic-jetpack-constants

JSON →
library3.0.11phppackagistunverified

A wrapper for defining constants in a more testable way.

composer require automattic/jetpack-constants
INSTALL
IMPORT
SIG · AUTOMATTIC-JETPACK
A
automattic-jetpack-constants
utilityphpv3.0.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Constants
use Automattic\Jetpack\Constants;

Define and retrieve constants in a testable manner.

use Automattic\Jetpack\Constants; Constants::set_constant('MY_PLUGIN_VERSION', '1.0.0'); $version = Constants::get_constant('MY_PLUGIN_VERSION');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.11latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
OpenAI (training)
2
Meta
1
Resources
automattic-jetpack-constants — pip install automattic-jetpack-constants · libregistry