PHP code example of gpupo / common-dev-extra

1. Go to this page and download the library: Download gpupo/common-dev-extra 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/ */

    

gpupo / common-dev-extra example snippets



//.php_cs.dist
Extra\CsConfigurator;

$packageInfo = [
	'project' => 'foo/bar',
	'author' => 'Outer Bass <[email protected]>',
	'url' => 'https://basses.com/',
];

return (new CsConfigurator(__DIR__))->getConfig($packageInfo);