PHP code example of webpractik / php_code_style

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

    

webpractik / php_code_style example snippets

bash
composer global 
bash
# linux
phpcs --config-set installed_paths "$HOME/.config/composer/vendor/webpractik/php_code_style"

# linux kde
phpcs --config-set installed_paths $HOME/.composer/vendor/webpractik/php_code_style

# windows
phpcs --config-set installed_paths "~/AppData/Roaming/Composer/vendor/webpractik/php_code_style"