1. Go to this page and download the library: Download zicht/standards-php library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?phprequire_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
zicht / standards-php example snippets
/**
* Class SomeExampleClass <-- Doc block must be improved or removed
*/classSomeExampleClass{
/**
* SomeClass constructor. <-- Doc block must be improved or removed
*/publicfunction__construct(){
$this->setSomeValues([1, 2, 3]);
}
/**
* Set some values <-- Description must be improved or removed
*
* @param int[] $someValues Integer values to set
*/publicfunctionsetSomeValues(array $someValues){
$this->someValues = $someValues;
}
}