Maintenance
by ernestdefoe · Feature
Run migrations and publish assets from the Flarum admin dashboard — no terminal needed.
32 downloads
0 stars
v1.0.0
Updated
README
Maintenance
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