PHP code example of cauriland / foundation
1. Go to this page and download the library: Download cauriland/foundation 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/ */
cauriland / foundation example snippets
json
"scripts": [
"analyse": [
"vendor/bin/phpstan analyse --configuration=vendor/cauriland/foundation/phpstan.neon --memory-limit=2G"
],
"format": [
"vendor/bin/php-cs-fixer fix --config=vendor/cauriland/foundation/.php-cs-fixer.php"
],
"refactor": [
"./vendor/bin/rector process --config=vendor/cauriland/foundation/rector.php"
],
"test": [
"./vendor/bin/pest"
],
"test:fast": [
"./vendor/bin/pest --parallel"
],
"test:coverage": [
"./vendor/bin/pest --coverage --min=100 --coverage-html=.coverage --coverage-clover=coverage.xml"
]
],