reli-prof icon indicating copy to clipboard operation
reli-prof copied to clipboard

PHP 8.3.1 Could not find package reliforp/reli-prof with stability stable in a version installable using your PHP version

Open Tinywan opened this issue 1 year ago • 3 comments

Could not find package reliforp/reli-prof with stability stable in a version installable using your PHP version, PHP extensions and Composer version

Tinywan avatar Dec 31 '23 01:12 Tinywan

@Tinywan Hi, thanks for the report!

Could not find package reliforp/reli-prof with stability stable

What is your use case?

There is currently no stable version of this package, but this is not usually a problem.

This package is intended to be installed as a standalone tool, for example, via composer create-project or docker.

If you install it as a dependency package of another project with composer require and want to use the internal code as a library, you must accept that the compatibility may be broken in the future and add it as a non-stable dependency.

As we have built the code in the Lib directory with some degree of reusability in mind, we will, at some point, cut out the public API and release 1.0.0 at the same time.

I am not convinced that this is the right time yet. Though we are already using it in two actually different applications, the execution time profiler and the memory profiler, and no significant changes have occurred recently, so the remaining path would not be too far away.

sj-i avatar Jan 01 '24 05:01 sj-i

thanks,I had use 8.2.14 success

Tinywan avatar Jan 02 '24 08:01 Tinywan

@Tinywan Oops, I forgot to reply. Sorry! And thanks for introducing Reli in your article.

thanks,I had use 8.2.14 success

FYI, Reli works fine with PHP 8.3.1 on my end. The current code calls FFI::new() statically, so E_DEPRECATED should be suppressed though.

Anyway, can I close this issue now?

sj-i avatar Jan 18 '24 18:01 sj-i