indeyets / appserver-in-php

Generic HTTP applications approach for PHP5.3+ (inspired by Rack and WSGI)
BSD 3-Clause "New" or "Revised" License
291 stars 23 forks source link

Error when installing via composer #32

Closed allinora closed 11 years ago

allinora commented 11 years ago

Hi Alexey, I have just installed via composer and try to run my app. Here is what I am getting. Can you please addd them as dependencies in your composer definition file. thanks

ponyo-mba~/www/worldsoft/projects/ws_wbs/wbs_backend> /usr/local/bin/php -v PHP 5.4.19 (cli) (built: Sep 18 2013 11:14:22) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

ponyo-mba~/www/worldsoft/projects/ws_wbs/wbs_backend> /usr/local/bin/php vendor/bin/aip app aip.dev.yaml Loading configuration… PHP Fatal error: Class 'Symfony\Component\Yaml\Yaml' not found in /Users/aghaffar/www/clients/worldsoft/projects/ws_wbs/wbs_backend/vendor/aip/aip/AiP/Runner/AppCommand.php on line 40

Fatal error: Class 'Symfony\Component\Yaml\Yaml' not found in /Users/aghaffar/www/clients/worldsoft/projects/ws_wbs/wbs_backend/vendor/aip/aip/AiP/Runner/AppCommand.php on line 40

indeyets commented 11 years ago

thanks! I'll fix it.

I wonder if the proper solution would be to split it into 2 packages: aip/aip for framework and aip/aip-cli for the console-runner

indeyets commented 11 years ago

fixed in 0028306 and version 0.10.1

allinora commented 11 years ago

Thanks. Whats the difference with the aip/aip-cli and aip/aip?

indeyets commented 11 years ago

aip would be the library and cli would be the runner which depends on library and additional components which are not needed if one is interested strictly in library (yaml, sf/console, …)