1. Go to this page and download the library: Download sympress/coding-standards 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/ */
sympress / coding-standards example snippets
public function getTitle(): string
{
return $this->title;
}
public function setTitle(string $title): void
{
$this->title = $title;
}
public function title(): string
{
return $this->title;
}
public function rename(string $title): void
{
$this->title = $title;
}