getPlugins()->apply("php"); $project->setConfig(function ($c) { $c->setEntry("com/example/script/primary.php"); $c->setPackageName("com.example.script.php"); $c->setLogo("logo.png"); }); $console->log($project->getPlugins()->has("com.example.pluginId")); $project->getPlugins()->apply("com.example.pluginId"); $console->log($project->getPlugins()->has("com.example.pluginId"));