1. Go to this page and download the library: Download localheinz/token 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/ */
localheinz / token example snippets
use Localheinz\Token\Sequence;
$source = <<<'PHP'
class Foo
{
/**
* @param Bar $bar
*/
public function __construct(Bar $bar)
{
$this->bar = $bar;
}
}
PHP;
$sequence = Sequence::fromSource($source);