Plugin boilerplate / Scaffolding

Plugin boilerplate / Scaffolding

WP-CLI Scaffold commmand to wp scaffold plugin More modern is 10up/plugin-scaffold: 10up official starter plugin. ali su opet rekli da je deprecated.

Odličan za React: WP React Starter: WordPress Plugin Boilerplate with React devowlio/wp-react-starter. Sve natrpano u njega, ali ga više ne razvijaju.

Sane suggestions: WordPress Plugin, the OOP Way - Ndevr

Block boilerplate

Official: gutenberg/README.md at master · WordPress/gutenberg


Utility Plugin: Scaffolding and Boilerplates

WP Plugin Scaffold by Tom McFarlin in 2022 (essential skeleton)

tommcfarlin/wp-plugin-scaffold: A simple scaffold used for what’s needed to spin up a Composer-based WordPress plugin. je baš “kostur” plugina. Nema ama baš ništa osim možda smisleni početni composer.json ali baš ništa od pravog scaffolda.

Prateći članak objašnjava osnovnu nameru autora - pročitaj na WP Plugin Scaffold for Composer-based Plugins. Inače, autor Tom McFarlin je originalni autor nekada vrlo korišćenog https://wppb.io/.

WPPB: WordPress Plugin Boilerplate aka WPPB Defunct

Originalni WPPB iz 2011 više ne postoji ali je arhiva repo-a i dalje tu: DevinVinson/WordPress-Plugin-Boilerplate: [WordPress] A foundation for WordPress Plugin Development that aims to provide a clear and consistent guide for building your plugins.. The WordPress Plugin Boilerplate was started in 2011 by Tom McFarlin - stari, klasičan, nekad najbolji 10yr ago - bez composera i slično.

WPPB: New WPPB.ME and Plugin Generator

WordPress Plugin Boilerplate Generator | Ready to use WordPress Plugin Boilerplate koji se nalazi na repo Tmeister/wppb-generator: WordPress Plugin Boilerplate Generator i koji olakšava proces za rename file names, search and replace plugin-name, etc.

To isto, u formi plugina je na repo mrmu/wp-plugin-boilerplate: It’s a WordPress plugin for wp plugin boilerplate generator, it generated by itself and inspired by https://wppb.me.

WPPB: The Mantained Fork by BrianHenryIE, Active in 2023

The popular WPPB WordPress Plugin Boilerplate but actively mantained with added Composer, namespaces, autoloading, Codeception testing, and GitHub Actions for WordPress.org deployment. BrianHenryIE/WordPress-Plugin-Boilerplate Ne volim što i dalje koristi jQuery i nekako mi je previše opširan. Iako je renaming savršeno objašnjen sa shell-scriptovima.


  • wp-media/upload-max-file-size
    A simple plugin written on all coding rules, from a company that makes WP Rocket. Maybe use it as a sample for my plugins?

On creating a plugin

Plugin Development: Original WPBP/WordPress-Plugin-Boilerplate-Powered: Wordpress Plugin Boilerplate but Powered with examples and a generator!


Apto.gr WordPress Plugin Boilerplate Generator

WordPress Plugin Boilerplate - Apto


Vrlo interesantni, skoro pa idealni:

study-hary-id/SimplePluginTemplate: Simple WordPress plugin template, based on functional and classes as services Classes Plugin Template is the starter of WordPress plugin template based on classes as services.

study-hary-id/CustomAdminTemplate: Simple WordPress plugin that create modular administration area

study-hary-id/settings-api-wordpress: A complete and practical example of the WordPress Settings API to je za teme


Nije loš:

phpbits/wp-block-builder: A foundation for WordPress Gutenberg blocks plugin development that aims to provide clear and concise guide for building your first block plugin. A to je neki lik iz 10up wp-block-builder - npm

npx wp-block-builder from plugins folder.

Nije loš ali nije ni savršen


Ovo je potrebno da bi se što brže učitao engine: JJJ/chelsea: A versatile, custom WordPress bootloader using SHORTINIT Ali i ne mora ovo.


hlashbrooke/WordPress-Plugin-Template


infinum/eightshift-boilerplate-plugin a modern WordPress plugin by Croatian Infinum and using their Eightshift Development kit. Kuda sve ovo ide - napravio mi je 440M folder. Ali ajde, to je dev pa neka bude.

A dobro je i ovo: infinum/eightshift-coding-standards: Eightshift coding standards for WordPress i ovo: infinum/eightshift-storybook: Storybook package for Eightshift-Boilerplate


dmhendricks/wordpress-base-plugin: A starter template for WordPress plugins, with autoloading, namespaces and object caching (where available). zadnje iz 2018


Vrlo se aktivno razvija… Kako sam ovo propustio? Izgleda odlično. bernskioldmedia/wp-plugin-scaffold: This is a simple plugin base for a WordPress plugin that we use at Bernskiold Media when creating custom plugin’s for our clients.

bernskioldmedia/wp-plugin-base: The WP Plugin Base is a feature-rich composer project to be included in WordPress plugins. It provides a good base scaffolding, as well as many common base features to speed up development.

bernskioldmedia/Block-Plugin-Support: A reusable way of adding block support to a WordPress plugin.

Ovo mi se sviđa: Jobs Class - When you have a long-running process that you need to run in the background, a job is what you want to run. https://github.com/bernskioldmedia/wp-plugin-base#defining-a-custom-job


mpeshev/DX-Plugin-Base: Plugin Framework for rapid WordPress Plugin development! abandoned in 2015 DX Plugin Base Inače, Tom McFarlin ga čak i preporučuje: A WordPress Plugin Base iako je to iz 2012 godine


WordPress-Phoenix/abstract-plugin-base: WordPress Plugin boilerplate for standardizing plugin architecture


Ovaj je nov i odličan: mehrshaddarzi/wp-trait: Fast and standard development of WordPress plugins. On je imao i ranije pokušaje: mehrshaddarzi/wordpress-plugin-starter: Easy WordPress Plugin Starter For Developer, i još raniji mehrshaddarzi/wp-plugin: Plugin Starter For Project

pa neki klot core PHP projekt: mehrshaddarzi/php-pure-project


ryanwelcher/tailwind-multiple-blocks: A plugin that uses multiple block, Tailwind and is fully integrated into the standard build process

i vrlo slično tome, i ovaj: WebDevStudios/wds-acf-blocks: A set of custom Gutenberg blocks built with Advanced Custom Fields Pro.


Tailwind Blocks … kako i šta… odlično! dgwyer/create-wp-block: NodeJs CLI application to generate WordPress blocks dgwyer/tw-block: Template to be used with the @wordpress/create-block script. Adds full Tailwind CSS support to the generated block.

This was his first try when he user @create-block dgwyer/tailwind-blocks: Integrate Tailwind with the @wordpress/create-block script.


React u Adminu: dgwyer/wp-react-plugin: Boilerplate WordPress plugin that implements a simple React app in the admin and front end. Changes to React files automatically trigger updates in the browser in real time via React Hot Loader while also preserving state.

date 31. Oct 2020 | modified 29. Dec 2023
filename: Wordpress » Env » Boilerplate » Plugin