Skip to content

Repository files navigation

coolms/theme-default

CI PHP License

The default CoolMS theme: Bootstrap styling over server-rendered DTMPL templates

A theme is not a module. It owns no domain and no storage: it implements a small provider port, ships templates and assets, and wires them into the container. That is why this package extends Symfony's Bundle rather than AbstractCoolmsBundle, and why it requires coolms/core -- the contract -- and not coolms/coolms, which is a deployment.

Installation

composer require coolms/theme-default
// config/bundles.php
CoolMS\ThemeDefault\ThemeDefaultBundle::class => ['all' => true],
bin/console coolms:theme:install coolms-default
bin/console coolms:theme:activate coolms-default

What it is

slug coolms-default
front-end stack ssr
manifest theme.yaml

Contracts it implements

  • CoolMS\Core\Theme\ThemeAssetsProviderInterface
  • CoolMS\Core\Theme\ThemeProviderInterface

Both live in coolms/core as of. Before that they were application classes, which is what made a theme unpublishable.

Branches

develop is the default and where work lands; main carries releases. The package is not tagged yet -- the platform generation ships as 2.0.0-alpha.N first, and the lockstep set is tagged together.

About

The default CoolMS theme: Bootstrap styling over server-rendered DTMPL templates

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages