Download the PHP package jcodigital/jcore-update without Composer
On this page you can find all versions of the php package jcodigital/jcore-update. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jcodigital/jcore-update
More information about jcodigital/jcore-update
Files in jcodigital/jcore-update
Download jcodigital/jcore-update
More information about jcodigital/jcore-update
Files in jcodigital/jcore-update
Vendor jcodigital
Package jcore-update
Short Description Composer-installable WordPress plugin updater integration for the JCORE Update API.
License
Package jcore-update
Short Description Composer-installable WordPress plugin updater integration for the JCORE Update API.
License
Please rate this library. Is it a good library?
Informations about the package jcore-update
jcore-update
Composer-installable WordPress library for integrating plugin updates with the JCORE Update API.
Install
Quickstart
Full example plugin bootstrap
See examples/wordpress-plugin-bootstrap.php for a complete example including:
- updater registration
- license option storage
- settings page form
validateLicense()usage in a sanitize callback
License validation (headless)
This library validates keys against POST /v1/licenses/validate but intentionally does not render any UI.
Convenience helper:
Notes
GET /v1/update-checkis used for update checks and plugin detail payloads.204 No Contentis treated as a valid “no update” state.- License keys are never stored in cache keys directly (hashes are used).
- UI elements (settings pages, admin notices, forms) remain the host plugin’s responsibility.
Development
Code Quality
Run phpcs to check coding standards:
To automatically fix most coding standard issues:
Testing
The library uses PHPUnit for testing. Run the tests with:
All versions of jcore-update with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
ext-json Version *
ext-json Version *
The package jcodigital/jcore-update contains the following files
Loading the files please wait ...