cultuurnet / udb3-silex
UiTdatabank 3 core application
Requires
- php: >=7.1
- ext-dom: *
- ext-iconv: *
- ext-json: *
- ext-libxml: *
- ext-pcntl: *
- ext-pdo: *
- ext-redis: *
- ext-simplexml: *
- ext-tidy: *
- ext-xmlreader: *
- auth0/auth0-php: ^5.7
- broadway/broadway: 1.0.0
- cakephp/chronos: ^1.3
- chrisboulton/php-resque: dev-compat-1-2 as 1.2
- commerceguys/intl: ^0.7
- crell/api-problem: ^1.7
- cultuurnet/calendar-summary-v3: ^3.2
- cultuurnet/cdb: ~2.2.0
- cultuurnet/culturefeed-php: dev-master
- cultuurnet/monolog-socketio: ~0.1
- cultuurnet/udb3-api-guard: ^v4.0
- cultuurnet/valueobjects: ^4.1
- danielstjules/stringy: ^3.1
- doctrine/cache: ~1.3
- doctrine/dbal: ~2.4
- doctrine/migrations: ~1.0@dev
- gridonic/princexml-php: ~1.1.1
- guzzlehttp/guzzle: ^6.3
- guzzlehttp/psr7: ^1.4
- hanneskod/classtools: ~1.0
- jdesrosiers/silex-cors-provider: ~0.1.4
- jeremykendall/php-domain-parser: 4.0.3-alpha as 1.3.1
- knplabs/console-service-provider: ~1.0
- lcobucci/jwt: 3.3.*
- league/csv: ^9.1
- league/flysystem: ~1.0
- league/flysystem-ziparchive: ~1.0
- league/period: ^3.3
- league/uri: ~4.2
- monolog/monolog: ~1.11
- nesbot/carbon: ^1.22
- php-amqplib/php-amqplib: ^2.12
- php-http/guzzle6-adapter: ^1.0
- php-http/httplug: ^1.0.0
- phpoffice/phpexcel: ~1.8
- predis/predis: ~1.0
- psr/log: dev-master
- qandidate/toggle: ^1.1
- rase/socket.io-emitter: 0.6.1
- respect/validation: ~1.1
- sentry/sdk: ^2.2
- silex/silex: ^1.3
- swiftmailer/swiftmailer: ~5.3
- symfony/http-foundation: ~2.8.52
- symfony/http-kernel: ~2.3
- symfony/process: ~3.0
- symfony/psr-http-message-bridge: ~0.2.0
- symfony/routing: ~2.3
- symfony/security: ~2.8.52
- symfony/yaml: ^4.4
- twig/extensions: ^1.5
- twig/twig: ~1.0
- webmozart/assert: ^1.2
- willdurand/geocoder: ^3.0
- zendframework/zend-diactoros: ^1.3
Requires (Dev)
- alchemy/zippy: ~0.2
- mikey179/vfsstream: ~1.6.2
- phpstan/phpstan: ^0.12.42
- phpunit/phpunit: ^7.5
- publiq/php-cs-fixer-config: ^1.3
- 20210317101532
- 2024.10.03.125515
- 2024.10.02.124523
- 2024.09.11.143306
- 2024.08.28.132637
- 2024.08.26.132621
- 2024.07.18.085730
- 2024.06.12.152032
- 2024.05.24.122349
- 2024.04.29.080941
- 2024.03.28.103841
- 2024.03.22.081327
- 2024.03.01.162040
- 2024.02.14.105336
- 2024.02.06.125448
- 2024.01.30.183413
- 2024.01.26.102810
- 2023.12.15.123617
- 2023.11.21.141414
- 2023.11.08.140452
- 2023.10.17.121800
- 2023.09.28.072057
- 2023.09.27.083953
- 2023.09.26.093841
- 2023.08.29.134358
- 2023.08.18.070133
- 2023.08.10.141111
- 2023.08.02.133948
- 2023.07.17.115840
- 2023.06.23.133807
- 2023.06.21.112835
- 2023.06.06.090839
- 2023.05.22.112555
- 2023.05.11.202637
- 2023.04.25.081550
- 2023.04.05.103733
- 2023.03.24.083501
- 2023.03.17.101344
- 2023.03.16.145159
- 2023.03.09.193740
- 2023.01.10.200041
- 2022.12.06.211420
- 2022.12.02.095502
- 2022.11.29.075605
- 2022.11.03.121351
- 2022.10.28.085936
- dev-master / 0.x-dev
- dev-III-6310-remove-legacy-language
- dev-III-6310-remove-legacy-language-from-multilingual-string
- dev-III-6310-remove-legacy-status-from-command
- dev-III-6310-remove-legacy-status-from-calendar
- dev-III-6310-remove-legacy-StatusReason
- dev-III-6310-remove-legacy-status-from-timestamp
- dev-fix-broken-acceptance-test-ownership
- dev-III-6275-label-sort-via-mysql
- dev-III-6312-allow-encoded-space
- dev-III-6375-add-endpoint-get-creator
- dev-III-6389/prevent-UiTpas-locations-deletion
- dev-III-6310-remove-legacy-StatusType
- dev-dependabot/bundler/rexml-3.3.9
- dev-III-6310-remove-abstract-collection
- dev-III-6382-cleanup-duplicate-places-table
- dev-fix-broken-acceptance-test
- dev-III-6272-InvalidArgumentExceptionEmail
This package is auto-updated.
Last update: 2024-11-07 18:31:22 UTC
README
This repository contains the PHP app that provides most of the backend of UiTdatabank v3, aka UDB3.
Contributing
Several CI checks have been provided to make sure any changes are compliant with our coding standards and to detect potential bugs.
You can run all CI checks combined using the following composer script:
composer ci
Or run them individually:
composer test
for testscomposer phpstan
for static analysiscomposer cs
for detecting coding standards violationscomposer cs-fix
for fixing coding standards violations (where possible)
These checks will also run automatically for every PR.
Database migrations
We use Doctrine Migrations to manage database schema updates.
To run the migrations, you can use the following composer script:
composer migrate
Logs
Logs are located in the ./logs
directory.
General logs
web.log
contains unforeseen errors/exceptions that occurred in HTTP requestscli.log
contains CLI errors that did not get caught and logged to the other logs listed below
Worker logs
The following logs contain info about CLI commands that run continuously.
amqp.uitpas.log
contains logs about UiTPAS events that get processed through theamqp-listen-uitpas
CLI commandresque.bulk-label-offer.log
contains logs about the resque worker for thebulk_label_offer
queueresque.event-export.log
contains logs about the resque worker for theevent_export
queue
Service logs
The following logs contain info about specific services that can be part of HTTP requests, CLI commands, or both.
service.xml-conversion.log
contains logs about parsing/projection of previously imported XMLservice.json-imports.log
contains logs about JSON-LD importsservice.labels.log
contains logs about label (aggregates)service.media.log
contains logs about the media manager, i.e. about uploads and edits of images and media objectsservice.geo-coordinates.log
contains logs about the geocoding of organizers and placesservice.uitpas.log
contains logs about general calls to UiTPAS, e.g. to check for ticket sales
Adding a new logger
Use the LoggerFactory::create()
method to quickly create a new logger. This way it gets stored in the right directory, correct formatting of exceptions, automatic Sentry integration, etc.