Sapphire Documentation

Directory structure

Sapphire has big ecosystem.

Sapphire paths sometimes contains @ it targets main application directory.


Main directories:

@public/ - public html folder

@src/ - sapphire source code folder

@resources/ - folder with all application resources

@resources/collections - folder that contains all data collections in .json files

@resources/components - folder that contains all onyx components

@resources/layouts - folder that contains all onyx layouts

@resources/plugins - folder that contains all plugins

@resources/styles - folder that contains all styles


~ prefix is used to mark files and folders that wont be shown by default by Sapphire. They contains e.g. temp files or trash.