关闭

Answer PHP Namespaces Question

该项目收到11 来自天才威客的竞标,平均竞标价格为$183 USD

为像这样的项目获取免费报价
雇主工作
项目预算
$30 - $250 USD
全部竞标
11
项目描述

This is a limited contract to answer one question about using namespaces with a particular PHP library.

We will award the contract to the first contractor who can provide an example - that works in our development environment - to instantiate a class with a namespace.

We are using this library:

[url removed, login to view]

We have included the /src directory and are attempting to instantiate a class using namespaces as required by the library.

foreach (glob('src/*.php') as $filename)

{

include_once $filename;

}

$provider = new \League\OAuth2\Client\Provider\GenericProvider([

'clientId' => $client_id, // The client ID assigned to you by the provider

'clientSecret' => $client_secret, // The client password assigned to you by the provider

'redirectUri' => '[url removed, login to view]',

'urlAuthorize' => '[url removed, login to view]',

'urlAccessToken' => '[url removed, login to view]',

'urlResourceOwnerDetails' => '[url removed, login to view]'

]);

在寻找赚取金钱的机会?

  • 设定您的预算和时间框架
  • 大致描述您的建议方案
  • 为您的工作领取工资

雇用同样在该项目上竞标的威客

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online