Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

davidbarker's avatar

[L5] "laravel/framework suggests installing" lots of things

Hello!

I've been wrestling with Laravel 5 and Pagoda Box V2 today, and currently have a problem I'm unable to solve so far.

Laravel now deploys to Pagoda Box, and the homepage works. However, after I tried to switch the cache/session driver to Redis, I started getting the error HandleExceptions->fatalExceptionFromError(array('type' => '1', 'message' => 'Class 'Predis\Client' not found', 'file' => '/data/vendor/laravel/framework/src/Illuminate/Redis/Database.php', 'line' => '58')). I did a bit of searching, and it seems that when it deployed to Pagoda Box, I got a bunch of successful installing/cloning messages, but then recommendations to install lots of other things as you can see below.

$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
  - Installing jakub-onderka/php-console-color (0.1)
    Cloning e0b393dacf7703fc36a4efc3df1435485197e6c1

  - Installing vlucas/phpdotenv (v1.1.0)
    Cloning 732d2adb7d916c9593b9d58c3b0d9ebefead07aa

  - Installing symfony/var-dumper (v2.6.4)
    Cloning c3d5a36c3e3298bd8b070488fba5537174647353

  - Installing symfony/translation (v2.6.4)
    Cloning f289cdf8179d32058c1e1cbac723106a5ff6fa39

  - Installing symfony/security-core (v2.6.4)
    Cloning 4603bcc66e20e23f018c67f7f9f3f8146a100c11

  - Installing symfony/routing (v2.6.4)
    Cloning bda1c3c67f2a33bbeabb1d321feaf626a0ca5698

  - Installing symfony/process (v2.6.4)
    Cloning ecfc23e89d9967999fa5f60a1e9af7384396e9ae

  - Installing symfony/http-foundation (v2.6.4)
    Cloning 8fa63d614d56ccfe033e30411d90913cfc483ff6

  - Installing symfony/event-dispatcher (v2.6.4)
    Cloning f75989f3ab2743a82fe0b03ded2598a2b1546813

  - Installing psr/log (1.0.0)
    Cloning fe0936ee26643249e916849d48e3a51d5f5e278b

  - Installing symfony/debug (v2.6.4)
    Cloning 150c80059c3ccf68f96a4fceb513eb6b41f23300

  - Installing symfony/http-kernel (v2.6.4)
    Cloning 27abf3106d8bd08562070dd4e2438c279792c434

  - Installing symfony/finder (v2.6.4)
    Cloning 16513333bca64186c01609961a2bb1b95b5e1355

  - Installing symfony/console (v2.6.4)
    Cloning e44154bfe3e41e8267d7a3794cd9da9a51cfac34

  - Installing swiftmailer/swiftmailer (v5.3.1)
    Cloning c5f963e7f9d6f6438fda4f22d5cc2db296ec621a

  - Installing nikic/php-parser (v1.1.0)
    Cloning ac05ef6f95bf8361549604b6031c115f92f39528

  - Installing jakub-onderka/php-console-highlighter (v0.3.1)
    Cloning 05bce997da20acf873e6bf396276798f3cd2c76a

  - Installing dnoegel/php-xdg-base-dir (0.1)
    Cloning 265b8593498b997dc2d31e75b89f053b5cc9621a

  - Installing psy/psysh (v0.3.3)
    Cloning 0355cecab0591c83fed019a9572c510b0da29174

  - Installing nesbot/carbon (1.13.0)
    Cloning 5cb6e71055f7b0b57956b73d324cc4de31278f42

  - Installing mtdowling/cron-expression (v1.0.4)
    Cloning fd92e883195e5dfa77720b1868cf084b08be4412

  - Installing monolog/monolog (1.12.0)
    Cloning 1fbe8c2641f2b163addf49cc5e18f144bec6b19f

  - Installing league/flysystem (1.0.1)
    Cloning efa1d394bb45b0984a863854c608c607b9c2a9a4

  - Installing jeremeamia/superclosure (2.0.0)
    Cloning ac4394c7e21777ac48543190fb0872b2fc7f17af

  - Installing ircmaxell/password-compat (v1.0.4)
    Cloning 5c5cde8822a69545767f7c7f3058cb15ff84614c

  - Installing doctrine/inflector (v1.0.1)
    Cloning 0bcb2e79d8571787f18b7eb036ed3d004908e604

  - Installing danielstjules/stringy (1.8.1)
    Cloning 6a7b0391b2baf0bfdca3ec0c8d33ff379c2835ad

  - Installing symfony/filesystem (v2.6.4)
    Cloning a1f566d1f92e142fa1593f4555d6d89e3044a9b7

  - Installing classpreloader/classpreloader (1.2.0)
    Cloning f0bfbf71fb3335c9473f695d4d966ba2fb879a9f

  - Installing laravel/framework (v5.0.0)
    Cloning 44c61252b5762ff53ad181ed416e3006c50a6a9b

  - Installing symfony/yaml (v2.6.4)
    Cloning 60ed7751671113cf1ee7d7778e691642c2e9acd8

  - Installing sebastian/recursion-context (1.0.0)
    Cloning 3989662bbb30a29d20d9faa04a846af79b276252

  - Installing sebastian/exporter (1.2.0)
    Cloning 84839970d05254c73cde183a721c7af13aede943

  - Installing phpdocumentor/reflection-docblock (2.0.4)
    Cloning d68dbdc53dc358a816f00b300704702b2eaff7b8

  - Installing doctrine/instantiator (1.0.4)
    Cloning f976e5de371104877ebc89bd8fecb0019ed9c119

  - Installing phpspec/prophecy (v1.3.1)
    Cloning 9ca52329bcdd1500de24427542577ebf3fc2f1c9

  - Installing phpspec/php-diff (v1.0.2)
    Cloning 30e103d19519fe678ae64a60d77884ef3d71b28a

  - Installing phpspec/phpspec (2.1.1)
    Cloning 66a1df93099282b1514e9e001fcf6e9393f7783d

  - Installing phpunit/php-token-stream (1.4.0)
    Cloning db32c18eba00b121c145575fcbcd4d4d24e6db74

  - Installing sebastian/version (1.0.4)
    Cloning a77d9123f8e809db3fbdea15038c27a95da4058b

  - Installing sebastian/global-state (1.0.0)
    Cloning c7428acdb62ece0a45e6306f1ae85e1c05b09c01

  - Installing sebastian/environment (1.2.1)
    Cloning 6e6c71d918088c251b181ba8b3088af4ac336dd7

  - Installing sebastian/diff (1.2.0)
    Cloning 5843509fed39dee4b356a306401e9dd1a931fec7

  - Installing sebastian/comparator (1.1.1)
    Cloning 1dd8869519a225f7f2b9eb663e225298fade819e

  - Installing phpunit/php-text-template (1.2.0)
    Cloning 206dfefc0ffe9cebf65c413e3d0e809c82fbf00a

  - Installing phpunit/phpunit-mock-objects (2.3.0)
    Cloning c63d2367247365f688544f0d500af90a11a44c65

  - Installing phpunit/php-timer (1.0.5)
    Cloning 19689d4354b295ee3d8c54b4f42c3efb69cbc17c

  - Installing phpunit/php-file-iterator (1.3.4)
    Cloning acd690379117b042d1c8af1fafd61bde001bf6bb

  - Installing phpunit/php-code-coverage (2.0.15)
    Cloning 34cc484af1ca149188d0d9e91412191e398e0b67

  - Installing phpunit/phpunit (4.4.5)
    Cloning 2e8580deebb7d1ac92ac878595e6bffe01069c2a

symfony/var-dumper suggests installing ext-symfony_debug ()
symfony/translation suggests installing symfony/config ()
symfony/security-core suggests installing symfony/expression-language (For using the expression voter)
symfony/security-core suggests installing symfony/validator (For using the user password constraint)
symfony/routing suggests installing doctrine/annotations (For using the annotation loader)
symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader)
symfony/routing suggests installing symfony/expression-language (For using expression matching)
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/browser-kit ()
symfony/http-kernel suggests installing symfony/class-loader ()
symfony/http-kernel suggests installing symfony/config ()
symfony/http-kernel suggests installing symfony/dependency-injection ()
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing raven/raven (Allow sending log messages to a Sentry server)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing videlalvaro/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
league/flysystem suggests installing league/flysystem-aws-s3-v2 (Use S3 storage with AWS SDK v2)
league/flysystem suggests installing league/flysystem-aws-s3-v3 (Use S3 storage with AWS SDK v3)
league/flysystem suggests installing league/flysystem-azure (Allows you to use Windows Azure Blob storage)
league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem adapter decorator for metadata caching)
league/flysystem suggests installing league/flysystem-copy (Allows you to use Copy.com storage)
league/flysystem suggests installing league/flysystem-dropbox (Use Dropbox storage)
league/flysystem suggests installing league/flysystem-eventable-filesystem (Allows you to use EventableFilesystem)
league/flysystem suggests installing league/flysystem-rackspace (Allows you to use Rackspace Cloud Files)
league/flysystem suggests installing league/flysystem-sftp (Allows SFTP server storage via phpseclib)
league/flysystem suggests installing league/flysystem-webdav (Allows you to use WebDAV storage)
league/flysystem suggests installing league/flysystem-ziparchive (Allows you to use ZipArchive adapter)
league/flysystem suggests installing predis/predis (Allows you to use Predis for caching)
laravel/framework suggests installing aws/aws-sdk-php (Required to use the SQS queue driver (~2.4).)
laravel/framework suggests installing doctrine/dbal (Required to rename columns and drop SQLite columns (~2.4).)
laravel/framework suggests installing guzzlehttp/guzzle (Required to use the Mailgun and Mandrill mail drivers (~5.0).)
laravel/framework suggests installing iron-io/iron_mq (Required to use the iron queue driver (~1.5).)
laravel/framework suggests installing league/flysystem-aws-s3-v2 (Required to use the Flysystem S3 driver (~1.0).)
laravel/framework suggests installing league/flysystem-rackspace (Required to use the Flysystem Rackspace driver (~1.0).)
laravel/framework suggests installing pda/pheanstalk (Required to use the beanstalk queue driver (~3.0).)
laravel/framework suggests installing predis/predis (Required to use the redis cache and queue drivers (~1.0).)
phpdocumentor/reflection-docblock suggests installing dflydev/markdown (~1.0)
phpdocumentor/reflection-docblock suggests installing erusev/parsedown (~1.0)
phpspec/phpspec suggests installing phpspec/nyan-formatters (~1.0 – Adds Nyan formatters)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
Generating autoload files
Generating optimized class loader
Compiling common classes
Compiling views
[✓] SUCCESS

It seems Predis isn't installed on my local machine either. I've tried running composer clear-cache and composer update, but nothing seems to fix/install any of the suggestions.

Any help is greatly appreciated! Thank you :)

0 likes
4 replies
kryoll's avatar
kryoll
Best Answer
Level 2

Hi,

The suggestions are recommendations that add additional functionality.

I think that predis was removed from the default setup in L5. You should be able to run a composer require predis/predis to get predis back in L5

1 like
davidbarker's avatar

Perfect — thanks! I suspected it'd be something simple.

plamen's avatar

Thank you! I had similar problem not finding Predis.

1 like
Rolexx's avatar

Suggested packages that can enhance or work well with this package. These are just informational and are displayed after the package is installed, to give your users a hint that they could add more packages, even though they are not strictly required.

The format is like package links above, except that the values are free text and not version constraints.

src: https://getcomposer.org/doc/04-schema.md#suggest

1 like

Please or to participate in this conversation.