PHP code example of treehouselabs / standards
1. Go to this page and download the library: Download treehouselabs/standards 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/ */
treehouselabs / standards example snippets
bash
cp vendor/treehouselabs/standards/.php_cs .
bash
vendor/
.php_cs.cache
composer.lock
bash
script:
- bin/php-cs-fixer fix --config=.php_cs --verbose --diff --dry-run
bash
cache:
directories:
- $HOME/.php-cs-fixer
bash
./bin/php-cs-fixer fix -v