定制 andersundsehr/typo3-sort-extensions 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

andersundsehr/typo3-sort-extensions

最新稳定版本:1.3.0

Composer 安装命令:

composer require --dev andersundsehr/typo3-sort-extensions

包简介

Solves the problem of the extension order

关键字:

README 文档

README

install & configuration

replace andersundsehr/aus_project with your site-package package name:

composer config extra.andersundsehr/typo3-sort-extensions.site-package andersundsehr/aus_project
composer req --dev andersundsehr/typo3-sort-extensions

what does it do

This plugin automatically copies all externally* required TYPO3 Extensions to the site-package require section.
So the externally* required Extensions will always be loaded before locally* installed TYPO3 Extensions.
It also requires the site-package in all the locally* installed TYPO3 Extensions, so they are loaded after the site-package and all the externally* required TYPO3 Extensions.

This solves the problem that sometimes you install/remove an extension and the order changes so that e.g. TCA/Overrides no longer work as before.

Example before :

root composer.json:

{
  "repositories": [
    {
      "type": "path",
      "url": "extensions/*",
      "canonical": false,
      "options": {
        "reference": "none"
      }
    }
  ],
  "require": {
    "andersundsehr/aus_project": "@dev",
    "andersundsehr/aus_example": "@dev",
    "pluswerk/minify": "^3.0.1",
    "typo3/cms-core": "^11.5.4"
  },
  "extra": {
    "andersundsehr/typo3-sort-extensions": {
      "site-package": "andersundsehr/aus_project"
    }
  }
}

aus_project composer.json:

{
  "require": {
  }
}

aus_example composer.json:

{
  "require": {
  }
}

after:

root composer.json:

{
  "repositories": [
    {
      "type": "path",
      "url": "extensions/*",
      "canonical": false,
      "options": {
        "reference": "none"
      }
    }
  ],
  "require": {
    "andersundsehr/aus_project": "@dev",
    "andersundsehr/aus_example": "@dev",
    "andersundsehr/group_access": "^1",
    "pluswerk/minify": "^3.0.1",
    "typo3/cms-core": "^11.5.4"
  },
  "extra": {
    "andersundsehr/typo3-sort-extensions": {
      "site-package": "andersundsehr/aus_project"
    }
  }
}

aus_project composer.json:

{
  "require": {
    "pluswerk/minify": "*",
    "andersundsehr/group_access": "*"
  }
}

aus_example composer.json:

{
  "require": {
    "andersundsehr/aus_project": "*"
  }
}

with ♥️ from anders und sehr GmbH

If something did not work 😮
or you appreciate this Extension 🥰 let us know.

We are hiring https://www.andersundsehr.com/karriere/

统计信息

  • 总下载量: 8.38k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2023-05-10