itk-dev / pretix-api-client-php
PHP client for pretix api
1.2.0
2023-11-22 11:38 UTC
Requires
- php: ^8.1
- ext-json: *
- doctrine/collections: ^1.4
- guzzlehttp/guzzle: ^7.0
- symfony/options-resolver: ^5.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.11
- phan/phan: ^5.4
- phpstan/phpstan: ^1.8
- phpunit/phpunit: ^9.0
- squizlabs/php_codesniffer: ^3.7
This package is auto-updated.
Last update: 2024-12-22 14:06:05 UTC
README
composer require itk-dev/pretix-api-client-php
Test
docker-compose up -d
docker-compose exec phpfpm composer install
docker-compose exec pretix python /pretix/src/manage.py migrate docker-compose exec pretix python /pretix/src/manage.py compress docker-compose exec pretix python /pretix/src/manage.py collectstatic --no-input
Run the tests:
./scripts/test
pretix
To access pretix, add
0.0.0.0 pretix
to your /etc/hosts
file and run
open http://pretix:$(docker-compose port pretix 80 | cut -d: -f2)/control
Sign in as admin@localhost
with password admin
.