cancel
Showing results for 
Search instead for 
Did you mean: 

PHP Library

gman
Champ in-the-making
Champ in-the-making
I've searched and read stuff on the forums related to PHP in Alfresco. I installed the PHP AMP into the war and deployed the war. In the PHP examples I have come across in the forum, they all have

    require_once "Alfresco/Service/Repository.php";
    require_once "Alfresco/Service/Session.php";
    require_once "Alfresco/Service/SpacesStore.php";

I cannot find any of these files in my new Alfresco deployment. Did I miss something? Are references to these files no longer needed?
2 REPLIES 2

gyro_gearless
Champ in-the-making
Champ in-the-making
There is really no point in installing the PHP Amp: This was once intended for server-side PHP deployment. AFAIK, this is no longer maintained by Alfresco (and perhaps not functional at all).

You might fetch the required PHP files from Subversion: http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/modules/php-sdk

However, the PHP SDK has not been maintained for a long time, so you might check out our lube&tuned version at http://www.sugarforge.org/frs/download.php/6171/Alfredo-PHPAPI-5.2.0--2.0.0-TEST-r8433__2009-11-19-1...

ALthough this is packaged as SugarCRM module, you may easily extract the PHP files from the ZIP!

Cheers
Gyro

gman
Champ in-the-making
Champ in-the-making
Thanks for the reply. I may look into the eZ Publish NXC CMIS library.