predoza / sdk-php
Development repository of the Predoza PHP SDK: predoza/predoza-php, predoza/predoza-symfony and predoza/predoza-laravel
v1.0.0
2026-11-16 10:52 UTC
Requires
- php: ^8.2
- ext-json: *
- paragonie/sodium_compat: ^2.1
- psr/clock: ^1.0
Requires (Dev)
- nyholm/psr7: ^1.8
- orchestra/testbench: ^10.0 || ^11.0
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^11.5
- psr/http-factory: ^1.1
- psr/http-server-handler: ^1.0
- symfony/browser-kit: ^6.4 || ^7.4 || ^8.0
- symfony/console: ^6.4 || ^7.4 || ^8.0
- symfony/framework-bundle: ^6.4 || ^7.4 || ^8.0
- symfony/security-bundle: ^6.4 || ^7.4 || ^8.0
- symfony/twig-bundle: ^6.4 || ^7.4 || ^8.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Sign your site's logged-in members in to embedded Predoza games from PHP, Symfony or Laravel.
Members logged in to your site play embedded Predoza games signed in, without logging in twice. Install the package for your framework; this repository is where all three are developed.
Contents
Packages
| Package | For | Repository | Packagist |
|---|---|---|---|
predoza/predoza-php |
Plain PHP, PSR-15 apps and any other framework | predoza/predoza-php | |
predoza/predoza-symfony |
Symfony 6.4, 7.4 and 8.x | predoza/predoza-symfony | |
predoza/predoza-laravel |
Laravel 12 and 13 | predoza/predoza-laravel |
Getting started
- On the Host sign-in page of the Predoza client panel, turn host sign-in on and press Create site key.
Copy the value into your server's environment as
PREDOZA_SITE_KEY; it is shown only once. - Install the package for your framework and follow its README.
- Run the package's doctor on your server to check the setup.
Development
You need PHP 8.2 or later and Composer.
composer install composer test # PHPUnit for all three packages composer analyse # PHPStan at level max
Issues and pull requests are welcome here. The package repositories are read-only copies of packages/*.
Security
Don't open a public issue for a security problem. Email dev@predoza.com with a description and the steps to reproduce it.
License
MIT. See LICENSE.