add dev packages, caps Log util, add tools config

This commit is contained in:
2025-11-10 16:49:05 +08:00
parent 08bb2af2c3
commit 299c831e82
5 changed files with 110 additions and 62 deletions
+31
View File
@@ -0,0 +1,31 @@
<?php
declare(strict_types=1);
namespace App\Command;
use Hyperf\Command\Command as HyperfCommand;
use Hyperf\Command\Annotation\Command;
use Psr\Container\ContainerInterface;
#[Command]
class AppCompanySync extends HyperfCommand
{
public function __construct(protected ContainerInterface $container)
{
parent::__construct('app:company:sync');
}
public function configure()
{
parent::configure();
$this->setDescription('Sync companies from Tools Dashboard');
}
public function handle()
{
$companies =
$this->line('Hello Hyperf!', 'info');
}
}