ttek / tk-installers
Tropotek installer plugins
Installs: 1 238
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 0
Type:composer-plugin
Requires
- php: ^8.1
- composer-plugin-api: ^2.0
Requires (Dev)
- composer/composer: ^2.0
- dev-master
- 8.0.x-dev
- 8.0.14
- 8.0.12
- 8.0.10
- 8.0.8
- 8.0.6
- 8.0.4
- 8.0.2
- 8.0.0
- 7.0.x-dev
- 4.0.x-dev
- 3.2.x-dev
- 3.2.12
- 3.2.10
- 3.2.8
- 3.2.6
- 3.2.4
- 3.2.2
- 3.2.0
- 3.0.x-dev
- 3.0.26
- 3.0.24
- 3.0.22
- 3.0.20
- 3.0.18
- 3.0.16
- 3.0.14
- 3.0.12
- 3.0.10
- 3.0.8
- 3.0.6
- 3.0.2
- 3.0.0
- 2.0.20
- 2.0.18
- 2.0.16
- 2.0.14
- 2.0.12
- 2.0.10
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- dev-ver2
- dev-ver1
This package is auto-updated.
Last update: 2024-11-07 22:20:59 UTC
README
Project: ttek/tk-installers
Web: http://www.tropotek.com/
Authors: Michael Mifsud http://www.tropotek.com/
Reference: https://getcomposer.org/doc/articles/custom-installers.md
This lib is used by composer when using the update/install command.
Contents
Installation
Available on Packagist (ttek/tk-installers) and as such installable via Composer.
composer require ttek/tk-installers
Or add the following to your composer.json file:
"ttek/tk-installers": "~3.0"
If you do not use Composer, you can grab the code from GitHub, and use any PSR-0 compatible autoloader (e.g. the PHP DomTemplate) to load the classes.
Introduction
The main aim of this project is to allow for the Tk libs to build packages that install
to other directories other than the vendor
directory.
Tk projects also contain:
assets
A folder to store media, css and Javascript packages if requiredplugins
A folder for plugins that some sites may want to implement.theme
A folder for your site themes
The InitProject Event object is used when the composer update/install command is run. This first checks for a config.php and a .htaccess and if they do not exist it then creates them from the .htaccess.in and config.php.in if they are readable. It also creates a data folder and makes it writable.