Create a plugin from within WordPress

Why would anybody create such a tool? Creating a plugin is really easy:

At its simplest, a WordPress plugin is a PHP file with a WordPress plugin header comment.

Here is the plugin header:

<?php
/*
Plugin Name: YOUR PLUGIN NAME
*/

Just save the above text to a new PHP file, upload it to the plugins folder in WP and you’re done.

Of course, you only succeeded in creating the basic plugin, now you need to put the code that actually does something.