Closed

Answer PHP Namespaces Question

This project received 11 bids from talented freelancers with an average bid price of $183 USD.

Get free quotes for a project like this
Employer working
Project Budget
$30 - $250 USD
Total Bids
11
Project Description

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]'

]);

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

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