<?php

return [
    // NEVER REWRITE
    'zendframework/zendframework' => 'zendframework/zendframework',
    'zend-developer-tools/toolbar/bjy' => 'zend-developer-tools/toolbar/bjy',
    'zend-developer-tools/toolbar/doctrine' => 'zend-developer-tools/toolbar/doctrine',

    // NAMESPACES
    // Zend Framework components
    'Zend\\AuraDi\\Config' => 'Laminas\\AuraDi\\Config',
    'Zend\\Authentication' => 'Laminas\\Authentication',
    'Zend\\Barcode' => 'Laminas\\Barcode',
    'Zend\\Cache' => 'Laminas\\Cache',
    'Zend\\Captcha' => 'Laminas\\Captcha',
    'Zend\\Code' => 'Laminas\\Code',
    'ZendCodingStandard\\Sniffs' => 'LaminasCodingStandard\\Sniffs',
    'ZendCodingStandard\\Utils' => 'LaminasCodingStandard\\Utils',
    'Zend\\ComponentInstaller' => 'Laminas\\ComponentInstaller',
    'Zend\\Config' => 'Laminas\\Config',
    'Zend\\ConfigAggregator' => 'Laminas\\ConfigAggregator',
    'Zend\\ConfigAggregatorModuleManager' => 'Laminas\\ConfigAggregatorModuleManager',
    'Zend\\ConfigAggregatorParameters' => 'Laminas\\ConfigAggregatorParameters',
    'Zend\\Console' => 'Laminas\\Console',
    'Zend\\ContainerConfigTest' => 'Laminas\\ContainerConfigTest',
    'Zend\\Crypt' => 'Laminas\\Crypt',
    'Zend\\Db' => 'Laminas\\Db',
    'ZendDeveloperTools' => 'Laminas\\DeveloperTools',
    'Zend\\Di' => 'Laminas\\Di',
    'Zend\\Diactoros' => 'Laminas\\Diactoros',
    'ZendDiagnostics\\Check' => 'Laminas\\Diagnostics\\Check',
    'ZendDiagnostics\\Result' => 'Laminas\\Diagnostics\\Result',
    'ZendDiagnostics\\Runner' => 'Laminas\\Diagnostics\\Runner',
    'Zend\\Dom' => 'Laminas\\Dom',
    'Zend\\Escaper' => 'Laminas\\Escaper',
    'Zend\\EventManager' => 'Laminas\\EventManager',
    'Zend\\Feed' => 'Laminas\\Feed',
    'Zend\\File' => 'Laminas\\File',
    'Zend\\Filter' => 'Laminas\\Filter',
    'Zend\\Form' => 'Laminas\\Form',
    'Zend\\Http' => 'Laminas\\Http',
    'Zend\\HttpHandlerRunner' => 'Laminas\\HttpHandlerRunner',
    'Zend\\Hydrator' => 'Laminas\\Hydrator',
    'Zend\\I18n' => 'Laminas\\I18n',
    'Zend\\InputFilter' => 'Laminas\\InputFilter',
    'Zend\\Json' => 'Laminas\\Json',
    'Zend\\Ldap' => 'Laminas\\Ldap',
    'Zend\\Loader' => 'Laminas\\Loader',
    'Zend\\Log' => 'Laminas\\Log',
    'Zend\\Mail' => 'Laminas\\Mail',
    'Zend\\Math' => 'Laminas\\Math',
    'Zend\\Memory' => 'Laminas\\Memory',
    'Zend\\Mime' => 'Laminas\\Mime',
    'Zend\\ModuleManager' => 'Laminas\\ModuleManager',
    'Zend\\Mvc' => 'Laminas\\Mvc',
    'Zend\\Navigation' => 'Laminas\\Navigation',
    'Zend\\Paginator' => 'Laminas\\Paginator',
    'Zend\\Permissions' => 'Laminas\\Permissions',
    'Zend\\Pimple\\Config' => 'Laminas\\Pimple\\Config',
    'Zend\\ProblemDetails' => 'Mezzio\\ProblemDetails',
    'Zend\\ProgressBar' => 'Laminas\\ProgressBar',
    'Zend\\Psr7Bridge' => 'Laminas\\Psr7Bridge',
    'Zend\\Router' => 'Laminas\\Router',
    'Zend\\Serializer' => 'Laminas\\Serializer',
    'Zend\\Server' => 'Laminas\\Server',
    'Zend\\ServiceManager' => 'Laminas\\ServiceManager',
    'ZendService\\ReCaptcha' => 'Laminas\\ReCaptcha',
    'ZendService\\Twitter' => 'Laminas\\Twitter',
    'Zend\\Session' => 'Laminas\\Session',
    'Zend\\SkeletonInstaller' => 'Laminas\\SkeletonInstaller',
    'Zend\\Soap' => 'Laminas\\Soap',
    'Zend\\Stdlib' => 'Laminas\\Stdlib',
    'Zend\\Stratigility' => 'Laminas\\Stratigility',
    'Zend\\Tag' => 'Laminas\\Tag',
    'Zend\\Test' => 'Laminas\\Test',
    'Zend\\Text' => 'Laminas\\Text',
    'Zend\\Uri' => 'Laminas\\Uri',
    'Zend\\Validator' => 'Laminas\\Validator',
    'Zend\\View' => 'Laminas\\View',
    'ZendXml' => 'Laminas\\Xml',
    'Zend\\Xml2Json' => 'Laminas\\Xml2Json',
    'Zend\\XmlRpc' => 'Laminas\\XmlRpc',
    'ZendOAuth' => 'Laminas\\OAuth',

    // class ZendAcl in zend-expressive-authorization-acl
    'ZendAcl' => 'LaminasAcl',
    'Zend\\Expressive\\Authorization\\Acl\\ZendAcl' => 'Mezzio\\Authorization\\Acl\\LaminasAcl',
    // class ZendHttpClientDecorator in zend-feed
    'ZendHttp' => 'LaminasHttp',
    // class ZendModuleProvider in zend-config-aggregator-modulemanager
    'ZendModule' => 'LaminasModule',
    // class ZendRbac in zend-expressive-authorization-rbac
    'ZendRbac' => 'LaminasRbac',
    'Zend\\Expressive\\Authorization\\Rbac\\ZendRbac' => 'Mezzio\\Authorization\\Rbac\\LaminasRbac',
    // class ZendRouter in zend-expressive-router-zendrouter
    'ZendRouter' => 'LaminasRouter',
    'Zend\\Expressive\\Router\\ZendRouter' => 'Mezzio\\Router\\LaminasRouter',
    // class ZendViewRenderer in zend-expressive-zendviewrenderer
    'ZendViewRenderer' => 'LaminasViewRenderer',
    'Zend\\Expressive\\ZendView\\ZendViewRenderer' => 'Mezzio\\LaminasView\\LaminasViewRenderer',
    'a\\Zend' => 'a\\Zend',
    'b\\Zend' => 'b\\Zend',
    'c\\Zend' => 'c\\Zend',
    'd\\Zend' => 'd\\Zend',
    'e\\Zend' => 'e\\Zend',
    'f\\Zend' => 'f\\Zend',
    'g\\Zend' => 'g\\Zend',
    'h\\Zend' => 'h\\Zend',
    'i\\Zend' => 'i\\Zend',
    'j\\Zend' => 'j\\Zend',
    'k\\Zend' => 'k\\Zend',
    'l\\Zend' => 'l\\Zend',
    'm\\Zend' => 'm\\Zend',
    'n\\Zend' => 'n\\Zend',
    'o\\Zend' => 'o\\Zend',
    'p\\Zend' => 'p\\Zend',
    'q\\Zend' => 'q\\Zend',
    'r\\Zend' => 'r\\Zend',
    's\\Zend' => 's\\Zend',
    't\\Zend' => 't\\Zend',
    'u\\Zend' => 'u\\Zend',
    'v\\Zend' => 'v\\Zend',
    'w\\Zend' => 'w\\Zend',
    'x\\Zend' => 'x\\Zend',
    'y\\Zend' => 'y\\Zend',
    'z\\Zend' => 'z\\Zend',

    // Expressive
    'Zend\\Expressive' => 'Mezzio',
    'ZendAuthentication' => 'LaminasAuthentication',
    'ZendAcl' => 'LaminasAcl',
    'ZendRbac' => 'LaminasRbac',
    'ZendRouter' => 'LaminasRouter',
    'ExpressiveUrlGenerator' => 'MezzioUrlGenerator',
    'ExpressiveInstaller' => 'MezzioInstaller',

    // Apigility
    'ZF\\Apigility' => 'Laminas\\ApiTools',
    'ZF\\ApiProblem' => 'Laminas\\ApiTools\\ApiProblem',
    'ZF\\AssetManager' => 'Laminas\\ApiTools\\AssetManager',
    'ZF\\ComposerAutoloading' => 'Laminas\\ComposerAutoloading',
    'ZF\\Configuration' => 'Laminas\\ApiTools\\Configuration',
    'ZF\\ContentNegotiation' => 'Laminas\\ApiTools\\ContentNegotiation',
    'ZF\\ContentValidation' => 'Laminas\\ApiTools\\ContentValidation',
    'ZF\\DevelopmentMode' => 'Laminas\\DevelopmentMode',
    'ZF\\Doctrine\\QueryBuilder' => 'Laminas\\ApiTools\\Doctrine\\QueryBuilder',
    'ZF\\Hal' => 'Laminas\\ApiTools\\Hal',
    'ZF\\HttpCache' => 'Laminas\\ApiTools\\HttpCache',
    'ZF\\MvcAuth' => 'Laminas\\ApiTools\\MvcAuth',
    'ZF\\OAuth2' => 'Laminas\\ApiTools\\OAuth2',
    'ZF\\Rest' => 'Laminas\\ApiTools\\Rest',
    'ZF\\Rpc' => 'Laminas\\ApiTools\\Rpc',
    'ZF\\Versioning' => 'Laminas\\ApiTools\\Versioning',
    'a\\ZF' => 'a\\ZF',
    'b\\ZF' => 'b\\ZF',
    'c\\ZF' => 'c\\ZF',
    'd\\ZF' => 'd\\ZF',
    'e\\ZF' => 'e\\ZF',
    'f\\ZF' => 'f\\ZF',
    'g\\ZF' => 'g\\ZF',
    'h\\ZF' => 'h\\ZF',
    'i\\ZF' => 'i\\ZF',
    'j\\ZF' => 'j\\ZF',
    'k\\ZF' => 'k\\ZF',
    'l\\ZF' => 'l\\ZF',
    'm\\ZF' => 'm\\ZF',
    'n\\ZF' => 'n\\ZF',
    'o\\ZF' => 'o\\ZF',
    'p\\ZF' => 'p\\ZF',
    'q\\ZF' => 'q\\ZF',
    'r\\ZF' => 'r\\ZF',
    's\\ZF' => 's\\ZF',
    't\\ZF' => 't\\ZF',
    'u\\ZF' => 'u\\ZF',
    'v\\ZF' => 'v\\ZF',
    'w\\ZF' => 'w\\ZF',
    'x\\ZF' => 'x\\ZF',
    'y\\ZF' => 'y\\ZF',
    'z\\ZF' => 'z\\ZF',

    'ApigilityModuleInterface' => 'ApiToolsModuleInterface',
    'ApigilityProviderInterface' => 'ApiToolsProviderInterface',
    'ApigilityVersionController' => 'ApiToolsVersionController',

    // PACKAGES
    // ZF components, MVC
    'zendframework/skeleton-application' => 'laminas/skeleton-application',
    'zendframework/zend-auradi-config' => 'laminas/laminas-auradi-config',
    'zendframework/zend-authentication' => 'laminas/laminas-authentication',
    'zendframework/zend-barcode' => 'laminas/laminas-barcode',
    'zendframework/zend-cache' => 'laminas/laminas-cache',
    'zendframework/zend-captcha' => 'laminas/laminas-captcha',
    'zendframework/zend-code' => 'laminas/laminas-code',
    'zendframework/zend-coding-standard' => 'laminas/laminas-coding-standard',
    'zendframework/zend-component-installer' => 'laminas/laminas-component-installer',
    'zendframework/zend-composer-autoloading' => 'laminas/laminas-composer-autoloading',
    'zendframework/zend-config-aggregator' => 'laminas/laminas-config-aggregator',
    'zendframework/zend-config' => 'laminas/laminas-config',
    'zendframework/zend-console' => 'laminas/laminas-console',
    'zendframework/zend-container-config-test' => 'laminas/laminas-container-config-test',
    'zendframework/zend-crypt' => 'laminas/laminas-crypt',
    'zendframework/zend-db' => 'laminas/laminas-db',
    'zendframework/zend-developer-tools' => 'laminas/laminas-developer-tools',
    'zendframework/zend-diactoros' => 'laminas/laminas-diactoros',
    'zendframework/zenddiagnostics' => 'laminas/laminas-diagnostics',
    'zendframework/zend-di' => 'laminas/laminas-di',
    'zendframework/zend-dom' => 'laminas/laminas-dom',
    'zendframework/zend-escaper' => 'laminas/laminas-escaper',
    'zendframework/zend-eventmanager' => 'laminas/laminas-eventmanager',
    'zendframework/zend-feed' => 'laminas/laminas-feed',
    'zendframework/zend-file' => 'laminas/laminas-file',
    'zendframework/zend-filter' => 'laminas/laminas-filter',
    'zendframework/zend-form' => 'laminas/laminas-form',
    'zendframework/zend-httphandlerrunner' => 'laminas/laminas-httphandlerrunner',
    'zendframework/zend-http' => 'laminas/laminas-http',
    'zendframework/zend-hydrator' => 'laminas/laminas-hydrator',
    'zendframework/zend-i18n' => 'laminas/laminas-i18n',
    'zendframework/zend-i18n-resources' => 'laminas/laminas-i18n-resources',
    'zendframework/zend-inputfilter' => 'laminas/laminas-inputfilter',
    'zendframework/zend-json' => 'laminas/laminas-json',
    'zendframework/zend-json-server' => 'laminas/laminas-json-server',
    'zendframework/zend-ldap' => 'laminas/laminas-ldap',
    'zendframework/zend-loader' => 'laminas/laminas-loader',
    'zendframework/zend-log' => 'laminas/laminas-log',
    'zendframework/zend-mail' => 'laminas/laminas-mail',
    'zendframework/zend-math' => 'laminas/laminas-math',
    'zendframework/zend-memory' => 'laminas/laminas-memory',
    'zendframework/zend-mime' => 'laminas/laminas-mime',
    'zendframework/zend-modulemanager' => 'laminas/laminas-modulemanager',
    'zendframework/zend-mvc' => 'laminas/laminas-mvc',
    'zendframework/zend-navigation' => 'laminas/laminas-navigation',
    'zendframework/zend-oauth' => 'laminas/laminas-oauth',
    'zendframework/zend-paginator' => 'laminas/laminas-paginator',
    'zendframework/zend-permissions-acl' => 'laminas/laminas-permissions-acl',
    'zendframework/zend-permissions-rbac' => 'laminas/laminas-permissions-rbac',
    'zendframework/zend-pimple-config' => 'laminas/laminas-pimple-config',
    'zendframework/zend-progressbar' => 'laminas/laminas-progressbar',
    'zendframework/zend-psr7bridge' => 'laminas/laminas-psr7bridge',
    'zendframework/zend-recaptcha' => 'laminas/laminas-recaptcha',
    'zendframework/zend-router' => 'laminas/laminas-router',
    'zendframework/zend-serializer' => 'laminas/laminas-serializer',
    'zendframework/zend-server' => 'laminas/laminas-server',
    'zendframework/zend-servicemanager' => 'laminas/laminas-servicemanager',
    'zendframework/zendservice-recaptcha' => 'laminas/laminas-recaptcha',
    'zendframework/zendservice-twitter' => 'laminas/laminas-twitter',
    'zendframework/zend-session' => 'laminas/laminas-session',
    'zendframework/zend-skeleton-installer' => 'laminas/laminas-skeleton-installer',
    'zendframework/zend-soap' => 'laminas/laminas-soap',
    'zendframework/zend-stdlib' => 'laminas/laminas-stdlib',
    'zendframework/zend-stratigility' => 'laminas/laminas-stratigility',
    'zendframework/zend-tag' => 'laminas/laminas-tag',
    'zendframework/zend-test' => 'laminas/laminas-test',
    'zendframework/zend-text' => 'laminas/laminas-text',
    'zendframework/zend-uri' => 'laminas/laminas-uri',
    'zendframework/zend-validator' => 'laminas/laminas-validator',
    'zendframework/zend-view' => 'laminas/laminas-view',
    'zendframework/zend-xml2json' => 'laminas/laminas-xml2json',
    'zendframework/zend-xml' => 'laminas/laminas-xml',
    'zendframework/zend-xmlrpc' => 'laminas/laminas-xmlrpc',

    // Expressive packages
    'zendframework/zend-expressive' => 'mezzio/mezzio',
    'zendframework/zend-expressive-zendrouter' => 'mezzio/mezzio-laminasrouter',
    'zendframework/zend-problem-details' => 'mezzio/mezzio-problem-details',
    'zendframework/zend-expressive-zendviewrenderer' => 'mezzio/mezzio-laminasviewrenderer',

    // Apigility packages
    'zfcampus/apigility-documentation' => 'laminas-api-tools/documentation',
    'zfcampus/statuslib-example' => 'laminas-api-tools/statuslib-example',
    'zfcampus/zf-apigility' => 'laminas-api-tools/api-tools',
    'zfcampus/zf-api-problem' => 'laminas-api-tools/api-tools-api-problem',
    'zfcampus/zf-asset-manager' => 'laminas-api-tools/api-tools-asset-manager',
    'zfcampus/zf-configuration' => 'laminas-api-tools/api-tools-configuration',
    'zfcampus/zf-content-negotiation' => 'laminas-api-tools/api-tools-content-negotiation',
    'zfcampus/zf-content-validation' => 'laminas-api-tools/api-tools-content-validation',
    'zfcampus/zf-development-mode' => 'laminas/laminas-development-mode',
    'zfcampus/zf-doctrine-querybuilder' => 'laminas-api-tools/api-tools-doctrine-querybuilder',
    'zfcampus/zf-hal' => 'laminas-api-tools/api-tools-hal',
    'zfcampus/zf-http-cache' => 'laminas-api-tools/api-tools-http-cache',
    'zfcampus/zf-mvc-auth' => 'laminas-api-tools/api-tools-mvc-auth',
    'zfcampus/zf-oauth2' => 'laminas-api-tools/api-tools-oauth2',
    'zfcampus/zf-rest' => 'laminas-api-tools/api-tools-rest',
    'zfcampus/zf-rpc' => 'laminas-api-tools/api-tools-rpc',
    'zfcampus/zf-versioning' => 'laminas-api-tools/api-tools-versioning',

    // CONFIG KEYS, SCRIPT NAMES, ETC
    // ZF components
    '::fromZend' => '::fromLaminas', // psr7bridge
    '::toZend' => '::toLaminas', // psr7bridge
    'use_zend_loader' => 'use_laminas_loader', // zend-modulemanager
    'zend-config' => 'laminas-config',
    'zend-developer-tools/' => 'laminas-developer-tools/',
    'zend-tag-cloud' => 'laminas-tag-cloud',
    'zenddevelopertools' => 'laminas-developer-tools',
    'zendbarcode' => 'laminasbarcode',
    'ZendBarcode' => 'LaminasBarcode',
    'zendcache' => 'laminascache',
    'ZendCache' => 'LaminasCache',
    'zendconfig' => 'laminasconfig',
    'ZendConfig' => 'LaminasConfig',
    'zendfeed' => 'laminasfeed',
    'ZendFeed' => 'LaminasFeed',
    'zendfilter' => 'laminasfilter',
    'ZendFilter' => 'LaminasFilter',
    'zendform' => 'laminasform',
    'ZendForm' => 'LaminasForm',
    'zendi18n' => 'laminasi18n',
    'ZendI18n' => 'LaminasI18n',
    'zendinputfilter' => 'laminasinputfilter',
    'ZendInputFilter' => 'LaminasInputFilter',
    'zendlog' => 'laminaslog',
    'ZendLog' => 'LaminasLog',
    'zendmail' => 'laminasmail',
    'ZendMail' => 'LaminasMail',
    'zendmvc' => 'laminasmvc',
    'ZendMvc' => 'LaminasMvc',
    'zendpaginator' => 'laminaspaginator',
    'ZendPaginator' => 'LaminasPaginator',
    'zendserializer' => 'laminasserializer',
    'ZendSerializer' => 'LaminasSerializer',
    'zendtag' => 'laminastag',
    'ZendTag' => 'LaminasTag',
    'zendtext' => 'laminastext',
    'ZendText' => 'LaminasText',
    'zendvalidator' => 'laminasvalidator',
    'ZendValidator' => 'LaminasValidator',
    'zendview' => 'laminasview',
    'ZendView' => 'LaminasView',
    'zend-framework.flf' => 'laminas-project.flf',

    // Expressive-related
    "'zend-expressive'" => "'mezzio'",
    '"zend-expressive"' => '"mezzio"',
    'zend-expressive.' => 'mezzio.',
    'zend-expressive-authorization' => 'mezzio-authorization',
    'zend-expressive-hal' => 'mezzio-hal',
    'zend-expressive-session' => 'mezzio-session',
    'zend-expressive-swoole' => 'mezzio-swoole',
    'zend-expressive-tooling' => 'mezzio-tooling',

    // Apigility-related
    "'zf-apigility'" => "'api-tools'",
    '"zf-apigility"' => '"api-tools"',
    'zf-apigility/' => 'api-tools/',
    'zf-apigility-admin' => 'api-tools-admin',
    'zf-content-negotiation' => 'api-tools-content-negotiation',
    'zf-hal' => 'api-tools-hal',
    'zf-rest' => 'api-tools-rest',
    'zf-rpc' => 'api-tools-rpc',
    'zf-content-validation' => 'api-tools-content-validation',
    'zf-apigility-ui' => 'api-tools-ui',
    'zf-apigility-documentation-blueprint' => 'api-tools-documentation-blueprint',
    'zf-apigility-documentation-swagger' => 'api-tools-documentation-swagger',
    'zf-apigility-welcome' => 'api-tools-welcome',
    'zf-api-problem' => 'api-tools-api-problem',
    'zf-configuration' => 'api-tools-configuration',
    'zf-http-cache' => 'api-tools-http-cache',
    'zf-mvc-auth' => 'api-tools-mvc-auth',
    'zf-oauth2' => 'api-tools-oauth2',
    'zf-versioning' => 'api-tools-versioning',
    'ZfApigilityDoctrineQueryProviderManager' => 'LaminasApiToolsDoctrineQueryProviderManager',
    'ZfApigilityDoctrineQueryCreateFilterManager' => 'LaminasApiToolsDoctrineQueryCreateFilterManager',
    'zf-apigility-doctrine' => 'api-tools-doctrine',
    'zf-development-mode' => 'laminas-development-mode',
    'zf-doctrine-querybuilder' => 'api-tools-doctrine-querybuilder',

    // 3rd party Apigility packages
    'api-skeletons/zf-' => 'api-skeletons/zf-', // api-skeletons packages
    'zf-oauth2-' => 'zf-oauth2-', // api-skeletons OAuth2-related packages
    'ZF\\OAuth2\\Client' => 'ZF\\OAuth2\\Client', // api-skeletons/zf-oauth2-client
    'ZF\\OAuth2\\Doctrine' => 'ZF\\OAuth2\\Doctrine', // api-skeletons/zf-oauth2-doctrine
];
