Download the PHP package matycz/lemo-theme without Composer
On this page you can find all versions of the php package matycz/lemo-theme. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package lemo-theme
Lemo\Theme
Lemo\Theme is a Zend Framework 2 module that allows you to switch between various themes. It allows you to create various themes and then switch between them. Themes can be installed in multiple folders.
The current theme can be defined in global.ini or local.ini for whole application. For the module you can set default theme
in module.config.php. You can switch theme from any place in application by ServiceManager from instance of ThemeManager too.
Installation
Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.
cd my/project/directory-
Create a
composer.jsonfile with following contents: - Run
php composer.phar install - Open
my/project/directory/config/application.config.phpand add module nameLemo\Themeinto keymoduleslike below:
Installation without composer is not officially supported, and requires you to install and autoload
the dependencies specified in the composer.json.
Documentation
In configuration files you can set the default theme that should be used, the list of directories that should be used for selecting the current theme as listed bellow:
'theme_manager' => array(
'theme' => 'default',
'theme_paths' => array(
'./theme/'
),
),
To get a basic theme up and running you can just copy the default one from examples/theme folder into the theme folder in application root or create a
new one by following the tutorial bellow. Make sure that the theme option is set the the name of your new theme.
Examples
All versions of lemo-theme with dependencies
laminas/laminas-eventmanager Version ^3.0
laminas/laminas-mvc Version ^3.0
laminas/laminas-servicemanager Version ^3.0
laminas/laminas-stdlib Version ^3.0
laminas/laminas-view Version ^2.0
php Version ^7.4 || ^8.0