Home>

The environment is built with Docker and PHP Laravel.
I want Amazon CouldWatch Logs to output logs,
This articleThe following command was executed with reference to.
composer require maxbanton/cwh:^1.1.14

I installed maxbanton/cwh normally, but
When I visit my local site
I got an access error.
I would like to solve it, but I am not sure what is the cause, and I would appreciate any advice.

What I tried
  • composer.jsonRemove maxbanton/cwh from once
  • composer update --with-dependencies maxbanton/cwhBy command
    update maxbanton/cwh and dependent packages
$composer update --with-dependencies maxbanton/cwh
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 3 updates, 3 removals
  -Removing mtdowling/jmespath.php (2.5.0)
  -Removing maxbanton/cwh (v1.1.14)
  -Removing aws/aws-sdk-php (3.142.5)
  -Updating symfony/polyfill-mbstring (v1.14.0 =>v1.17.1): Downloading (100%)
  -Updating psr/log (1.1.2 =>1.1.3): Downloading (100%)
  -Updating monolog/monolog (1.25.3 =>1.25.4): Downloading (100%)
...
  • maxbanton/cwhBefore installingcomposer.lockReplace with filecomposer installExecution
$composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 0 installs, 3 updates, 0 removals
  -Downgrading psr/log (1.1.3 =>1.1.2): Downloading (100%)
  -Downgrading monolog/monolog (1.25.4 =>1.25.3): Loading from cache
  -Downgrading symfony/polyfill-mbstring (v1.17.1 =>v1.14.0): Loading from cache
  • docker-compose restart
environment

docker-compose version 1.25.5
Laravel Framework 5.5.47
PHP 7.3.11