Help with Creating a Module from Scratch and Adding it to Dolibarr CRM

Hello everyone,

I am currently working on creating a custom module for Dolibarr CRM and would greatly appreciate any guidance or resources that could help me through the process. Specifically, I need assistance with the following:

  1. Steps to Create a Module from Scratch: What are the basic steps to follow when building a module from scratch in Dolibarr? Are there any specific templates or structures that I should follow?
  2. Module Structure: I understand that modules have a specific structure. Could someone explain how to organize the files and directories for a new module (e.g., where to place core files, admin configurations, SQL scripts, etc.)?
  3. Integration with Dolibarr CRM: Once the module is developed, how do I integrate it with the Dolibarr CRM? Are there any specific configuration or setup steps to ensure the module works seamlessly with the CRM system?
  4. Best Practices: Are there any best practices I should keep in mind when developing modules for Dolibarr, especially related to performance, security, and compatibility?
  5. Documentation or Tutorials: If there are any helpful tutorials, documentation, or examples of similar modules, I would greatly appreciate it if you could share them.
1 Like

Hello,

I think you first need to read that : Module development - Dolibarr ERP CRM Wiki
And use

Hello,

I’m currently learning how to create and customize modules in Dolibarr using the build module tool. I would appreciate it if you could share any video tutorials, articles, or practical guides that explain the process step-by-step. Specifically, I’d like to understand how to work with the build module feature and make changes like updating icons or customizing functionality.

Thank you in advance for your help!

is this on the wiki somewhere @anixcomru3, because if not I think it should be. Or possibly a video.

@Yassine
The only correct answer is from @ksar
If you want to learn read those and take a look here

You can also find existing free modules in Github and Dolistore and recreate their features for practice

@adilhassan @anixcomru3 you are both welcome to Dolibarr community but please do not pollute the forum with AI garbage.

1 Like