PHP code example of midia-simples / plan-center-sdk
1. Go to this page and download the library: Download midia-simples/plan-center-sdk 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/ */
return [
/**
* URL base da API do Plan Center
*/
'base_url' => env('PLAN_CENTER_BASE_URL'),
/**
* Chave secreta de autenticação (token)
*/
'secret_key' => env('PLAN_CENTER_SECRET_KEY'),
];