About Flourish for ProcessWire

Adds auto-loading functionality of Flourish classes to your PW install.

Category Development Tools
Modules that have more to do with assisting development of a site rather than managing its content.
Release StateStable
Should be safe for use in production environments. *
Authoradamkiss
Module Version0.9.0
Class NameLibFlourish
Compatibility2.2, 2.3, 2.4
Date AddedFebruary 7, 2013
Recommended ByNew recommendations may take up to 1 day to appear.

Instructions

  • Use Modules Manager to install
  • or download & copy to site/modules/

then in your code:
Code:
// in templates $modules->get('LibFlourish'); // in modules $this->modules->get('LibFlourish'); // anywhere else wire('modules')->get('LibFlourish');

README

Flourish for ProcessWire v0.9.0

ProcessWire wrapper around the great unframework Flourish.

This module has the same version as the framework, so whenever update happens, your Modules Manager will pick up new version and update the framework to latest version (if you're into that!).

Happy hacking.


Installation

  • via Modules Manager (recommended)
  • Download into /site/modules/ and install

Usage

Anywhere you need to use Flourish library, make following call:

  // in templates
  $modules->get('LibFlourish');

  // in modules
  $this->modules->get('LibFlourish');

  // anywhere else
  wire('modules')->get('LibFlourish');

This inits the sole function of this wrapper – spl_autoloader for Flourish – so you now can freely use your Flourish powered code.

License

Wrapper – the module itself are licensed under WTFPL and were created by Adam Kiss. Flourish classes are licensed under MIT License and created by Will Bond. Thanks Will.