Please give some reference site for creating a simple extension for civicrm with sample example. Any simple extension on GitHub.

3 Answers 3


You need to install civix to create civicrm extension and then follow documentation for creating module extension. There are many examples of extension under civicrm.org. The easiest one to start would be

Ref: https://www.youtube.com/watch?v=lrk8X_jt0wU




As a first step I would go check the Developer Guide here: https://docs.civicrm.org/dev/en/latest/extensions/

  • Actually I tried it from last 4 days. I install civix also. I want to create simple question and answer web form. How can I do that?
    – Dipak Giri
    Commented Oct 12, 2018 at 10:22
  • 1
    Do you want the form to be in CiviCRM or on the website? Do you understand the relationship between your website and CiviCRM? Commented Oct 12, 2018 at 12:56
  • have you thought about doing this via the CMS eg Caldera (WP) or Webform (D)?
    – petednz - fuzion
    Commented Mar 4, 2020 at 9:53
  1. First install civix and create a extension in [civicrm.files]/ext/ folder. The extensions folder will have all the extension you create in future.
  2. Move to that extension folder and generate a new extension by executing civix generate:module <your_extension_name> --license=AGPL-3.0 command.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.