dqwd71332 2014-08-06 08:14
浏览 21
已采纳

通过作曲家通过parse.com配置php

I have tried to install php via composer and without composer in Parse. Guide for install php through paser.I followed the steps and procedure but its not working please let me know how to solve this problem.

  • 写回答

3条回答 默认 最新

  • dongqian5569 2014-08-12 09:41
    关注

    You can use the autoload.php file included in the source code to include the SDK files easily. You can also use this tutorial to help you get started with the Parse PHP SDK without using Compose.

    You need to do something like:

    // include Parse SDK autoloader
    require_once( 'autoload.php' );
    
    // Add the "use" declarations where you'll be using the classes
    use Parse\ParseClient;
    use Parse\ParseObject;
    
    // Init parse: app_id, rest_key, master_key
    ParseClient::initialize('xxx', 'yyy', 'zzz');
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?