Via Composer
Underpin can be installed in any place you can write code using Composer. You can learn more about how to set up Composer using their documentation.
composer require underpin/underpin
What Is Composer?
Composer is a package manager, somewhat like npm
. It allows you to download and use Underpin (and many other things) in your project. It also allows you to easily update this code as changes come along in the future. Generally, it will also handle automatically loading the files for you as well, so you don't need to worry about making require_once
calls throughout your code.