Introduces new core abstractions and module management classes, adds several new modules (modern cache, REST API, SEO enhancement), and removes deprecated/disabled assets and code. Updates vendor dependencies, including Symfony components and php-opencc, and cleans up related files. This refactor improves code organization, extensibility, and modernizes the plugin's architecture.
14 lines
No EOL
431 B
PHP
Executable file
14 lines
No EOL
431 B
PHP
Executable file
#!/usr/bin/env php
|
|
<?php
|
|
|
|
include $_composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php';
|
|
|
|
use Overtrue\PHPOpenCC\Console\BuildCommand;
|
|
use Overtrue\PHPOpenCC\Console\ConvertCommand;
|
|
use Symfony\Component\Console\Application;
|
|
|
|
$application = new Application("PHP OpenCC by @overtrue" );
|
|
|
|
$application->add(new ConvertCommand());
|
|
$application->setDefaultCommand(ConvertCommand::getDefaultName(), true);
|
|
$application->run(); |