cybercog / laravel-clickhouse

Laravel ClickHouse adds CH client integration, generation & execution of ClickHouse database migrations to the Laravel application.
https://komarev.com/sources/laravel-clickhouse
MIT License
65 stars 9 forks source link

Not installing now #6

Closed TheCoderDivine closed 6 months ago

TheCoderDivine commented 6 months ago

I am working on a Laravel 8 project with PHP 7.4 on my local machine, using the CyberLog Laravel ClickHouse package. However, when I tried to migrate the project to the server and perform 'composer install', I encountered an issue. It seems that the package is not supported on PHP 7.4; it requires PHP 8. How can I install this package with PHP 7.4?

antonkomarev commented 6 months ago

This package does not have stable version yet, and PHP 7.4 support was dropped. Now it has minimum version of PHP8 and Laravel 9. I don't really remember why I bumped requirements. Maybe I should downgrade them back.

antonkomarev commented 6 months ago

You can use exact hash in composer: 5020a603f88e70b97d6fea91e76a835e1c4e03e4

TheCoderDivine commented 6 months ago

while executing the below command divine@tech: composer require cybercog/laravel-clickhouse:dev-master#5020a603f88e70b97d6fea91e76a835e1c4e03e4

./composer.json has been updated Running composer update cybercog/laravel-clickhouse Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1

Installation failed, reverting ./composer.json to its original content.

antonkomarev commented 6 months ago

@TheCoderDivine try again without hash, just dev-master

TheCoderDivine commented 6 months ago

Thanks @antonkomarev. Now it's working. However, in the future, I will need this. Can you make it version-based?

antonkomarev commented 6 months ago

Sure, just need time to push it to release.