Directory Structure

/UNIT3D/
  • app/
    • Achievements/
    • Bots/
    • Console/
      • Commands/
    • Events/
    • Exceptions/
    • Helpers/
    • Hooks/
    • Http/
      • Controllers/
        • API/
        • Auth/
        • Staff/
      • Middleware/
      • Requests/
      • Resources/
    • Jobs/
    • Listeners/
    • Mail/
    • Notifications/
    • Providers/
    • Repositories/
    • Rules/
    • Services/
      • Clients/
      • Contracts/
      • Data/
    • Traits/
    • Validators/
  • config/
  • database/
    • factories/
    • migrations/
    • seeds/
  • public/
    • files/
    • fonts/
    • imgs/
  • resources/
    • assets/
    • lang/
    • views/
  • routes/
  • storage/
    • app/
    • framework/
    • logs/
File/Folder Purpose
app The app directory, as you might expect, contains the core code of your application. Almost all of the classes in UNIT3D will be in this directory.
bootstrap The bootstrap directory contains the app.php file which bootstraps the framework. This directory also houses a cache directory which contains framework generated files for performance optimization such as the route and services cache files.
config The config directory, as the name implies, contains all of your application's configuration files. It's a great idea to read through all of these files and familiarize yourself with all of the options available to you.
database The database directory contains your database migrations, model factories, and seeds. If you wish, you may also use this directory to hold an SQLite database.
public The public directory contains the index.php file, which is the entry point for all requests entering your application and configures autoloading. This directory also houses your assets such as images, JavaScript, and CSS.
resources The resources directory contains your views as well as your raw, un-compiled assets such as LESS, SASS, or JavaScript. This directory also houses all of your language files.
web The routes directory contains all of the route definitions for your application. Several route files are included with UNIT3D: web.php, api.php, console.php, vue.php and channels.php.
storage The storage directory contains your compiled Blade templates, file based sessions, file caches, and other files generated by the framework. This directory is segregated into app, framework, and logs directories. The app directory may be used to store any files generated by your application. The framework directory is used to store framework generated files and caches. Finally, the logs directory contains your application's log files.