brexis / laravel-workflow

Use the Symfony Workflow component in Laravel
MIT License
281 stars 105 forks source link

Does not install on Laravel 6.15.0 #69

Open klimenttoshkov opened 4 years ago

klimenttoshkov commented 4 years ago

composer require brexis/laravel-workflow Using version ^1.3 for brexis/laravel-workflow ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

Installation failed, reverting ./composer.json to its original content.

Azmeer-crescent commented 4 years ago

I get this error: Symfony\Component\Debug\Exception\FatalThrowableError Argument 1 passed to Brexis\LaravelWorkflow\WorkflowRegistry::__construct() must be of the type array, null given, called in \vendor\brexis\laravel-workflow\src\WorkflowServiceProvider.php on line 41

Laravel version 6.18.3, PHP 7.4.2

brexis commented 4 years ago

The supported versions of symfony/workflow are 3.x and 4.x. It seems your composer.json is locked to symfony:workflow 5.0.4. You may need to downgrade to 4.x.