hedii/php-crawler

Error during installation

horridon opened this issue · 5 comments

[root@unit237 html]# ls
php-crawler
[root@unit237 html]# composer create-project hedii/php-crawler php-crawler

[InvalidArgumentException]
Could not find package hedii/php-crawler with stability stable.

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [] [] []

What am I doing wrong?

hedii commented

try this and let me know if it is ok:
composer self-update && composer create-project hedii/php-crawler php-crawler

The package has 'stability stable', maybe composer is trying to get an old version. I don't have this problem with an up to date composer.

This is the output:

`You are already using composer version 0a8528c5c7de43eca15237add666b4f8219aedc4.

[InvalidArgumentException]
Could not find package hedii/php-crawler with stability stable.

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [] [] []

`

hedii commented

What is your php version?
The required version is ">=5.5.9" (same as laravel)

PHP 5.3.3 (cli) (built: Feb 9 2016 10:36:17)

I will update it asap.

hedii commented

yes, update it :)