2017 © Pedro Peláez
 

library laravel-verbose

Package that adds verbosity to Laravel/Lumen built-in console commands

image

dusterio/laravel-verbose

Package that adds verbosity to Laravel/Lumen built-in console commands

  • Monday, February 12, 2018
  • by dusterio
  • Repository
  • 1 Watchers
  • 5 Stars
  • 366 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 8 % Grown

The README.md

laravel-verbose

Latest Stable Version Total Downloads License, (*1)

Package that adds verbosity to Laravel/Lumen built-in console commands, (*2)

Laravel Verbose in action, (*3)

Overview

Even though Laravel console commands have verbosity flags -v/-vv/-vvv they are actually ignored. Therefore, using some of the console commands leaves developer completely blind – you have no idea what's happening behind the scenes., (*4)

Example running queue:work without this package:, (*5)

$ php artisan queue:work --once
$

What? Did it work or not? Was there a job in the queue or not? Why did it take several seconds to complete - does it mean it actually worked? What queue or connection did it use because I don't remember if I set them correctly?, (*6)

Reminds of Microsoft products uh? :), (*7)

Example running queue:work after installing this package:, (*8)

$ php artisan queue:work -vv
Using connection: sqs
Using queue: live-visits
The queue seems to be empty.
Sleeping for 3 seconds.

Let's now break AWS credentials so that SQS is unreachable:, (*9)

$ php artisan queue:work -vv
Using connection: sqs
Using queue: live-visits
Error executing "ReceiveMessage" on "https://sqs.ap-southeast-2.amazonaws.com/XXX/live-visits"; AWS HTTP error...
Couldn't fetch a job from the queue. See the log file for more information.

Voilà! Now I know exactly what happened in both cases, and now -vv flag did exactly what it was supposed to do., (*10)

Installation

$ composer require dusterio/laravel-verbose

Then add a service provider to your config/app.php:, (*11)

  /* ... */
  Dusterio\LaravelVerbose\Integrations\LaravelServiceProvider::class,
  /* ... */

Compatibility

So far tested with:, (*12)

  • Laravel 5.4
  • Laravel 5.3 (queue:work only at the moment)
  • Lumen 5.4

Currently supported (read extended) commands

  • queue:work
  • queue:listen

The Versions

12/02 2018

dev-master

9999999-dev https://github.com/dusterio/laravel-verbose

Package that adds verbosity to Laravel/Lumen built-in console commands

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php console verbosity verbose

12/02 2018

0.1.6

0.1.6.0 https://github.com/dusterio/laravel-verbose

Package that adds verbosity to Laravel/Lumen built-in console commands

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php console verbosity verbose

30/11 2017

0.1.5

0.1.5.0 https://github.com/dusterio/laravel-verbose

Package that adds verbosity to Laravel/Lumen built-in console commands

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php console verbosity verbose

30/11 2017

0.1.4

0.1.4.0 https://github.com/dusterio/laravel-verbose

Package that adds verbosity to Laravel/Lumen built-in console commands

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php console verbosity verbose

11/04 2017

0.1.3

0.1.3.0 https://github.com/dusterio/laravel-verbose

Package that adds verbosity to Laravel/Lumen built-in console commands

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php console verbosity verbose

11/04 2017

0.1.2

0.1.2.0 https://github.com/dusterio/laravel-verbose

Package that adds verbosity to Laravel/Lumen built-in console commands

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php console verbosity verbose

11/04 2017

0.1.1

0.1.1.0 https://github.com/dusterio/laravel-verbose

Package that adds verbosity to Laravel/Lumen built-in console commands

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php console verbosity verbose

11/04 2017

0.1.0

0.1.0.0 https://github.com/dusterio/laravel-verbose

Package that adds verbosity to Laravel/Lumen built-in console commands

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php console verbosity verbose