Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (7 sloc) 824 Bytes
Classes and Composer

I created a new class, but UserFrosting doesn't seem to recognize it.

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 gives me errors when I run 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.

You can’t perform that action at this time.