ernestdefoe / maintenance
Run migrations and publish assets from the Flarum admin dashboard — no terminal needed.
Package info
github.com/ernestdefoe/maintenance
Type:flarum-extension
pkg:composer/ernestdefoe/maintenance
v1.0.0
2026-07-05 18:55 UTC
Requires
- php: ^8.2
- flarum/core: ^2.0
README
A Flarum 2 extension. Adds Run Migrations and Publish Assets to the admin dashboard's tools menu — right beside Clear Cache, System Info and Toggle Advanced Page — so you can finish an extension install or update without ever opening a terminal.
Features
- Run Migrations — the in-process equivalent of
php flarum migrate: runs outstanding core and extension migrations, then reloads the admin so everything picks up the changes. - Publish Assets — the equivalent of
php flarum assets:publish: republishes core fonts and every enabled extension's assets. - Admin-only (both endpoints reject non-admins), and each run reports exactly what it did.
- Perfect companion to the Extension Manager on shared hosting.
- Fully translatable.
Installation
composer require ernestdefoe/maintenance php flarum cache:clear
Updating
composer update ernestdefoe/maintenance php flarum cache:clear