File Structure

Here is the general file structure of the template:

    laravel
    • app
      • Console
      • Exceptions
        • DataTables
          • UsersDataTables.php
      • Helpers
      • Http
        • Controllers
          • Auth
          • Modules
          • Security
          • AppSettingController.php
          • Controller.php
          • HomeController.php
          • UserController.php
        • Middleware
        • Requests
      • Model
      • Provider
      • View
    • bootstrap
    • config
    • database
    • node_modelus
    • public
      • css
      • images
        • landing-pages
          • images
            • blog
              • all images regarding this modules
            • home-1
              • all images regarding this modules
            • home-2
              • all images regarding this modules
            • home-3
              • all images regarding this modules
            • home-4
              • all images regarding this modules
            • home-5
              • all images regarding this modules
            • shop
              • all images regarding this modules
      • js
      • laravel-js
      • modules
      • scss
        • landing-pages
          • components
            • app-landing
              • all css regarding this modules
            • ecommerce-landing
              • all css regarding this modules
            • sass-landing
              • all css regarding this modules
            • shop
              • all css regarding this modules
            • software-landing
              • all css regarding this modules
            • startup-landing
              • all css regarding this modules
      • vendor
    • resources
      • css
      • js
      • lang
      • sass
      • views
        • auth
        • components
        • dashboards
        • errors
        • extrapages
        • forms
        • global
        • icons
        • layouts
        • maps
        • modules
        • permission-role
        • plugins
        • special-pages
        • table
        • users
        • vendor
        • widget
        • blankpage.blade.php
        • privacy-policy.blade.php
        • terms-of-use.blade.php
        • uisheet.blade.php
    • routes
      • modules
      • api.php
      • auth.php
      • channels.php
      • console.php
      • web.php
    • tests
    • .editorconfig
    • .env.example
    • .styleci.yml
    • artisan
    • composer.json
    • package.json
    • phpunit.xml
    • README.md
    • server.php
    • webpack.mix.js

Modules Route

Here is the file structure of routes of the modules this files contains all the routes of respective modules.:

  • laravel
    • routes
      • modules
        • appointment.php
        • blog.php
        • chat.php
        • e-commerce.php
        • file-manager.php
        • mail.php
        • social.php
    • api.php
    • auth.php
    • channels.php
    • console.php
    • web.php

Modules Controller

Here is the file structure of controller this files contains all the functions of respective modules.

  • laravel
    • app
      • Console
      • DataTables
      • Exceptions
      • Helpers
      • Http
        • Controllers
          • Auth
          • Modules
            • AppointmentController.php
            • BlogController.php
            • ChatController.php
            • EcommerceController.php
            • FilemanagerController.php
            • MailController.php
            • SocialController.php
          • Security
          • AppSettingController.php
          • Controller.php
          • HomeController.php
          • UserController.php

Modules Assets

Here is the file structure of assets folder of respective modules.

  • laravel
    • public
      • css
      • images
        • landing-pages
          • images
            • blog
              • all images regarding this modules
            • home-1
              • all images regarding this modules
            • home-2
              • all images regarding this modules
            • home-3
              • all images regarding this modules
            • home-4
              • all images regarding this modules
            • home-5
              • all images regarding this modules
            • shop
              • all images regarding this modules
      • js
      • laravel-js
      • modules
        • appointment.php
          • css
            • All css respective to this modules
          • images
            • All images respective to this modules
          • js
            • All js respective to this modules
          • scss
            • landing-pages
              • components
                • app-landing
                  • all css regarding this modules
                • ecommerce-landing
                  • all css regarding this modules
                • sass-landing
                  • all css regarding this modules
                • shop
                  • all css regarding this modules
                • software-landing
                  • all css regarding this modules
                • startup-landing
                  • all css regarding this modules
            • All the scss respective to this modules
        • blog.php
          • assets of blog
        • chat.php
          • assets of chat
        • e-commerce.php
          • assets of e-commerce
        • file-manager.php
          • assets of file-manager
        • mail.php
          • assets of mail
        • social.php
          • assets of social
      • scss
      • vendor

Modules Components

Here is the file structure of components of respective modules.

  • laravel
    • resources
      • views
        • auth
        • components
          • landing-pages
            • partials
              • all pages regarding this modules
            • widgets
              • all pages regarding this modules
          • modules
            • appointment
              • partials
                • sidebar, css, js of this modules
              • widgets
                • widgets respective to this modules
            • blog
              • components and widgets of blog
            • chat
              • components and widgets of chat
            • e-commerce
              • components and widgets of e-commerce
            • filemanager
              • components and widgets of filemanager
            • mail
              • components and widgets of mail
            • social
              • components and widgets of social
          • partials
            • all components which repeat continiously in all page. e.g. sidebar, header, footer, etc.
          • widgets
            • Widgets that are used globally in the dashboard. e.g. profile card in dashboard's sidebar.
          • globally used components

Modules Pages

Here is the file structure of blade files of respective modules.

  • laravel
    • resources
      • views
        • modules
          • appointment
            • blade files of appointment modules
          • blog
            • blade files of blog modules
          • chat
            • blade files of chat modules
          • e-commerce
            • blade files of e-commerce modules
          • filemanager
            • blade files of filemanager modules
          • mail
            • blade files of mail modules
          • social
            • blade files of social modules
        • landing-pages
          • components
            • partials
              • all pages regarding this modules
          • layout
            • all pages regarding this modules
          • pages
            • all pages regarding this modules