Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,075 of 9,075 pages
About the help in other languages
All help pages

Writing the README of a theme

The sections a theme's README.md needs - what it is, a screenshot, requirements, install, switch on, configure, license and support - in the order a reader looks for them, with a template to copy.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/extensions/readme-for-a-theme.md

On this page

Writing the README of a theme

This page is for designers preparing a theme repository. The README is the first page people see on GitHub and on Packagist. It decides whether they try the theme.

The sections, in order

  1. Name and one sentence: what the theme is and for which sites.
  2. A screenshot of the front page (Screenshots for a theme).
  3. Requirements: the Exponential versions and PHP versions you tested, and any extension it needs.
  4. Install: with Composer, and by copying the folder.
  5. Switch it on: the settings lines, the autoload and cache commands.
  6. Configure: its own settings file and the values worth changing.
  7. What is inside: the design names, the siteaccess settings, operators, packages.
  8. License and third-party notices.
  9. Support and issues: where to report a problem, and how to report a security issue privately.
  10. Changelog: a link to CHANGELOG.md.

A template to copy

# My Theme

A responsive theme for Exponential 6 sites with articles, events and a blog.

![The front page in light mode](doc/screenshots/front-light.png)

## Requirements

- Exponential 6.0 (tested with 6.0.15), PHP 8.0 to 8.5

## Install

```bash
composer require yourvendor/mytheme
```

## Switch it on

Add `ActiveExtensions[]=mytheme` to `[ExtensionSettings]` and `SiteDesign=mytheme` to the siteaccess, then:

```bash
php bin/php/ezpgenerateautoloads.php -e
php bin/php/ezcache.php --clear-all
```

## License

GNU General Public License v2.0 or later; see LICENSE. Fonts: see design/mytheme/fonts/LICENSE.

## Support

Issues: https://github.com/yourvendor/mytheme/issues. Security problems: see SECURITY.md.

Step by step

  1. Copy the template into README.md at the theme's root.
  2. Replace every value with what is true for your theme. Write only versions you tested.
  3. Run every command in the README on a test installation and correct what does not work.
  4. Read it on GitHub after the first push; fix broken images and links.

Good practice

  • Write in American English and call the product Exponential.
  • Keep install commands copyable: no prompts, no placeholders inside a command without saying so.
  • Never paste credentials, hostnames of real customers or personal data into a README.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x