The marketplace extension that allows you to add and remove extensions without composer or a terminal.
Read the disclaimers!
For a complete overview of our changes, please visit the changelog on Github.
composer require extiverse/bazaar
Make sure that the following directories and files are writable by the web/php user:
composer.json
composer.lock
vendor/
composer update extiverse/bazaar
php flarum migrate
php flarum cache:clear
Enable the extension under the extensions tab in the admin area. A settings modal will popup asking you for a token, which most likely will already be there. You're good to go, open the Bazaar tab on the left and enjoy!
For version 0.3 and up (for Flarum 0.1.0-beta.8+) please do consider to enable cron processing. Cron processing considerably speeds up actions on your extensions by moving those tasks outside of your current request.
Bazaar connects to flagrow.io to provide up-to-date extension list and metadata. This data is refreshed periodically via the Packagist API. It takes around five minutes for the website to pick up new extensions, existing extensions are synced every hour.
This means you don't have anything particular to do to get your extension inside Bazaar.
However here are a few additional steps you can take to improve the way your extension looks (check these keys in your composer.json
file):
license
key so everybody know what they can do with your code.authors
key so we can list them.extra.flarum-extension.title
. This value is used with the tags to provide search.extra.flarum-extension.icon
setting to your extension, it looks a lot better with an icon.extra.flagrow.discuss
key to link your extension with its discussion on Flarum Discuss. Must be a valid url starting with https://discuss.flarum.org/d/
.If you discover a security vulnerability within Bazaar, please send an email to the Flagrow team at security@flagrow.io. All security vulnerabilities will be promptly addressed.
Please include as many details as possible. You can use php flarum info
to get the PHP, Flarum and extension versions installed.
Please get in touch with us on our issue tracker.