1. Go to this page and download the library: Download webifycms/dev-tools 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/ */
webifycms / dev-tools example snippets
use Webify\Tools\Fixer;
use PhpCsFixer\Finder;
// create a finder instance according to your needs
$finder = Finder::create()->in(__DIR__ . '/src');
// add the rules and it will override the defaults
$rules = [];
return (new Fixer($finder, $rules))->getConfig();
use Webify\Tools\Rector;
// Initialize
return (new Rector())
->initialize([
__DIR__ . '/src',
__DIR__ . '/test'
])
->withPhpSets(php81: true);
use Webify\Tools\Fixer;
use PhpCsFixer\Finder;
$finder = Finder::create()->in(__DIR__ . '/src');
$config = (new Fixer($finder))->getConfig();
// Inspect the merged rules before returning
dump($config->getRules());
return $config;
$config = (new Fixer($finder))->getConfig();
dd($config->getRules());
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.