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.
13 lines
No EOL
380 B
PHP
Executable file
13 lines
No EOL
380 B
PHP
Executable file
#!/usr/bin/env php
|
|
<?php
|
|
|
|
include $_composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php';
|
|
|
|
use Overtrue\PHPOpenCC\Console\BuildCommand;
|
|
use Symfony\Component\Console\Application;
|
|
|
|
$application = new Application("PHP OpenCC by @overtrue" );
|
|
|
|
$application->add(new BuildCommand());
|
|
$application->setDefaultCommand(BuildCommand::getDefaultName(), true);
|
|
$application->run(); |