2017 © Pedro Peláez
 

flarum-extension console

Register custom commands and task scheduling into Flarum

image

flagrow/console

Register custom commands and task scheduling into Flarum

  • Wednesday, February 7, 2018
  • by clarkwinkelmann
  • Repository
  • 3 Watchers
  • 0 Stars
  • 349 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 38 % Grown

The README.md

Console

MIT license Latest Stable Version Total Downloads, (*1)

This package is meant for extension developers and offers the ability to add task scheduling to Flarum., (*2)

Use in your extension

The real deal is using it in your own extension. Simply require it in your extension composer.json file:, (*3)

"require": {
    "fof/console": "^0.5"
},

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

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

Task Scheduling, cron jobs

To set a schedule, create a Service Provider 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., (*5)

The Versions

07/02 2018

dev-master

9999999-dev

Register custom commands and task scheduling into Flarum

  Sources   Download

MIT

The Requires

 

extension console cronjob cron flarum flagrow

07/02 2018

0.4.0

0.4.0.0

Register custom commands and task scheduling into Flarum

  Sources   Download

MIT

The Requires

 

extension console cronjob cron flarum flagrow

18/12 2017

dev-b8

dev-b8

Register custom commands and task scheduling into Flarum

  Sources   Download

MIT

The Requires

 

extension console cronjob cron flarum flagrow

18/12 2017

0.3

0.3.0.0

Register custom commands and task scheduling into Flarum

  Sources   Download

MIT

The Requires

 

extension console cronjob cron flarum flagrow

17/10 2017

0.2

0.2.0.0

Register custom commands and task scheduling into Flarum

  Sources   Download

MIT

The Requires

 

extension console cronjob cron flarum flagrow

24/07 2017

0.1.0

0.1.0.0

Register custom commands into Flarum

  Sources   Download

MIT

The Requires

 

extension console flarum flagrow