PHP code example of fpcs / php-coding-standard
1. Go to this page and download the library: Download fpcs/php-coding-standard 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/ */
fpcs / php-coding-standard example snippets
imports:
- { resource: 'vendor/symplify/easy-coding-standard/config/set/psr2.yaml' }
- { resource: 'vendor/symplify/easy-coding-standard/config/set/clean-code.yaml' }
- { resource: 'vendor/fpcs/php-coding-standard/easy-coding-standard/base.yaml' }
- { resource: 'vendor/fpcs/php-coding-standard/easy-coding-standard/laravel.yaml' }