Free Joomla Module Generator.
Build one namespaced module package for Joomla 4.4, 5 and 6: settings tabs, starter logic, assets, AJAX and update server, with every file previewed before you download.
- Utilities
- Runs in your browser
Start from
Pick a ready-made example or start blank. Your work saves in this browser as you type.
Module details
Leave empty to derive it from the name.
First part of the PHP namespace.
Optional override. Joomla adds \Site or \Administrator.
Joomla versions
One package for every version you tick. The manifest targets 4.4, 5.x, 6.x and the installer enforces Joomla 4.4.0+ on PHP 7.2.5+.
Starter logic
The helper code and layout your module starts with.
Fields and tabs
Each tab becomes a fieldset in the module settings. Drag the handle to reorder fields.
Assets and features
BEM classes and CSS custom properties, registered in joomla.asset.json.
Deferred vanilla script through the Web Asset Manager.
Only if a library needs it. Joomla 5 and 6 do not load jQuery by default.
Adds getAjax() for com_ajax and a refresh button. Checks access and menu assignment.
Adds the Caching options and wraps the helper in ModuleHelper::moduleCache().
Blocks installs on old PHP or Joomla and shows a welcome message.
Adds updateservers and changelog URLs, plus update.xml and changelog.xml to publish.
Legacy hardening some JED reviewers still ask for.
default.php is always included.
en-GB is always included.
mod_hello_world-1.0.0.zip
Acme\Module\HelloWorld\Site
- Joomla
- 4.4, 5.x, 6.x
- PHP
- 7.2.5+
- Files
- 0
Checks
Ready to install from System, Install, Extensions.
Preparing preview…Free module boilerplate
How to generate and install a Joomla module ZIP
The Joomla Module Generator builds a modern module package that installs on Joomla 4.4, 5 and 6: namespaced PHP, a service provider, a helper with real starter logic, translated settings and Web Asset Manager media. Use it instead of copying an old mod_* folder and renaming classes by hand.
- 01Load an example (hero banner, latest news, team members or API feed) or start blank, then set the module name, author and vendor.
- 02Tick the Joomla versions you support. Joomla 4.4, 5 and 6 can share one package; the PHP minimum follows the oldest version you tick.
- 03Pick the starter logic and choose Site or Administrator for where the module shows.
- 04Add settings tabs and fields, then set defaults, options and showon rules. Drag fields to reorder them.
- 05Switch on the features you need: stylesheet, JavaScript, AJAX refresh, caching, installer script, update server, extra layouts and languages.
- 06Check the file preview, download the ZIP, install it from System, Install, Extensions, then publish a module instance in a template position.
After install, module files live under modules/mod_yourname/ (or administrator/modules for admin modules) and media under media/mod_yourname/. Keep the manifest and language files in sync when you add settings so administrators can configure the module without editing PHP.
What the boilerplate contains
- mod_yourname.xml: manifest with namespace, target platform, settings tabs, media and optional SQL and update server
- services/provider.php: registers the dispatcher factory, helper factory and module service
- src/Dispatcher/Dispatcher.php: prepares layout data, with optional module caching
- src/Helper/YourNameHelper.php: the starter logic, with the database injected and an optional getAjax() method
- tmpl/default.php plus extra layouts: escaped output for every field you added
- language/en-GB/mod_yourname.ini and .sys.ini: every label, option, layout name and message
- Optional media/joomla.asset.json, css and js, script.php installer, sql folder and release/update.xml
The next coding step
- Put data loading in the helper and keep the dispatcher thin.
- Edit tmpl/default.php for markup; keep escaping values with $e() or htmlspecialchars.
- Add new settings in the manifest and their labels in the .ini language file together.
- Bump the version in the manifest, and in update.xml if you use an update server, before each release.
Need a custom module built?
This generator gives you a free starter ZIP. If you need business logic, integrations, or a module that ships as a maintained product, see Joomla module development or hire Joomla developers for scoped delivery across EU and US time zones.
Other free Joomla generators
How it works
How it works.
- 01
Pick an example or start blank, then enter the module name, author and vendor. The element and namespace fill in from the name.
- 02
Tick the Joomla versions to support: 4.4, 5.x and 6.x. The minimum Joomla and PHP versions update automatically.
- 03
Choose starter logic: blank, content block, latest articles, custom database table or remote JSON API.
- 04
Add settings tabs and fields from 25 Joomla field types, set defaults, options and showon rules, and drag to reorder.
- 05
Turn on the CSS, JavaScript, AJAX, caching, installer script and update server features you need, and add extra layouts or languages.
- 06
Browse every generated file in the preview and fix anything the checks flag.
- 07
Download the ZIP and install it from System, Install, Extensions, then publish the module in a position.
Features
A Joomla module package you can install today.
One package for Joomla 4.4, 5 and 6
Namespaced dispatcher, service provider and helper factory, with the manifest's target platform and the PHP minimum set from the versions you tick.
Starter logic that already works
Latest articles with access, language and routing, a custom table with install SQL, a remote JSON API with timeouts, or a content block with editor and image.
25 field types and settings tabs
Text, editor, media, color, switcher, category, tags, SQL lists and more, with options, defaults, required, filters and showon rules. Drag to reorder.
AJAX through com_ajax
Adds a getAjax() method that respects module access and menu assignment, plus a vanilla JavaScript refresh with translated status messages.
SQL install and schema updates
MySQL and PostgreSQL install, uninstall and update files for custom tables, wired into the manifest so Joomla tracks the schema version.
Web Asset Manager and layouts
CSS and JS registered in joomla.asset.json, BEM classes, optional jQuery, and extra template layouts with translated names in the layout picker.
Installer script and update server
Blocks installs on unsupported PHP or Joomla, shows a welcome message, and generates update.xml and changelog.xml for one-click updates.
Translated from the start
Every label, description, option and message goes into en-GB language files, with copies for any extra language tags you add.
Checks before you download
Flags duplicate or reserved parameter names, invalid namespaces, bad table names and missing options, so the package installs the first time.
Which Joomla versions does the generated module support?
Joomla 4.4, 5.x and 6.x, in any combination. One package covers every version you tick. The manifest's target platform, the minimum Joomla version and the minimum PHP version follow your choice: Joomla 4.4 included: PHP 7.2.5 or newer. Joomla 5 and newer: PHP 8.1 or newer. Joomla 6 only: PHP 8.3 or newer, and the newer database query API.
What is the difference between a Joomla module, plugin and component?
A module renders a block of content in a template position, such as a sidebar or footer. A plugin reacts to Joomla events. A component is a full application with its own pages and often an administrator area. Use this generator for modules and the Joomla Plugin Generator for event-driven extensions.
What structure does the generated module use?
The modern namespaced structure Joomla core modules use: services/provider.php registers the module, src/Dispatcher/Dispatcher.php prepares the layout data, and src/Helper holds your logic, loaded through the helper factory with the database injected. Layouts live in tmpl , media in media/mod_yourname .
How do I read a field's value in my module?
Every field you add is already read and printed safely in tmpl/default.php , so you can see the pattern. In your own code use $params->get('field_name', 'default') in the layout or the helper. Values are escaped by field type, for example editor HTML is passed through and text is escaped.
Can the module refresh its content with AJAX?
Yes. Turn on AJAX refresh and the helper gets a getAjax() method that Joomla's com_ajax calls. It loads the module by id, so access levels and menu assignment still apply, and returns JSON with your items. The JavaScript file adds a refresh button with translated loading and error messages.
How do I ship updates to sites that already have the module?
Turn on Update server and enter the URL of the folder where you will host updates. The manifest then points Joomla at your update.xml and changelog, and the preview includes both files plus release steps in the README. Bump the version, rebuild the ZIP and upload the three files. Sites see the update under System, Update, Extensions.
Is my module data sent to a server?
No. The files are generated and zipped in your browser. Your settings are saved only in this browser's local storage, and you can export them as a JSON file to continue later or on another computer.
Related tools
More Utilities tools.
Age Calculator
Calculate age from birth date
Arraygen
Generate arrays for development projects
Asciify
Convert text to ASCII art
Barcode Generator
Create barcodes for products quickly
Binary Operations
Perform operations on binary numbers
Binary Zero Counter
Count zeros in binary sequences
Birthday Countdown
Track birthdays with countdown timer, age calculator, and zodiac signs
Calorie Calculator
Calculate daily calorie requirements accurately
Built by Infyways
Need more than a tool.
These utilities are made by the Infyways studio. When a free tool is not enough, we build the real thing.