javiereguiluz / easybook

Book publishing as easy as it should be (built with Symfony components)
https://easycorp.io/EasyBook
Other
754 stars 81 forks source link

Composer install leads to "Class Pimple not found" #156

Closed charlycoste closed 9 years ago

charlycoste commented 9 years ago

I tried to install easybook via composer and tried ./book -version, but I got a

PHP Fatal error:  Class 'Pimple' not found in /home/[...]/src/Easybook/DependencyInjection/Application.php on line 32

Using actual dev-master version of Pimple as dependency seams to leads to unfoundable classes. It's maybe a temporary error from Pimple repository, but as the last stable version (4.8) of easybook is using dev-master for Pimple, installations from composer will be unusable!

Only the dev-master of easybook is ok because it's using the 1.1.1 version of Pimple. But this version is not the one that we get we using composer create-project easybook/easybook project_folder

I see two solutions:

valueforvalue commented 9 years ago

@charlycoste Thanks for the info on this saved me a bunch of time.

javiereguiluz commented 9 years ago

Fixed in the latest version, where Pimple has been updated to version 3.0. Besides, the new installation instructions of the project recommend only to use Composer.