承接 baxtian/wp_json 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

baxtian/wp_json

最新稳定版本:0.1.1

Composer 安装命令:

composer require baxtian/wp_json

包简介

Base class for merak REST API endpoints.

README 文档

README

Class to be inherited to create a WP REST API endpoint.

Extend WP_Json and implement the api() method to register routes via register_rest_route().

Use self::success($data) and self::error($message) for standard responses.

Use sanitize_boolean(), sanitize_float() and sanitize_array() as sanitize_callback in route args.

Mantainers

Juan Sebastián Echeverry baxtian.echeverry@gmail.com

Changelog

0.1.1

  • Fix: Force cast to float in sanitize float to guarantee the return type

0.1.0

  • First stable release

统计信息

  • 总下载量: 22
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2026-04-07