PHP code example of rdx / laravelcollective-annotations

1. Go to this page and download the library: Download rdx/laravelcollective-annotations 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/ */

    

rdx / laravelcollective-annotations example snippets


return RectorConfig::configure()
	->withPaths([
		__DIR__ . '/app/Http/Controllers',
	])
	->withRules([
		AnnotationsToAttributesRector::class,
	])
;

[
	'fully_qualified_strict_types' => [
		'import_symbols' => true,
		'phpdoc_tags' => [],
	],
]
bash
vendor/bin/php-cs-fixer fix app/Http/Controllers/