uom-plg/sample

Example Tk2 Lib plugin

1.0.2 2019-05-29 00:00 UTC

This package is auto-updated.

Last update: 2024-04-29 05:05:48 UTC


README

Project: ttek-plg/sample
Published: 01 Sep 2016 Web: http://www.tropotek.com/
Authors: Michael Mifsud http://www.tropotek.com/

An sample Plugin for the new Tk2 plugin system. Use this to create your own plugins.

Contents

Installation

Available on Packagist (ttek-plg/sample) and as such installable via Composer.

# composer require ttek-plg/sample

Or add the following to your composer.json file:

{
  "ttek-plg/sample": "~1.0"
}

If you do not use Composer, you can grab the code from GitHub, and use any PSR-0 compatible autoloader (e.g. the plg-sample) to load the classes.

Introduction

NOTE: When creating plugins that will not be installed via composer be sure that you use a single name as the plugin name (as the sample) as that will become its namespace. If you do use Composer then you can create custom namespaces in the composer.json file of the plugin.