WP Manifestindependent plugin directory
manifest / developer / scafall

Scafall

WordPress plugin to help scaffold post types, taxonomies, user roles, options, meta boxes, rest endpoints and frontend routes.

★ 1stars
1composer installs

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/lambry/scafall/archive/refs/heads/master.zip

On Packagist as lambry/scafall:

composer require lambry/scafall
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Scafall A little plugin that makes scaffolding post types, taxonomies, user roles, options, meta boxes, rest endpoints and frontend routes easier. Install: composer require lambry/scafall Post Types Taxonomies User Roles Options Meta Boxes The field types available for use within options pages and meta boxes are: text, number, email, date, range, url, password, textarea, editor, select, radio, checkbox, toggle, upload, colour and info. Rest endpoints When using a controller, the default method called will match the HTTP request method. For example $rest-get('/books', BookController::class) would call a get method on the BookController class. Routes To use the put, patch and delete methods on frontend routes, you'll need to add a hidden field named method with a value of PUT, PATCH or DELETE. Notes: requires PHP 8.0+