Skip to content

Conversation

@kitrio
Copy link
Contributor

@kitrio kitrio commented Nov 18, 2025

Warning message from composer in docker container:

Composer is operating significantly slower than normal because you do not have the PHP curl extension enabled.
mark: No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.

so, added curl extension, unzip

@github-actions
Copy link
Contributor

The following frameworks were updated, pinging maintainers:
reactphp: @WyriHaximus

Copy link
Contributor

@WyriHaximus WyriHaximus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor

@joanhey joanhey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, It's OK this change.
But what we gain with composer, we loose it with docker build downloading, compiling and installing 2 more packages and dependencies.

PD: if you have installed PHP, please add the 2 packages.

@joanhey
Copy link
Contributor

joanhey commented Nov 26, 2025

About the no composer.lock file:
The bench is running continuously, each ~190 hours a new run, so we can check any issues with minor version update of dependencies and performance changes.

The bench don't permit use latest for versions (that I think is correct).
For example, with the PHP version we chose the MAJOR.MINOR never the PATCH, PHP 8.3 8.4 8.5 ... so in each run if a new patch version is ready, the bench use it without any work for us.

The same happens with the composer.json:
"laravel/framework": "^12", "cakephp/cakephp": "^5.0.1", "codeigniter4/framework": "^4.0", ...

All use SEM versioning, so they need to work with .minor versions. If the bench fail is a bug in the framework (some times happened) and we can create a issue.

So all is working in a secure way, only permitting minor versions.
Imagine the work if we need to update any minor or patch version of PHP and each framework 😥, when we can have it for free and check performance changes. So the bench never use outdated versions.

PD: in your production apps, please use always composer.lock to avoid problems.

# Conflicts:
#	frameworks/PHP/kumbiaphp/kumbiaphp-workerman-mysql.dockerfile
#	frameworks/PHP/kumbiaphp/kumbiaphp-workerman.dockerfile
#	frameworks/PHP/mark/mark.dockerfile
#	frameworks/PHP/php/php-laravel-query-builder.dockerfile
#	frameworks/PHP/php/php-workerman.dockerfile
#	frameworks/PHP/reactphp/reactphp-libuv.dockerfile
#	frameworks/PHP/reactphp/reactphp.dockerfile
#	frameworks/PHP/yii2/yii2-raw.dockerfile
#	frameworks/PHP/yii2/yii2-workerman.dockerfile
#	frameworks/PHP/yii2/yii2.dockerfile
@joanhey
Copy link
Contributor

joanhey commented Dec 5, 2025

I think that nobody understand what I said before in this PR !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants