ericpugh / calrissian
This package is abandoned and no longer maintained.
The author suggests using the ericpugh/jedi-console package instead.
A Drupal module providing utilities for developing with Lando.
1.0.0
2020-04-21 12:19 UTC
This package is auto-updated.
Last update: 2020-04-21 17:43:21 UTC
README
A Drupal module providing utilities for developing with Lando
Install
It's recommend install in a composer based Drupal project.
composer require ericpugh/calrissian --dev
Utilities
- Alter the core Syslog service to make Drupal log events available within
lando logs
command.
This makes it easier to work with logs, for example you could change the "identity" in Drupal Syslog's settings to "JEDI" and then follow the logs with a command like this:
lando logs -f -s appserver | grep -i 'jedi'
- A class to retrieve Lando environment information.
Example:
$lando = \Drupal\calrissian\Lando::getInfo();
$nodeVersion = $lando['nodejs']['version'];
echo $nodeVersion;
// outputs: 10
Please create and issue or submit a Merge Request for any improvements or ideas for useful features.