Blog: How to create a command – Introducing the Matomo Platform
…command line automatically. Therefore, the newly created command can now be executed via ./console mycommandplugin:syncusers –name=”The Matomo Team”. The code template explained protected function configure() { $this->setName(‘mycommandplugin:checkdatabase’); $this->setDescription(‘MyCommandPlugin’); $this->addOption(‘name’, null,…