PHP code example of jstewmc / credentials
1. Go to this page and download the library: Download jstewmc/credentials 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/ */
jstewmc / credentials example snippets
namespace Jstewmc\Credentials;
$credentials = new Credentials(1, 'foo');
$credentials->getId(); // returns 1
$credentials->getSecret(); // returns "foo"