add: php composer management

This commit is contained in:
2024-11-01 01:50:18 -03:00
parent b8a882496d
commit 7ab3e43b21
136 changed files with 7540 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace Composer\Installers;
class RoundcubeInstaller extends BaseInstaller
{
/** @var array<string, string> */
protected $locations = array(
'plugin' => 'plugins/{$name}/',
);
/**
* Lowercase name and changes the name to a underscores
*/
public function inflectPackageVars(array $vars): array
{
$vars['name'] = strtolower(str_replace('-', '_', $vars['name']));
return $vars;
}
}