gpirrotta / OpenAlboPretorio

OpenAlboPretorio is a scraper library able to extract data from the Albo Pretorio Web archive present on Italian city institutional websites
MIT License
3 stars 0 forks source link

Installation problem / zend-stdlib not found #1

Open nelsonmau opened 8 years ago

nelsonmau commented 8 years ago

I got this message after running php composer.phar install

Installing zendframework/zend-stdlib (2.2.1)
    Downloading: Failed       
    Failed to download zendframework/zend-stdlib from dist: 
The "https://api.github.com/repos/zendframework/Component_ZendStdlib/zipball/release-2.2.1" 
file could not be downloaded (HTTP/1.1 404 Not Found)
    Now trying to download from source
gpirrotta commented 8 years ago

@nelsonmau Try now 6114047e3ce19de7c2015085353a9e55b6d22107

nelsonmau commented 8 years ago

tnx, but it is stil trouble would I have not access to the repo?

Please make sure you have the correct access rights                                     
    and the repository exists.
nelsonmau commented 8 years ago

It works (after deleting and re-cloning the repo)

but what does it mean this? Now you can add the autoloader, and you will have access to the library:

gpirrotta commented 8 years ago

You have to make invokable the library. So you must add the autoloader (created by composer in the vendor folder) at the beginning of your script:

require 'vendor/autoload.php';

Now the classes of the library are available.