josefglatz/development-only
Composer 安装命令:
composer require josefglatz/development-only
包简介
Development Only settings for TYPO3 CMS projects
README 文档
README
TYPO3 Extension development-only
Development Only settings for TYPO3 CMS projects
| Repository: | https://github.com/josefglatz/development-only/ |
|---|
What is it good for?
In a development environment you often need adoptions to better concentrate on the project itself. This extension helps by improving the overall productivity and hides what is not needed in such an environment.
What does the extension offer you?
If you have ideas, snippets which needs to be added, please leave me an Issue.
Each of the features are enabled automatically if the extension is activated and the ApplicationContext is set to Development.
1. Hide Install Tool Security Check in Reports module (TYPO3 =< 11 LTS only)
\TYPO3\CMS\Install\Report\SecurityStatusReport is disabled.
- You get no warning if you use
joh316as Install Tool password. - You get no warning if your Install Tool is activated (forever).
2. Set common $GLOBALS['TYPO3_CONF_VARS'] for development context
SYS/sitename: Adding the prefix "DEV"SYS/devIPmask: *SYS/displayErrors: trueSYS/trustedHostsPattern: Flexible and not strict valueSYS/exceptionalErrors: more verbose settingBE/debug: true, to show field names, ...BE/lockSSL: true, because with DDEV or any other professional dev environment it's o-o-t-b possible to use ssl localy, ...BE/sessionTimeout: set to very high valueBE/installToolPassword: set to classic valuejoh316FE/sessionTimeout: set to very high valueFE/debug: active
3. Disables yoast-seo-for-typo3/yoast_seo in page module
The snippet preview in development context is not working and is disabled via User TSconfig in development context with setup.override.hideYoastInPageModule = 1.
4. Setting backend pagetree settings
- The PageId is always shown next to the page nav-/title
5. Remove the requirement of a multi-factor authentication for a user
This makes it possible to create a temporary user for debug situations without having to deal with MFA things.
6. Time saver task "make root pages"
Building new TYPO3 instances often needs some power user features. Executing console command typo3 development-only:make-root-pages adjusts the is_siteroot property to 1 and sets hidden property also to 1. The same functionality is provided as context menu item for the root page uid 0 within the TYPO3 backend page tree as logged in TYPO3 administrator.
- Do not hide newly created pages by default
Simple TCAdefaults.pages.hidden = 0 if development context is active. Not more and not less.
Installation
composer require --dev josefglatz/development-only
Since every component works only in the Development Application Context I advice you to require the extension only asrequire-devpackage in your TYPO3 instance. Make sure to usecomposer install --no-devwhile packaging your TYPO3 project for the productive hosting environment.
How to check the installation
For TYPO3 12 and up: You find a status in the TYPO3 report module (if the report module is installed).
- throws an error notice if the extension is active in a non-development context
- in composer mode: throws an error notice if the extension is in "require" section instead of "require-dev" section
josefglatz/development-only 适用场景与选型建议
josefglatz/development-only 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 9.28k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2020 年 01 月 29 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「extension」 「development」 「typo3」 「productivity」 「developmentenvironments」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 josefglatz/development-only 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 josefglatz/development-only 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 josefglatz/development-only 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A custom URL rule class for Yii 2 which allows to create translated URL rules
Debugging a problem and need to login as one of your customers? This allows you to authenticate as any of your customers.
Set Links with a specific language parameter
The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
UI Kit 3 Extension for Yii2
统计信息
- 总下载量: 9.28k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2020-01-29