1. Go to this page and download the library: Download nish/phpstan-echo-html-rule 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/ */
nish / phpstan-echo-html-rule example snippets
namespace App;
class ProductDto
{
/** @var int */
public $product_id;
/** @var string */
public $name;
/** @var ?string */
public $description;
}
namespace App;
class ProductHtml {
public function view(ProductDto $product): void {