PHP code example of smartfactory / oauth2

1. Go to this page and download the library: Download smartfactory/oauth2 library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

smartfactory / oauth2 example snippets


{
  ...

  "">=8.0",
    "smartfactory/smartfactory": ">=2.1.23",
    "smartfactory/oauth2": ">=1.2.23"
  }
  
  ...
}