Directory Structure

Newbie question from someone coming from another framework using Yii for the first time. Thanks for your patience.

What is the difference between the components and extensions directories? What determines the best location for custom non-MVC classes?

Mahalo.

I’d say the extensions directory is mainly for code containing multiple files that should be kept together in their own directory. Components is more for single classes which you use throughout the application.