Let's say you want to create a plugin called "Gutenberg Media Blocks". From its name we derive the following information:
- Name:
Gutenberg Media Blocks
- Slug:
gutenberg-media-blocks
- Abbreviation:
GMB
andgmb
Now we need to do the following:
- Adjust the main plugin file (Name, URI, Author, etc.)
- Rename the plugin directory and main plugin file, i.e.
gutenberg-media-blocks/gutenberg-media-blocks.php
- Search and replace all abbreviations, i.e.
WPPB
withGMB
andwppb
withgmb
- Adjust the
package.json
&composer.json
- Adjust the PSR-4 autoloader namespace in the composer.json
- Adjust the
.releaserc.json
if you want to use Semantic Release - Adjust the
phpcs.xml