Add X13 WebP module for image conversion to next-generation formats

- Implemented the main module class with essential properties and methods.
- Added translation support for various user interface strings.
- Created XML configuration file for module versioning.
- Ensured compatibility with different PHP versions and PrestaShop versions.
This commit is contained in:
2025-10-16 21:30:24 +02:00
parent d220e35c31
commit 3b29a79921
235 changed files with 40220 additions and 189 deletions

View File

@@ -0,0 +1,81 @@
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInitx13webp
{
public static $prefixLengthsPsr4 = array (
'X' =>
array (
'X13Webp\\' => 8,
),
'W' =>
array (
'WebPConvert\\' => 12,
),
'L' =>
array (
'LocateBinaries\\' => 15,
),
'I' =>
array (
'ImageMimeTypeSniffer\\' => 21,
'ImageMimeTypeGuesser\\' => 21,
),
'F' =>
array (
'FileUtil\\' => 9,
),
'E' =>
array (
'ExecWithFallback\\' => 17,
),
);
public static $prefixDirsPsr4 = array (
'X13Webp\\' =>
array (
0 => __DIR__ . '/../..' . '/src',
),
'WebPConvert\\' =>
array (
0 => __DIR__ . '/..' . '/rosell-dk/webp-convert/src',
),
'LocateBinaries\\' =>
array (
0 => __DIR__ . '/..' . '/rosell-dk/locate-binaries/src',
),
'ImageMimeTypeSniffer\\' =>
array (
0 => __DIR__ . '/..' . '/rosell-dk/image-mime-type-sniffer/src',
),
'ImageMimeTypeGuesser\\' =>
array (
0 => __DIR__ . '/..' . '/rosell-dk/image-mime-type-guesser/src',
),
'FileUtil\\' =>
array (
0 => __DIR__ . '/..' . '/rosell-dk/file-util/src',
),
'ExecWithFallback\\' =>
array (
0 => __DIR__ . '/..' . '/rosell-dk/exec-with-fallback/src',
),
);
public static $classMap = array (
'X13Webp' => __DIR__ . '/../..' . '/x13webp.php',
);
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInitx13webp::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitx13webp::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitx13webp::$classMap;
}, null, ClassLoader::class);
}
}