Conversation
…le handling and patch application
…s and Docker support; refine composer dependencies for Laravel 13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request makes significant improvements to the Saucebase installer, focusing on more robust and granular Docker and module installation flows, improved documentation, and compatibility updates for Laravel 13. The most important changes include a complete rewrite of the Docker driver to run all install steps explicitly (not via nested container calls), a new per-module patch/migrate/seed flow, and enhanced documentation for both users and contributors.
Installer and Module Installation Flow Improvements:
DockerEnvironment) now runs each install step explicitly: SSL prompt and generation, Docker startup, Composer install, artisan key generation, migrations, frontend stack setup, per-module install (require, patch, migrate, seed), storage link creation, and cache clearing. This replaces the previous approach of re-invoking the installer inside the container. (src/Environments/DockerEnvironment.php) [1] [2]applyModulePatches()method applies any.patchfiles shipped by modules, skipping already-applied patches and reporting failures. (src/Console/Commands/InstallCommand.php) [1] [2]Documentation and User Guidance:
README.mdandCLAUDE.mdhave been significantly updated to document the new Docker and native flows, prerequisites, options, and the detailed step-by-step process for both drivers. Examples and option descriptions have been clarified and expanded. (README.md,CLAUDE.md) [1] [2] [3] [4] [5] [6]Laravel 13 Compatibility:
illuminate/*dependencies incomposer.json. (composer.json)Testing and Internal API Changes:
CLAUDE.md)InstallCommandhave been made public to support use from environments and tests, includingfilterModulesByFramework()andfetchAvailableModules(). (src/Console/Commands/InstallCommand.php) [1] [2]Minor Improvements:
src/Console/Commands/InstallCommand.php)README.mdto show PHP, Laravel, and package versions. (README.md)These changes make the installer more robust, modular, and easier to understand and maintain, especially for Docker-based development.