<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dolibarr.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Indrawan</id>
	<title>Dolibarr ERP CRM Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dolibarr.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Indrawan"/>
	<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php/Special:Contributions/Indrawan"/>
	<updated>2026-10-30T03:20:25Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Developer_documentation&amp;diff=51886</id>
		<title>Developer documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Developer_documentation&amp;diff=51886"/>
		<updated>2021-08-22T22:56:28Z</updated>

		<summary type="html">&lt;p&gt;Indrawan: Minor formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;seo metak=&amp;quot;developer, development, documentation, guide, doc, tutorial, usage, help, api, coding, standard, rules&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This page is main index of documents relating to developer documentation. For user documentation [[User documentation|see here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Development organization and tools=&lt;br /&gt;
This chapter contains global information that must be read before starting any development on Dolibarr.&lt;br /&gt;
&lt;br /&gt;
#[[Dolibarr Project|Organization of project]]&lt;br /&gt;
#[[To known before to start|To be known before starting to develop]]&lt;br /&gt;
#[[Environment and development tools]]&lt;br /&gt;
#[[Dependencies and external libraries]]&lt;br /&gt;
#[[FAQ_Get,update_project_sources|Get or update sources of a development version]]&lt;br /&gt;
&lt;br /&gt;
=Coding rules and best practices=&lt;br /&gt;
&lt;br /&gt;
#[[Prerequisite|Prerequisites]]&lt;br /&gt;
#[[Language and development rules|Language and development rules (PHP, SQL, HTML)]]&lt;br /&gt;
#[[:Category:Table SQL|List of tables]]&lt;br /&gt;
#Tree structure of files and classes are available in the [http://doxygen.dolibarr.org/ doxygen generated documentation]&lt;br /&gt;
&lt;br /&gt;
=List of modules=&lt;br /&gt;
Technical documentation on standard business modules is available in each module&#039;s developer documentation pages. Choose the appropriate page you are interested in:&lt;br /&gt;
&lt;br /&gt;
*[[:Category:List of Modules (developer)‎|List of standard modules]]&lt;br /&gt;
*[[:Category:Complementary modules|List of complementary modules]]&lt;br /&gt;
&lt;br /&gt;
=To develop a new module/addon for GUI=&lt;br /&gt;
This section describes how to develop a new module changing the Dolibarr user interface. This can be screens, themes, data, its own CSS stylesheet, source code or all of this.&lt;br /&gt;
&lt;br /&gt;
Script development is not included in this section (this is described in the next chapter).&lt;br /&gt;
&lt;br /&gt;
To develop your own module, check the [[Module development]] tutorial.&lt;br /&gt;
&lt;br /&gt;
=To develop a batch or command line script=&lt;br /&gt;
This chapter describes how to develop command line scripts to execute tasks in Dolibarr (read, update data...).&lt;br /&gt;
&lt;br /&gt;
Making modifications to the graphical user interface (GUI) is not included in this chapter. See the previous chapter for this.&lt;br /&gt;
&lt;br /&gt;
To develop a script, like a cron script or a command line import tool to import data from an external source, you can have a look at the [[Script development]] page.&lt;br /&gt;
&lt;br /&gt;
=Technical components of Dolibarr=&lt;br /&gt;
==Tree structure==&lt;br /&gt;
The path hierarchy of the current version files is available from the [http://doxygen.dolibarr.org/ doxygen generated documentation] (similar to generated &amp;quot;javadoc&amp;quot; documentation).&lt;br /&gt;
&lt;br /&gt;
Paths to use to add new files by a new module are defined in the documentation to develop a new module (see [[Module development]]).&lt;br /&gt;
&lt;br /&gt;
==Setup storage==&lt;br /&gt;
There are 3 places for Dolibarr setup parameters.&lt;br /&gt;
&lt;br /&gt;
*Dolibarr technical setup parameters (authentication mode, database logins and storage area for files) are defined in only one setup file: &amp;lt;code&amp;gt;/conf/conf.php&amp;lt;/code&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
:See [[Configuration file]] for more information.&lt;br /&gt;
&lt;br /&gt;
*Global features parameters are stored in [[Table llx_const]].&lt;br /&gt;
&lt;br /&gt;
:See the [[Constants]] page for more information.&lt;br /&gt;
&lt;br /&gt;
*Feature parameters specific to a user are stored in [[Table llx_user_param]].&lt;br /&gt;
&lt;br /&gt;
==Business objects==&lt;br /&gt;
See [[Business Objects]] &lt;br /&gt;
&lt;br /&gt;
==Menus system==&lt;br /&gt;
See [[Menus system]] &lt;br /&gt;
&lt;br /&gt;
==Tabs system==&lt;br /&gt;
See [[Tabs system]] &lt;br /&gt;
&lt;br /&gt;
==Skins system==&lt;br /&gt;
See [[Skins]] &lt;br /&gt;
&lt;br /&gt;
==Widget system==&lt;br /&gt;
See [[Widget system]]&lt;br /&gt;
&lt;br /&gt;
==Authentication system==&lt;br /&gt;
See [[Authentication]] &lt;br /&gt;
&lt;br /&gt;
==Permission system==&lt;br /&gt;
See [[Permissions En|Permissions]] &lt;br /&gt;
&lt;br /&gt;
==Translation system==&lt;br /&gt;
See [[Translation system]] &lt;br /&gt;
&lt;br /&gt;
==Error management==&lt;br /&gt;
See [[Error reporting|Error reporting]] &lt;br /&gt;
&lt;br /&gt;
==Canvas system==&lt;br /&gt;
Canvas is a developer feature to replace screens to create, update or view a record (products, thirdparties, contacts, ...). For example, you can replace the input form used to create a new third party, or its editing form, or replace its viewing template.&lt;br /&gt;
 &lt;br /&gt;
See [[Canvas development]] &lt;br /&gt;
&lt;br /&gt;
==Triggers system==&lt;br /&gt;
Triggers are a development feature to execute personalized code during a Dolibarr &amp;quot;business event&amp;quot; (creation of an invoice, deleting a user, update of third party, etc...), and only for a business event. To personalize code for other contexts, see the &#039;&#039;&#039;Hooks system&#039;&#039;&#039; chapter instead.&lt;br /&gt;
&lt;br /&gt;
For triggers usage, see [[Interfaces Dolibarr toward foreign systems|this page]].&lt;br /&gt;
&lt;br /&gt;
==Hooks system==&lt;br /&gt;
See [[Hooks system]] &lt;br /&gt;
&lt;br /&gt;
==Variable substitution system==&lt;br /&gt;
See [[Variable substitution system]] &lt;br /&gt;
&lt;br /&gt;
==Web services==&lt;br /&gt;
Dolibarr can be setup to provide some services.&lt;br /&gt;
&lt;br /&gt;
See [[Module Web Services API REST (developer)]] &lt;br /&gt;
&lt;br /&gt;
Note: The [[Module Web Services API SOAP (developer)]] is deprecated.&lt;br /&gt;
&lt;br /&gt;
==Files/Documents storage management==&lt;br /&gt;
See [[Generated documents]] &lt;br /&gt;
&lt;br /&gt;
==Numbering modules==&lt;br /&gt;
For each entity created in the application, Dolibarr assigns a reference. In order to adapt the reference to any use, Dolibarr use modules to define the reference generation rule. Several standard modules are supplied. Some are generic and are used to define the numbering mask (number on x characters, with or without prefix, including the date or not, etc.), which can meet most needs. However, there are still cases where the modules provided don&#039;t meet the needs. In this case it is necessary to develop a custom numbering module.&lt;br /&gt;
&lt;br /&gt;
For more information, see [[Create numeration module|Create numbering module]].&lt;br /&gt;
&lt;br /&gt;
==Document templates and documents generation==&lt;br /&gt;
&lt;br /&gt;
More documentation about document generation from templates is available to [[Create a PDF document template]] or [[Create an ODT document template]].&lt;br /&gt;
&lt;br /&gt;
==Extrafields==&lt;br /&gt;
See [[Extrafields]] &lt;br /&gt;
&lt;br /&gt;
==Other internal function==&lt;br /&gt;
There are many internal libraries your code can use.&lt;br /&gt;
You may find a lot of generic functions in the functions.lib.php, functions2.lib.php or admin.lib.php. Any function found in htdocs/core/lib/*.lib files can be used.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To specify a requirement based on Dolibarr version number&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For example, to make a condition based on requiring Dolibarr version &amp;gt; 3.5, you can use versioncompare and versiondolibarrarray found in admin.lib.php:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
if (versioncompare(versiondolibarrarray(), array(3,5,0)) &amp;gt; 0)&lt;br /&gt;
{&lt;br /&gt;
 ...&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Mass exports/imports=&lt;br /&gt;
&lt;br /&gt;
#[[Mass imports]]&lt;br /&gt;
#[[Module Exports En|Mass exports]]&lt;br /&gt;
&lt;br /&gt;
=Interfaces and links with other applications=&lt;br /&gt;
&lt;br /&gt;
#[[Interfaces Dolibarr toward foreign systems]] or Dolibarr toward Dolibarr (Dolibarr Triggers or Hooks)&lt;br /&gt;
#[[Interfaces from foreign systems toward Dolibarr]]&lt;br /&gt;
&lt;br /&gt;
=FAQ=&lt;br /&gt;
All FAQs are available through the FAQ index page [[:Category:FAQ EN|FAQ EN]]&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Indrawan</name></author>
	</entry>
</feed>