Download the PHP package badpixxel/php-sdk without Composer
On this page you can find all versions of the php package badpixxel/php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package php-sdk
BadPixxel Php-Sdk
Standardized development kit for BadPixxel & SplashSync PHP packages.
This SDK bundles all the quality, CI/CD and build tooling for a PHP project: just install it as require-dev and you get a complete GrumPHP configuration, multi-version Docker images, a ready-to-use Makefile and packaging tasks.
Features
1. Ready-to-use GrumPHP quality suite
Centralized GrumPHP configuration that you import from your grumphp.yml:
Bundled and preconfigured tools:
| Category | Tools |
|---|---|
| Lint | phplint, jsonlint, yamllint, twigcs, composer |
| Style | phpcs (PSR-12), phpcsfixer, phpmd, phpcpd |
| Analysis | phpstan (level 9 by default) |
| Git hooks | git_blacklist (blocks var_dump, dump(, print_r…) |
Shipped test suites:
travis— full suite executed in CIcsfixer— PSR-12 compliancephpstan— static analysissplash— module + documentation build
2. Shared code standards
Plug-and-play BadPixxel / SplashSync rule sets:
- PHP-CS-Fixer:
phpcs/cs.badpixxel.php,cs.splashsync.php,cs.immopop.php - PHPMD:
phpmd/phpmd.xml - PHPStan:
phpstan/badpixxel.neon,splashsync.neon, plus Symfony variants
Switch between profiles with a single parameter:
3. Ready-to-use Makefile
Include it in your project's Makefile:
Available targets:
| Target | Effect |
|---|---|
make lint |
Run all linters (composer, php, json, yaml, twig) |
make style |
Run all style checks (cs, csfixer, md, cpd) |
make stan |
Run PHPStan |
make quality |
Run lint + style + stan in a row |
make up/stop |
Start/stop the project's Docker containers |
make cc |
Clear the Symfony cache on every container |
4. Multi-version PHP Docker images
Official images published on:
registry.gitlab.com/badpixxel-projects/php-sdk:php-X.Ysplashsync/php-sdk:php-X.Y
Available versions: PHP 7.2 → 8.5, with -apache variants (8.2/8.3/8.4) and a jekyll image for docs.
Highlights:
- Based on
dunglas/frankenphp(PHP 8.x) with embedded Caddy - Preinstalled extensions:
intl,zip,soap,opcache,apcu,xml,bcmath,pcntl,exif,xsl,sockets,ftp,gd,imagick,pdo_mysql,pdo_sqlite,mongodb - Composer 2 included
- CLI tools:
git,make,curl,wget,unzip,openssh
5. Multi-PHP docker-compose.yml
A single file to test your code against every PHP version in parallel:
6. Reusable GitLab CI pipeline
The SDK's .gitlab-ci.yml provides the canonical skeleton:
- Docker stage: build & push the PHP images (triggered on
docker/**changes) - Quality stage: run GrumPHP against every supported PHP version
- Builds stage: generate the Jekyll documentation site for GitLab Pages
Since the images are public, any project can reuse them:
7. Custom GrumPHP tasks
Exposed through the BadPixxel\PhpSdk\Extension\Loader extension:
build-module— Automatically packages the module as an installable ZIP archive (BadPixxel\PhpSdk\Task\ModuleBuilder)build-docs— Generates the Jekyll documentation site for GitLab/GitHub Pages (BadPixxel\PhpSdk\Task\DocumentationBuilder)
Enabled via the splash testsuite:
8. CI/CD scripts
Reusable shell scripts in ci/ and toolkit/:
ci/composer.sh,ci/grumphp.sh,ci/verify.sh,ci/after.shtoolkit/build.sh,toolkit/phpunit.sh,toolkit/manifest.shsymfony/install.sh,symfony/configure.sh,symfony/deploy.sh
Quick start
Requirements
- PHP 8.1+
- Composer 2
- Docker + Docker Compose (for the multi-version workflows)
Documentation
Full configuration guide: Php Sdk Doc
License
MIT — see LICENSE.
Contributing
Pull requests are welcome.
All versions of php-sdk with dependencies
phpunit/phpunit Version ^7.0|^8.0|^9.0
phpro/grumphp Version ^0.19|^1.0
composer/composer Version ^1.0|^2.0
php-parallel-lint/php-parallel-lint Version ^1.0
j13k/yaml-lint Version ^1.1
seld/jsonlint Version ^1.7
friendsoftwig/twigcs Version ^4.0|^5.0|^6.0
phpmd/phpmd Version ^2.6
sebastian/phpcpd Version >3.0
squizlabs/php_codesniffer Version ^3.2
friendsofphp/php-cs-fixer Version >2.10
phpstan/phpstan Version ^1.0
phpstan/phpstan-phpunit Version ^1.0
phpstan/phpstan-doctrine Version ^1.0
phpstan/phpstan-symfony Version ^1.0
phpstan/phpstan-strict-rules Version ^1.0