We’re currently experiencing a high volume of inquiries and our response time could be up to 2 days. We apologize for the delay, and thank you for your patience. Our available time: 2 AM - 1 PM (Monday - Friday) (UTC+0 Timezone).

Okay
  Public Ticket #2843492
Martfury Coding Structure
Closed

Comments

  • Prakash Poudel started the conversation

    Hello, I recently purchased martfury and running successfully. I want to customize the martfury but when I saw the code I was wondered. It is not like the laravel way of coding, it's totally different. Can you please tell me a little bit about the coding structure used in martfury so that I can understand better?

  •  3,821
    Support replied

    Hi,

    Our source code is using modular structure. 

    All of our source code are located in /platform folder.

    Core: platform/core

    Plugins: platform/plugins

    Theme: platform/themes/martfury.

    Source code for ecommerce features in platform/plugins/ecommerce.

    Controllers: platform/plugins/ecommerce/src/Http/Controllers

    Routes: platform/plugins/ecommerce/routes

    Views: platform/plugins/ecommerce/resources/views.

    If you just want to modify theme, you just need to care about folder platform/themes/martfury.

  • Prakash Poudel replied

    how do I make migrations, modules, controllers, is there any specific approach/commands or it will work php artisan make:migration as it is?

  • Prakash Poudel replied

    Another question, to change the css and js, can I directly edit the files in public folder or need to compile scss?

  •  3,821
    Support replied

    1. You need to add --path.

    Example: php artisan make:migration do_something_change --path=platform/plugins/ecommerce/database/migration

    2. Yes,  you can.