PHPackages                             tenjuu99/wp-resta - 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. [API Development](/categories/api)
4. /
5. tenjuu99/wp-resta

ActiveWordpress-plugin[API Development](/categories/api)

tenjuu99/wp-resta
=================

WordPress REST Api development framework using DI

v0.11.0(2mo ago)5348[2 issues](https://github.com/amashigeseiji/wp-resta/issues)[1 PRs](https://github.com/amashigeseiji/wp-resta/pulls)GPL-2.0-or-laterPHPPHP &gt;=8.2

Since May 26Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/amashigeseiji/wp-resta)[ Packagist](https://packagist.org/packages/tenjuu99/wp-resta)[ RSS](/packages/tenjuu99-wp-resta/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (8)Versions (28)Used By (0)

[![Continuous Integration](https://github.com/amashigeseiji/wp-resta/actions/workflows/ci.yml/badge.svg)](https://github.com/amashigeseiji/wp-resta/actions/workflows/ci.yml)

Wp\\Resta
=========

[](#wpresta)

WordPress 上で REST API 開発をするためのプラグインです。

アイデアやインターフェースは [BEAR.Sunday](https://bearsunday.github.io) から影響を受けています。

How to install
--------------

[](#how-to-install)

前提: WordPress 管理画面からパーマリンク設定を「投稿名」などにしておいてください。

### 自作テーマで利用する

[](#自作テーマで利用する)

```
$ cd /path/to/theme
$ composer require tenjuu99/wp-resta

```

`functions.php` で初期化

以下は、サンプルのディレクトリにあるAPIを読みこむ設定です。

```
