2017 © Pedro Peláez
 

composer-plugin aist-themes

Zend Framework 2 module that allows developers install & switch between various themes for their projects.

image

aist/aist-themes

Zend Framework 2 module that allows developers install & switch between various themes for their projects.

  • Monday, May 12, 2014
  • by aist
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

AistThemes

Zend Framework 2 module that allows developers install & switch between various themes for their projects., (*1)

Build Status Latest Stable Version Total Downloads Latest Unstable Version License, (*2)

Features

  • Theme Installer

Requirements

  • php >= 5.3.3
  • zendframework >= 2.2.6
  • composer
  • See also the require, require-dev section of composer.json

Installation using Composer

  1. Open console (command prompt)
  2. Go to your application's directory.
  3. Run composer require aist/aist-themes:dev-master

Configuration

  1. Enable module in your application.config.php file.
<?php
return array(
    'modules' => array(
        // ...
        'AistThemes',
    ),
    // ...
);

Theme Installer

AistThemes relies on specific directory locations for templates and plugins. By default Composer is unable to install in an other directory than /vendor except when using a Custom Installer., (*3)

This Theme Installer for Composer will trigger on the following library types and provide custom behaviour for those., (*4)

  • aist-theme, install files into /data/themes instead of /vendor

Creating your own themes

In order to tell a theme to use this installer you need to add the following composer.json, (*5)

{
    "name": "aist/theme-$NAME$",
    "type": "aist-theme",
    "require": {
        "aist/aist-themes": "*"
    }
}

The type element will instruct Composer to use this Theme Installer., (*6)

Contributing

Pull requests are welcome. Please include tests to prevent regressions whenever possible., (*7)

TODO

  • [ ] update tests
  • [x] add travis
  • [ ] update composer.json
  • [ ] generate documentation

The Versions

12/05 2014

dev-master

9999999-dev http://projects.mateuszsitek.com/aist-themes

Zend Framework 2 module that allows developers install & switch between various themes for their projects.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

template zf2 theme