You need to install Composer, PHP's dependency manager. In addition to automatically loading external packages, Composer also autoloads the class files for your project. When you add a new class, you must run composer update in the userfrosting directory (the same directory that contains composer.json). Make sure that you have installed Composer globally.
composer update.When this happens, you might get an error message complaining about a .git directory missing in vendor. To solve this problem, simply delete the vendor/alexweissman directory and re-run composer update.