Merged
Conversation
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 introduces significant improvements to the project's PHP ecosystem, focusing on dependency updates, enhanced configuration, and streamlined CI workflows. The main changes include updating core and development dependencies to newer major versions, refactoring the configuration to use enums and support new drivers, and consolidating GitHub Actions for PHP setup and dependency caching. Additionally, it introduces new scripts and autoloading paths for better development and testing support.
Dependency and Compatibility Updates
^8.4and updated several dependencies to their latest major versions incomposer.json, includingilluminate/collections,openai-php/client,orchestra/testbench,pestphp/pest, and others. Also addedlaravel/promptsand new autoload paths for a workbench environment. [1] [2]post-autoload-dump,clear,prepare,build, andservescripts to streamline local development and testing.Configuration Enhancements
config/cortex.phpto use enum-basedLLMDriverandModelProviderfor LLM providers, added new drivers (e.g.,openai_chat,openai_responses), and updated default models and options for multiple providers. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]tavilytool by default in the MCP tools configuration.Continuous Integration and Workflow Improvements
.github/actions/setup-php-composer/action.yml) to set up PHP, install Composer dependencies with caching, and handle stability preferences.run-tests.ymlandstatic-analysis.ymlworkflows to use the new composite action, bumped PHP versions in the test matrix, and improved caching strategies for Composer, phpstan, rector, and ecs. Also removed redundant steps and streamlined dependency installation. (Fe32f64eL9R9, [1] [2] [3]Miscellaneous
.gitattributesto exclude theworkbenchdirectory from exports and removed thecortexdirectory from export-ignore.These changes collectively modernize the codebase, improve maintainability, and enhance the developer experience across local and CI environments.