1. Go to this page and download the library: Download colorium/runtime 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/ */
colorium / runtime example snippets
/**
* @top notch
*/
class Some
{
/**
* @var int
*/
protected $prop;
/**
* @foo bar
* @param string $name
*/
public function thing($name)
{
return 'Hello ' . $name . ' !';
}
}
/**
* @hell o
*/
function hello()
{
return 'Hello !';
}