PHPackages                             alleyinteractive/wp-caper - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. alleyinteractive/wp-caper

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

alleyinteractive/wp-caper
=========================

Fluently distribute capabilities to roles in WordPress.

v3.0.0(1y ago)7317.4k↑13.7%1GPL-2.0-or-laterPHPPHP ^8.2

Since Jun 9Pushed 1y ago21 watchersCompare

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

READMEChangelog (4)Dependencies (5)Versions (5)Used By (1)

Caper
=====

[](#caper)

`Caper` provides a fluent interface for distributing post type, taxonomy, or generic primitive capabilities to roles in WordPress.

Installation
------------

[](#installation)

Install the latest version with:

```
composer require alleyinteractive/wp-caper
```

Basic usage
-----------

[](#basic-usage)

An invocation of `Caper` takes the form of "`` `` ``."

`Caper` can distribute primitive capabilities directly:

```
