WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, configure multisite installs and much more, without using a web browser.
Please note that WP-CLI is not only PHP.
Is it possible to create a WprdPress plugin that would do just the same as WP-CLI, but it would work from the WordPress dashboard, and not from command line?
Is there something close to what I would like to have?