siteshutter.blogg.se

Drupal devel kint
Drupal devel kint





drupal devel kint
  1. Drupal devel kint install#
  2. Drupal devel kint update#

Drupal devel kint update#

Running composer update drupal/kint -with-all-dependencies Ok, let's give it a try with the proposed -with-all-dependencies option:Ĭomposer require drupal/kint -with-all-dependencies composer.lock to their original content. Use the option -with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. Root composer.json requires drupal/kint ^2.1 -> satisfiable by drupal/kint. drupal/kint 2.x-dev is an alias of drupal/kint dev-2.x and thus requires it to be installed too. Make sure you list it as an argument for the update command. drupal/kint require drupal/core ~8.0 -> found drupal/core but the package is fixed to 9.2.2 (lock file version) by a partial update and that version does not match. Your requirements could not be resolved to an installable set of packages. Loading composer repositories with package information Which means it should be possible to download it with just firing up the composer require drupal/kint command, right? However here is the log: This module is oficially part of Devel 8.x module. Now, the official page of Kint module at does not mention Drupal 9 yet, however thanks to core's compatibility layer we can use Drupal 8 modules on Drupal 9 websites, and since the same page states:

Drupal devel kint install#

So you install and enable it with Composer and Drush as any other Drupal 9 module: There is no problem with installing the Devel module as it already has versions released specifically for Drupal 9. It is easy to use, powerful and customizable and makes an essential addition to your development toolbox. Kint - a powerful and modern PHP debugging tool designed to present your debugging data in very convenient way replacing var_dump() and debug_backtrace().

drupal devel kint

Devel also features Drush integration and provides several custom Drush commands. The Devel module includes the Webprofiler, Devel generate and Kint modules. Develĭevel is a popular module containing a variety of developer and debugging tools that make it breeze to perform common development tasks. Now, first let's get to definitions of both development modules. And because most of tutorials found online on the subject turned out to be buggy, outdated and/or obsolete, for posterity reasons I decided to log the installation steps that worked for me.Ĭomposer require drupal/devel kint-php/kint I was recently setting up my local development environment for a new Drupal 9 project and despite abundance of documentation, couldn't get the Devel and Kint properly working at once.







Drupal devel kint