wpdesk/wp-persistence
最新稳定版本:3.0.2
Composer 安装命令:
composer require wpdesk/wp-persistence
包简介
无描述信息
README 文档
README
WordPress Library to facilitate access to various persistence possibilities
Requirements
PHP 7.0 or later.
Composer
You can install the bindings via Composer. Run the following command:
composer require wpdesk/wp-persistence To use the bindings, use Composer's autoload:
require_once 'vendor/autoload.php'; Compatiblity between plugins
To ensure that always the latest and valid version of composer libraries are loaded in WP env you should use a solution that ensure support between plugins and at least decreases the change that something would break. At the moment we recommend using wpdesk/wp-autoloader.
Manual instalation
If you do not wish to use Composer and wpdesk/wp-autoloader, you probably should stop using any existing library as it breaks compatibility between plugins.
When has() is true and when get() will throw an exception
| Value | Get | Has |
|---|---|---|
| 'test' | 'test' | true |
| [] | [] | true |
| '' | '' | true |
| 99 | '99' or 99 | true |
| 0 | '0' or 0 | true |
| true | true or '1' | true |
| false | false or '' | true |
| not set | exception | false |
| null | exception | false |
统计信息
- 总下载量: 44.84k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 13
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2026-01-04