PHP code example of knuckleswtf / scribe-tags2attributes
1. Go to this page and download the library: Download knuckleswtf/scribe-tags2attributes 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/ */
knuckleswtf / scribe-tags2attributes example snippets
use Rector\Config\RectorConfig;
return static function (RectorConfig $rectorConfig): void {
$rectorConfig->disableParallel();
$rectorConfig->paths([
__DIR__ . '/app/Http/Controllers', // <- replace this with wherever your controllers are
]);
$rectorConfig->importNames();
$rectorConfig->rule(\Knuckles\Scribe\Tags2Attributes\RectorRule::class);
};