Skip to content
On this page

Directory Structure

Laravel EKcms follows the principle of "Convention is better than configuration". The recommended structure is as follows:

.
project-folder
    ├── app
    │   └── Console
    │       ├── Commands
    │   └── Events
    │   └── Exceptions
    │   └── Exports
    │   └── Grant
    │   └── Helper
    │   └── Http
    │       ├── Controllers
    │           ├── Api (if needed)
    │           ├── System 
    │           ├── Frontend (if needed)
    │       ├── Middleware
    │       ├── Requests
    │       ├── ViewComposers
    │       ├── Kernel.php
    │   └── Imports
    │   └── Listeners
    │   └── Mail
    │   └── Model
    │   └── OAuth
    │   └── Providers
    │   └── Rules
    │   └── Services
    │   └── Traits
    │   └── Transformers
    │   └── View
    ├── config
    ├── database
    ├── node_modules
    ├── public
    │   ├── backend
    │   ├── css (css files + webpack generated css)
    │   ├── js (js files + webpack generated js)
    ├── resources
    │   └── assets
    │       └── system
    │           ├── css (css files)
    │           ├── js (js files)
    │           ├── plugins (plugins files)
    │           └── scss 
    │    └── views
    │       └── components
    │           └── system
    │                └── form 
    │       └── system
    │        └── frontend (if needed)
    ├── routes
    ├── storage
    ├── tests (unit tests files)
    ├── .editorconfig
    ├── .env
    ├── .env.example
    ├── .gitattributes
    ├── .gitignore
    ├── .php_cs
    ├── .php_cs.cache
    ├── .php_cs.php
    ├── .php-cs-fixer.cache
    ├── .php-cs-fixer.php
    ├── artisan
    ├── composer.json
    ├── composer.lock
    ├── Jenkinsfile
    ├── lint-staged.config.js
    ├── package-lock.json
    ├── package.json
    ├── php-cs-fixer
    ├── phpunit.xml
    ├── server.php
    ├── sonar-project.properties
    └── webpack.mix.js