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

## 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
- Copy the template into
README.mdat the theme's root. - Replace every value with what is true for your theme. Write only versions you tested.
- Run every command in the README on a test installation and correct what does not work.
- 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.
Related pages
- A README that explains and sells
- INSTALL.md and CHANGELOG.md
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
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.