Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.
/ toolbelt Public archive

Re-usable components for your Flarum extensions

License

Notifications You must be signed in to change notification settings

flagrow/toolbelt

Repository files navigation

Toolbelt by flagrow logo flagrow

Support on patreon GitHub license Latest Stable Version Total Downloads

This is not an extension!

Toolbelt is a package meant for extension developers. It offers re-usable components and helper classes for both the back- and frontend of Flarum extensions.

use

Add to your extension composer.json:

  "require": {
    // ..
    "flagrow/toolbelt": "^0.1.0"
  }

Update your own package from the Flarum installation directory to install the new dependency;

composer update <vendor>/<package>

Now in your bootstrap.php:

return function (Flarum\Foundation\Application $app) {
    // Registers toolbelt locale, js and php namespace.
    $app->register(Flagrow\Toolbelt\Providers\ToolbeltProvider::class);
}

You might have other arguments in that function, just add the Application in addition.

links

A package by Flagrow, a project of Gravure.

About

Re-usable components for your Flarum extensions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published