Closed dready closed 12 years ago
Are you running into problems with the autoloader provided by Composer? By requiring the autoload.php
from the vendors folder does not fix your issue?
unfortunately not. we are using several projects (doctrine, zend, ..) and have been working a while with composer now.
I tried to debug where the problem comes from. Somehow the classloader from composer is not triggered in our form implementation for the Horizontal Twitter Form and the quick fix would be adding it into the include-path. (i finally run out of time for debugging)
Although will not disappear to use the include-path
on Composer it's deprecated in favour of the autoloader. Give me a chance to try to reproduce the issue and check if there is no other way to integrate Composer autoload with Zend_Loader_Autoloader
.
ok, will do the same on my end this week, i keep you posted if i find the problem.
The problem is that the directory must point to the PSR-0 root dir. Actually is pointing to the vendor subdirectory which is wrong. #53 fix this problem
PHP classes load correctly after apply #53. However form decorators only can load through include_path so it's needed include the root dir in the include_path
Done. Closing this as it has been fixed.
Hi,
sorry for the mess. I needed to add the include-path tag so composer will add the Twitter Library into it's vendor/composer/include_path.php.
This is needed for Zend Autoloader to work in ZF 1.11. (At least in my projects)
thx, dready