PHPackages                             annotatecms/themes - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. annotatecms/themes

Abandoned → [annotate/themes](/?search=annotate%2Fthemes)Library[Framework](/categories/framework)

annotatecms/themes
==================

Themes support for Annotate Framework

32861[1 issues](https://github.com/annotatecms/themes/issues)PHP

Since Jan 21Pushed 8y ago3 watchersCompare

[ Source](https://github.com/annotatecms/themes)[ Packagist](https://packagist.org/packages/annotatecms/themes)[ RSS](/packages/annotatecms-themes/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Travis](https://camo.githubusercontent.com/1f31299f88ebac9297f09fd7cc934233560d13e4832c77f57081663aa52e2cb4/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f416e6e6f746174654672616d65776f726b2f7468656d65732e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/AnnotateFramework/themes)[![Code Climate](https://camo.githubusercontent.com/50b45841eb21d089fcdc8dda1654cd86c28cc3a742353bb75e78be60e664efbd/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f416e6e6f746174654672616d65776f726b2f7468656d65732e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/AnnotateFramework/themes)[![Code Climate](https://camo.githubusercontent.com/88b7f20cfd5289ee41d5da86355436bbbcf2e748617a223cf3ee683111833d6b/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f636f7665726167652f6769746875622f416e6e6f746174654672616d65776f726b2f7468656d65732e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/AnnotateFramework/themes)

[![Packagist](https://camo.githubusercontent.com/a0a3de756ea74be3978b29db7e3f01b3a77627cc4352cd7955a046898480626c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616e6e6f746174652f7468656d65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/annotate/themes)[![Packagist](https://camo.githubusercontent.com/48d8496d4b4bf549fa86bcd8e45307cd2f24dad596c69d1b7e1c96e099b50746/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f616e6e6f746174652f7468656d65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/annotate/themes)[![Packagist](https://camo.githubusercontent.com/883735c9e7fb90f5a387a48c8641a9a785e30987df5e3d16292c3c9001102b1a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64642f616e6e6f746174652f7468656d65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/annotate/themes)[![Packagist](https://camo.githubusercontent.com/b47d2905a9b821f74fda063d226132ec0b40bb5ae857eddc0c5942b1b42cc0d8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616e6e6f746174652f7468656d65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/annotate/themes)

Themes package for Annotate Framework
=====================================

[](#themes-package-for-annotate-framework)

This package provides powerfull themes support. You can create theme and override every template in theme.

Requirements
------------

[](#requirements)

Themes extension requires [annotate/templating](https://github.com/AnnotateFramework/templating). Register its extension to your neon config too.

Installation
------------

[](#installation)

Require this extension by [Composer](http://getcomposer.org)

```
$ composer require annotate/themes:~2.1.0
```

Register extension into configuration:

```
extensions:
    templating: Annotate\Templating\DI\TemplatingExtension
    themes: Annotate\Themes\DI\ThemesExtension
```

Configure
---------

[](#configure)

Themes path is configurable via Neon. Default `directory` value is `%appDir%/app/addons/themes/`. To change themes open app/config/app.neon and add following configuration:

```
themes:
    directory: %appDir%/app/

```

Now edit any of your presenters:

```
class FrontendPresenter extends Nette\Application\UI\Presenter
{

	use Annotate\Themes\ThemedPresenter;

	/** @var Annotate\Themes\Loaders\ThemesLoader @inject */
	public $themesLoader;

	public function startup()
	{
		parent::startup();
		$this->themesLoader->activateTheme('theme name');
	}
}

```

Create theme
------------

[](#create-theme)

Create a file `theme_name.theme.neon` in themes directory with minimal structure:

```
name: My theme
```

Inheritance
-----------

[](#inheritance)

Themes support one level inheritance you can specify parent theme by `extends` option in neon file:

```
name: My theme
extends: theme
```

Loading templates
-----------------

[](#loading-templates)

After activating theme app will search for template files this way:

1. search for `%themeDir%/templates/%templateName`
2. in case theme extends another theme it seaches for `%anotherThemeDir%/templates/%templateName%`
3. if no template was found above it searches for file in normal "Nette" way

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/69644ddd5d745e260aa1a2be03ef188342c1f9f3ffa9d9ca9e2e87695d5c7274?d=identicon)[vysinsky](/maintainers/vysinsky)

---

Top Contributors

[![vysinsky](https://avatars.githubusercontent.com/u/3693578?v=4)](https://github.com/vysinsky "vysinsky (1 commits)")

### Embed Badge

![Health badge](/badges/annotatecms-themes/health.svg)

```
[![Health](https://phpackages.com/badges/annotatecms-themes/health.svg)](https://phpackages.com/packages/annotatecms-themes)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
