LMSouq
moodle-core Open

Composer hangs on "Resolving dependencies on SAT" between Moodle and Laravel used as a local plugin

JS
jsindos
1 month ago
3 views
Problem Description
I'm using a Laravel project as a local plugin of Moodle, using the [composer/installer](https://github.com/composer/installers) package. The layout of the project is: // Moodle Application - composer.json - local/ - laravel-plugin/ <- here is the Laravel local plugin - composer.json <- composer.json of Laravel plugin **The composer.json of the Moodle application** { "name": "moodle/moodle", "license": "GPL-3.0", "description": "Moodle - the world's open source learning platform", "type": "project", "homepage": "https://moodle.org", "require": { "composer/installers": "~1.0", "Pursuittech/sam": "dev-master" <- here is the Laravel local plugin }, "require-dev": { "phpunit/phpunit": "5.5.*", "phpunit/dbUnit": "1.4.*", "moodlehq/behat-extension": "3.33.1", "mikey179/vfsStream": "^1.6" }, "repositories": [ { "type": "vcs", "url": "git@github.com:Pursuittech/sam.git" } ] } **composer.json of the Laravel local plugin** { "name": "Pursuittech/sam", "description": "The Laravel Framework.", "keywords": ["framework", "laravel"], "license": "MIT", "type": "moodle-local", "require": { "php": ">=5.6.4", "laravel/framework": "5.4.*", "laravel/tinker": "~1.0", "composer/installers": "~1.0" }, "require-dev": { "fzaninotto/faker": "~1.4", "mockery/mockery": "0.9.*", "phpunit/phpunit": "~5.7" }, "autoload": { "classmap": [ "database/seeds", "database/factories" ], "psr-4": { "Api\\": "api/", "App\\": "app/" } }, "autoload-dev": { "psr-4": { "Tests\\": "tests/" } }, "scripts": { "post-root-package-install": [ "php -r \"file_exists('.env&#...

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base