New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

yard/wp-user-roles

An Acorn package for managing user roles in WordPress.
10,451 11

Larablocks Analysis

yard/wp-user-roles works with Laravel 10 to 13 (latest release v2.0.4, Mar 27, 2026).

Recommendation checks

Solid choice

Solid choice: maintained and up to date, meets 2 of 4 checks; below the bar for Recommended on use.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Mar 27, 2026)
  • 1,334 downloads a month (needs 10,000)
  • 11 GitHub stars (needs 100)

State

Maintained
  • Last stable release: Mar 27, 2026.
  • 2 releases in the last 12 months.
  • First released: Sep 3, 2024.
  • Monthly downloads: 1,334.
  • 3 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.

Install
composer require yard/wp-user-roles
Latest Version:v2.0.4
PHP:>=8.2
Laravel:10 – 13
License:MIT
Last Updated:Nov 23, 2026
Links: GitHub  ·  Packagist
Maintainer: Yard

wp-user-roles

Code Style PHPStan Tests Code Coverage Badge Lines of Code Badge

An Acorn package for managing user roles in WordPress.

Features

  • Configure: Define custom roles and capabilities with a configuration file.
  • (Re)Create: Insert roles into the database with a single wp-cli command.
  • Clone roles: Quickly set up new roles based on existing ones.
  • Delete roles: Remove any roles that you don’t need.

See config for all configuration options.

Requirements

Installation

  1. Install this package with Composer:

    composer require yard/wp-user-roles
    
  2. Run the Acorn WP-CLI command to discover this package:

    wp acorn package:discover
    

Usage

  1. Publish the config file with:

    wp acorn vendor:publish --provider="Yard\UserRoles\UserRolesServiceProvider"
    
  2. Run WP-CLI command to create roles:

    Single site:

    wp acorn roles:create
    

    In a multisite:

    wp site list --field=url | xargs -n1 -I % wp acorn roles:create --url=% 
    

About us

banner

Related Packages

owen-it/laravel-auditing

Audit changes of your Eloquent models in Laravel

45,946,239 3,473
mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

23,909,128 1,976
kyslik/column-sortable

Package for handling column sorting in Laravel 11-13

6,734,898 644
mews/captcha

Laravel 5/6/7/8/9/10/11/12 Captcha Package

6,446,198 2,589
ajthinking/archetype

Programmatically edit PHP and Laravel files.

5,230,331 271

Version History

Version Released PHP License
v2.0.4 >=8.2 MIT
v2.0.3 >=8.1 MIT
v2.0.2 >=8.1 MIT
v2.0.1 >=8.1 MIT
2.0.0 >=8.1 MIT