PHP code example of badpixxel / php-sdk
1. Go to this page and download the library: Download badpixxel/php-sdk 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/ */
badpixxel / php-sdk example snippets
bash
composer yaml
imports:
- "vendor/badpixxel/php-sdk/grumphp/generic.yml"
- "vendor/badpixxel/php-sdk/grumphp/extras.yml" # optional: module/docs build
makefile
yaml
tests:php-8.4:
image: registry.gitlab.com/badpixxel-projects/php-sdk:php-8.4
script:
- composer update --prefer-dist --no-interaction
- cat vendor/badpixxel/php-sdk/ci/grumphp.sh | sh
bash
# 1. Install the SDK
composer p.yml
cat > grumphp.yml <<EOF
parameters:
core_dir: "vendor/badpixxel/php-sdk"
imports:
- "vendor/badpixxel/php-sdk/grumphp/generic.yml"
EOF
# 3. Wire up the Makefile
echo '