Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Packagist Build Status

Tool Labs Base

Install

It's recommended you use Composer.

  • Run composer require Krinkle/toollabs-base.
  • Create a symlink from "base/" in your application's root public directory (e.g. public_html) to vendor/krinkle/toollabs-base/public_html.
  • Include vendor/autoload.php in your program.

Example

require_once __DIR__ . '/vendor/autoload.php';
// require_once __DIR__ . '/config.php';

$kgBase = BaseTool::newFromArray( array(
	'displayTitle' => 'Example',
	'remoteBasePath' => dirname( $_SERVER['PHP_SELF'] ),
) );
$kgBase->flushMainOutput();

See Template for an example.

Versioning

This library follows the Semantic Versioning guidelines.

Releases will be numbered in the following format: <major>.<minor>.<patch>.

About

Framework for web applications running on Wikimedia Toolforge.

Resources

License

You can’t perform that action at this time.