release drupal/kint package namespace
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3497987. -->
Reported by: [jnvsor](https://www.drupal.org/user/254489)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Attempting to install drupal/kint through composer currently links to drupal/devel, which once provided kint as a submodule. It hasn't been provided for 5 years and no currently supported versions of drupal/devel contain kint.</p>
<p>Due to this naming conflict, drupal/kint now requires installation via the package name drupal/kint-kint.</p>
<p>Devel developers are also perplexed by this: <a href="https://gitlab.com/drupalspoons/devel/-/issues/549">https://gitlab.com/drupalspoons/devel/-/issues/549</a></p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p><code>composer show -a drupal/kint</code></p>
<p>Results in:</p>
<pre>name : drupal/kint<br>descrip. : Wrapper for Kint debugging tool.<br>keywords : <br>versions : 2.x-dev, 2.1.0, 2.0.0, 1.x-dev, 1.2.0, 1.1.0, 1.0.0, 1.0.0-rc2, 1.0.0-rc1, 1.0.0-beta1, 1.0.0-alpha1, dev-1.x, dev-2.x<br>type : metapackage<br>license : GNU General Public License v2.0 or later (GPL-2.0-or-later) (OSI approved) https://spdx.org/licenses/GPL-2.0-or-later.html#licenseText<br>homepage : https://www.drupal.org/project/devel<br>source : [] <br>dist : [] <br>names : drupal/kint<br><br>support<br>source : https://git.drupalcode.org/project/devel<br><br>requires<br>drupal/devel ^2<br>drupal/core ~8.0</pre><h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Remove drupal/kint metapackage, allow <a href="https://www.drupal.org/project/kint">https://www.drupal.org/project/kint</a> to use drupal/kint.</p>
<h3>Composer.json</h3>
<p>Root composer.json of kint module for completeness:</p>
<pre>{<br> "name": "drupal/kint",<br> "description": "Kint dumping tool, drupal-specific kint configs, and devel integration",<br> "type": "drupal-module",<br> "license": "GPL-2.0-or-later",<br> "require": {<br> "php": ">= 8",<br> "drupal/core": ">= 9",<br> "kint-php/kint": "^6.0.1",<br> "kint-php/kint-twig": "^6"<br> },<br> "require-dev": {<br> "phpstan/phpstan": "^1.0",<br> "phpstan/extension-installer": "^1.4",<br> "mglaman/phpstan-drupal": "^1.0",<br> "phpstan/phpstan-deprecation-rules": "^1.0",<br> "drupal/coder": "^8.3",<br> "drupal/devel": "^5"<br> },<br> "conflict": {<br> "drupal/devel": "<5.3.0"<br> },<br> "suggest": {<br> "drupal/devel": "Various blocks, pages, and functions for developers."<br> },<br> "autoload": {<br> "files": ["init.php"]<br> },<br> "extra": {<br> "kint": {<br> "disable-helpers": true<br> }<br> },<br> "config": {<br> "allow-plugins": {<br> "dealerdirect/phpcodesniffer-composer-installer": true,<br> "phpstan/extension-installer": true<br> }<br> }<br>}</pre>
> Related issue: [Issue #3497941](https://www.drupal.org/node/3497941)
issue