PHPackages                             fof/console - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. fof/console

AbandonedArchivedLibrary[CLI &amp; Console](/categories/cli)

fof/console
===========

Register custom commands and task scheduling into Flarum

0.7.0(5y ago)331.6k1[2 issues](https://github.com/FriendsOfFlarum/console/issues)4MITPHP

Since Jul 24Pushed 5y ago2 watchersCompare

[ Source](https://github.com/FriendsOfFlarum/console)[ Packagist](https://packagist.org/packages/fof/console)[ Fund](https://opencollective.com/fof)[ RSS](/packages/fof-console/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)Dependencies (5)Versions (18)Used By (4)

Console
=======

[](#console)

[![MIT license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/friendsofflarum/console/blob/master/LICENSE.md) [![Latest Stable Version](https://camo.githubusercontent.com/48f01cbc990f173d53b751414d0167d631beef5741da2a58c18236ad0df765e9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666f662f636f6e736f6c652e737667)](https://packagist.org/packages/fof/console) [![Total Downloads](https://camo.githubusercontent.com/405ba122b07e3d7f62eb5432cd8cef3ff2a13316e74a168dfcab643ff6980919/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666f662f636f6e736f6c652e737667)](https://packagist.org/packages/fof/console)

This package is meant for extension developers and offers the ability to add task scheduling to Flarum.

Use in your extension
---------------------

[](#use-in-your-extension)

The real deal is using it in your own extension. Simply require it in your extension `composer.json` file:

```
    "require": {
        "fof/console": "^0.6"
    },
```

Now make sure the `ConsoleProvider` is registered inside Flarum. There's an Extender that helps you with that, inside your `extend.php` add:

```
return [
    new \FoF\Console\Extend\EnableConsole,
  // .. your code
];
```

Task Scheduling, cron jobs
--------------------------

[](#task-scheduling-cron-jobs)

To set a schedule, create a [Service Provider](https://laravel.com/docs/5.7/packages#service-providers) which resolves the `Illuminate\Console\Scheduling\Schedule` through IoC, then use its methods to configure the schedule for the command, see the [Task Scheduling documentation](https://laravel.com/docs/5.7/scheduling#defining-schedules).

Links
-----

[](#links)

- [Source code on GitHub](https://github.com/FriendsOfFlarum/console)
- [Report an issue](https://github.com/FriendsOfFlarum/console/issues)
- [Download via Packagist](https://packagist.org/packages/fof/console)
- [Discuss](https://discuss.flarum.org/d/7161)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance7

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 72.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~88 days

Recently: every ~34 days

Total

16

Last Release

1894d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16573496?v=4)[IanM](/maintainers/imorland)[@imorland](https://github.com/imorland)

![](https://avatars.githubusercontent.com/u/1630413?v=4)[Gregor Hammerschmidt](/maintainers/GreXXL)[@GreXXL](https://github.com/GreXXL)

![](https://www.gravatar.com/avatar/0538135c1debcef5602dce7ece027909cc832b7a6284ab9189a19aa8de98d60d?d=identicon)[clarkwinkelmann](/maintainers/clarkwinkelmann)

![](https://www.gravatar.com/avatar/1298cdc0b2402a1aa34fb75a254947d655e090d62bd0531311331d369cac934e?d=identicon)[datitisev](/maintainers/datitisev)

---

Top Contributors

[![luceos](https://avatars.githubusercontent.com/u/504687?v=4)](https://github.com/luceos "luceos (26 commits)")[![clarkwinkelmann](https://avatars.githubusercontent.com/u/5264300?v=4)](https://github.com/clarkwinkelmann "clarkwinkelmann (4 commits)")[![davwheat](https://avatars.githubusercontent.com/u/7406822?v=4)](https://github.com/davwheat "davwheat (3 commits)")[![askvortsov1](https://avatars.githubusercontent.com/u/38059171?v=4)](https://github.com/askvortsov1 "askvortsov1 (1 commits)")[![dsevillamartin](https://avatars.githubusercontent.com/u/6401250?v=4)](https://github.com/dsevillamartin "dsevillamartin (1 commits)")[![imorland](https://avatars.githubusercontent.com/u/16573496?v=4)](https://github.com/imorland "imorland (1 commits)")

---

Tags

command-linecustom-commandsflarumflarum-extensionconsolecronextensionflarumcronjob

### Embed Badge

![Health badge](/badges/fof-console/health.svg)

```
[![Health](https://phpackages.com/badges/fof-console/health.svg)](https://phpackages.com/packages/fof-console)
```

###  Alternatives

[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)[crunzphp/crunz

Schedule your tasks right from the code.

2292.0M6](/packages/crunzphp-crunz)[shapecode/cron-bundle

This bundle provides scheduled execution of Symfony commands

59493.0k2](/packages/shapecode-cron-bundle)[hmazter/laravel-schedule-list

Laravel package to add command to list all scheduled artisan commands

94432.8k](/packages/hmazter-laravel-schedule-list)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
