first commit

This commit is contained in:
2025-04-27 10:56:38 +08:00
commit 4c3e17d851
796 changed files with 115572 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
namespace think\composer;
use Composer\Composer;
use Composer\Installer;
use Composer\IO\IOInterface;
use Composer\Plugin\PluginInterface;
class Plugin implements PluginInterface
{
public function activate(Composer $composer, IOInterface $io)
{
$manager = $composer->getInstallationManager();
//框架核心
$manager->addInstaller(new ThinkFramework($io, $composer));
//单元测试
$manager->addInstaller(new ThinkTesting($io, $composer));
//扩展
$manager->addInstaller(new ThinkExtend($io, $composer));
}
}