Download the PHP package cultuurnet/udb3-silex without Composer
On this page you can find all versions of the php package cultuurnet/udb3-silex. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package udb3-silex
UDB3 backend
This repository contains the PHP app that provides most of the backend of UiTdatabank v3, aka UDB3.
Setup
You can find a full guide on how to setup the project here
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:
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:
Docker with Xdebug
The docker file is provided with an optional profile to enable Xdebug.
The first time you have to build both versions:
Install without Xdebug
Install profile with Xdebug
You don't have to rebuild to switch, you can just switch between versions in your docker engine. Both version are running at the same time, the image without xdebug at port 8000 and the image with xdebug at port 8001.
Using xdebug
To bash inside the xdebug enable container, use
Xdebug is configured to run with trigger mode, meaning you have to modify the request to enable xdebug:
- API: ADD XDEBUG_TRIGGER as a GET or POST variable, for example in Postman.
- Browser: install a browser debugging extension
- CLI: (useful with unit tests):
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.
All versions of udb3-silex with dependencies
ext-dom Version *
ext-fileinfo Version *
ext-iconv Version *
ext-json Version *
ext-libxml Version *
ext-pcntl Version *
ext-pdo Version *
ext-redis Version *
ext-simplexml Version *
ext-tidy Version *
ext-xmlreader Version *
broadway/broadway Version ^2.4
cakephp/chronos Version ^1.3
chrisboulton/php-resque Version dev-compat-1-2 as 1.2
commerceguys/intl Version ^0.7
cultuurnet/calendar-summary-v3 Version ^4.0.8
cultuurnet/cdb Version ~2.2.0
cultuurnet/culturefeed-php Version dev-master
cultuurnet/udb3-api-guard Version ^5.0
danielstjules/stringy Version ^3.1
doctrine/cache Version ~1.3
doctrine/dbal Version ~2.4
doctrine/migrations Version ~2.3.5
galbar/jsonpath Version ^2.0
geocoder-php/google-maps-provider Version ^4.6
google/apiclient Version ^2.14
gridonic/princexml-php Version ~1.1.1
guzzlehttp/guzzle Version ^7.4
guzzlehttp/psr7 Version ^2.4
jeremykendall/php-domain-parser Version 4.0.3-alpha as 1.3.1
laminas/laminas-httphandlerrunner Version ^2.2
lcobucci/jwt Version ^4.3.0
league/container Version ^4.2
league/flysystem Version ^2.2.3
league/flysystem-aws-s3-v3 Version ^2.1
league/period Version ^3.3
league/route Version ^5.1
league/uri Version ^6.3
league/uri-components Version ^2.4
mailjet/mailjet-apiv3-php Version ^1.6
mathiasverraes/money Version ^v1.3.0
monolog/monolog Version ~1.11
opis/json-schema Version ^2.1
php-amqplib/php-amqplib Version ^3.6.0
php-http/guzzle7-adapter Version ^1.0
php-http/httplug Version ^2.4.0
phpoffice/phpspreadsheet Version ^1.18
predis/predis Version ~1.0
psr/http-server-middleware Version ^1.0
psr/log Version ^1.0
publiq/udb3-json-schemas Version dev-main
ramsey/uuid Version ^3.2.0
rase/socket.io-emitter Version 0.6.1
sentry/sentry Version ^3.6
slim/psr7 Version ^1.4
sweetrdf/easyrdf Version 1.8.0
swiftmailer/swiftmailer Version ~5.3
symfony/cache Version ^5.4
symfony/console Version ^5.4
symfony/mailer Version ^5.4
symfony/process Version 4.4.30
symfony/serializer Version ^v3.1.10
twig/extensions Version ^1.5
twig/twig Version ~1.0
webmozart/assert Version ^1.2
willdurand/geocoder Version ^4.5
willdurand/negotiation Version ^3.0